gstreamer

Look for fastest video encoder with least lag to stream webcam streaming to ipad

笑着哭i 提交于 2019-11-28 17:56:38
问题 I'm looking for the fastest way to encode a webcam stream that will be viewable in a html5 video tag. I'm using a Pandaboard: http://www.digikey.com/product-highlights/us/en/texas-instruments-pandaboard/686#tabs-2 for the hardware. Can use gstreamer, cvlc, ffmpeg. I'll be using it to drive a robot, so need the least amount of lag in the video stream. Quality doesn't have to be great and it doesn't need audio. Also, this is only for one client so bandwidth isn't an issue. The best solution so

How to resume playing after paused using gstreamer?

你。 提交于 2019-11-28 14:33:24
I've written C++ wrapper for each Gstreamer types. They're simple and intuitive, so I don't think their implementation needs to be posted here (though I could post them (maybe at github) if need arises). The problem I'm facing is that I start playing a video (and simulteneously saving it to a file using gst tee element)....and while it is playing, I pause (from different thread) which is working great. However, when I want to resume it, it doesn't work: void pause() { _pipeline.state(GST_STATE_PAUSED) } void resume() { _pipeline.state(GST_STATE_PLAYING); } And here is the play() function where

Sending frame by VideoWriter; can't catching it again (OpenCV 3.1, c++)

我的梦境 提交于 2019-11-28 14:19:43
I am trying to write a simple video streaming application that performs the following tasks: Get a frame from camera this part is working); Modify frame; Send to a gstreamer pipeline. Code: VideoWriter writer; writer.open("appsrc ! rtpvrawpay ! host =localhost port=5000" , 0, 30, cv::Size(IMAGE_WIDTH, IMAGE_HEIGHT), true); while(true){ //get frame etc. writer.write(frame); } VLC player can't see anything with command: vlc -vvv rtp://@localhost:5000 I tried: cv::VideoCapture cap("udpsrc port=5000 ! tsparse ! videoconvert ! appsink"); But it didn't start (no error log, just didn't get any frame)

Cannot Import GST in Python

帅比萌擦擦* 提交于 2019-11-28 10:37:36
I'm in a quandary. I'm following the following tutorial (specifically, 6.4.2) http://majorsilence.com/pygtk_audio_and_video_playback_gstreamer I'm running Python 2.7, PyGTK 2.24, and GStreamer WinBuilds 10.7 (the main installer and the SDK). When I try and compile the program, I get the following error: Traceback (most recent call last): File "", line 1, in import gst File "C:\Program Files\OSSBuild\GStreamer\v0.10.6\lib\site-packages\gst-0.10\gst__init__.py", line 193, in from _gst import * ImportError: DLL load failed: The specified module could not be found. How do I get the gst module to

How to build gstreamer-sharp with monodevelop/xamarin?

旧时模样 提交于 2019-11-28 08:49:38
i'm developer of AudioCuesheetEditor, an application for editing audio cuesheets. The new Version should be able to play back sound, so I would like to use gstreamer as backend. I investigated a bit in gstreamer and found out, that I need to use version 1.x with gstreamer-sharp 0.99.x binding. No problem, downloaded gstreamer-sharp 0.99.0, opened the solution with monodevelop (on linux) or xamarin (on windows) and tried to build the dll, but that didn't work. I get the error "namespace Gst.GLib" not found. I'm developing with xamarin/monodevelop and need to have a portable app (working with

Webcam streaming using gstreamer over UDP

梦想与她 提交于 2019-11-28 05:30:40
Here is what I'm trying: gst-launch -v udpsrc port=1234 ! fakesink dump=1 I test with: gst-launch -v audiotestsrc ! udpsink host=127.0.0.1 port=1234 And everything works fine, I can see the packages arriving from the audiotestsrc Now lets test with the webcam source: gst-launch -v v4l2src device=/dev/video0 ! queue ! videoscale method=1 ! "video/x-raw-yuv,width=320,height=240" ! queue ! videorate ! "video/x-raw-yuv,framerate=(fraction)15/1" ! queue ! udpsink host=127.0.0.1 port=1234 And nothing happens, no package appears in the dump. Here is a logdump of what verbose shows in the server. Does

Python extract wav from video file

烂漫一生 提交于 2019-11-28 05:27:35
Related: How to extract audio from a video file using python? Extract audio from video as wav How to rip the audio from a video? My question is how could I extract wav audio track from video file, say video.avi ? I read many articles and everywhere people suggest to use (from Python) ffmpeg as a subprocess (because there are no reliable python bindings to ffmpeg - the only hope was PyFFmpeg but i found it is unmaintaned now). I don't know if it is right solution and i am looking for good one. I looked to gstreamer and found it nice but unable to satisfy my needs -- the only way I found to

Gstreamer with visual C++ express 2010 - tutorial 1

只愿长相守 提交于 2019-11-28 04:26:11
问题 I'm new to Gstreamer, and I have problems when I compile the tutorial 1 of Gstreamer. I'm using Windows 7 64 bit with visual c++ express 2010, and Gstreamer SDK 2012.11 32 bits (downloaded from here). Here is the code : #include "stdafx.h" #include <gst/gst.h> int main(int argc, char *argv[]) { GstElement *pipeline; GstBus *bus; GstMessage *msg; /* Initialize GStreamer */ gst_init (&argc, &argv); /* Build the pipeline */ pipeline = gst_parse_launch ("playbin2 uri=file://E:/test_1.MOV", NULL);

How to create video thumbnails with Python and Gstreamer

好久不见. 提交于 2019-11-28 03:16:34
问题 I'd like to create thumbnails for MPEG-4 AVC videos using Gstreamer and Python. Essentially: Open the video file Seek to a certain point in time (e.g. 5 seconds) Grab the frame at that time Save the frame to disc as a .jpg file I've been looking at this other similar question, but I cannot quite figure out how to do the seek and frame capture automatically without user input. So in summary, how can I capture a video thumbnail with Gstreamer and Python as per the steps above? 回答1: To elaborate

gstreamer appsrc test application

我与影子孤独终老i 提交于 2019-11-28 02:01:43
问题 I am trying to learn gstreamer appsrc plugin to play AV from a transport stream demultiplexer that I wrote (I know plugins are already available, I wanted to do it myself to learn). I have extracted audio and video elementary streams from the MPEG transport stream; now I have to push it to the appsrc plugin and play it using a gst pipeline (this part is not yet clear to me: as to which plugins to use - any tips will be highly appreciated). I found a sample code on using appsrc, but when I run