gstreamer

What are some good resources for getting started with gstreamer?

I'd like to learn the gstreamer media framework. Where should I start? ...

Supporting GPL based plugins.

I'm working on a C++ gStreamer 'like' engine that, at some point in the future, I'd like to make some money out of (wouldn't we all!). After many hours reading up on the GPL licence, I still can't find a real answer to the implications of 'supporting' a plugin that is covered under the GPL. Since I'm only producing an engine that does ...

How can I record live video with gstreamer without dropping frames?

I'm trying to use gstreamer 0.10 from Python to simultaneously display a v4l2 video source and record it to xvid-in-avi. Over a long period of time the computer would be fast enough to do this but if another program uses the disk it drops frames. That's bad enough, but on playback there are bursts of movement in the video where frames we...

How would I render a star wipe transition between two videos using gstreamer?

How can I use gstreamer to render one video with a second video appearing in a star that expands from the center of the first, rendering the result to an ogg/theora file? ...

facing problem with "pause" & "resume" play back in GStreamer for MPEG4 vedio.

Hi, we are facing a problem with pause & resume in gstreamer. We see the vedio pause but resume doesnot happen.This ONLY happens for few videos, not for all. I also did some analysis, I call gst_element_get_state() before and after gst_element_set_state(), to see if the state change happens properly . BUT I see that the 'gst_element_g...

Can I use the Gstreamer API to merge 2 videos?

I'd like to write a simple linux CLI application that can take 2 video sources (1 of a presenter talking and 1 with their slides and no audio) and merge them. I'd like the entire output video to be the two original videos, side by side. Failing that, my second best option would be a "picture in picture" style video, with the presenter i...

parse userdata field of all key frames of MPEG header from rtp video stream using GStreamer

How to parse MPEG stream using GStreamer..? I need to process all userdata field of only key frames(not P-Frames) of MPEG stream. MPEG stream is coming through rtp protocol. I am able to display the video using GStreamer pipeline, but, my final requirement is to parse userdata field of all key frames and overlay that info into the displ...

how can I grab video from usb video capture + dvb device with gstreamer?

Hi, I own a avermedia volar HX usb stick, I want to capture fromthe composite input , but I can't because I'm unable to select the input. I'm using gstreamer with + python, I think I need to use gsttuner select input but I have no experience using gstreamer's interfaces. Could someone post a simple example? Thanks! ...

How can I speed up a video by dropping frames?

I've got a video that's 30 minutes long. I want to make a speeded up version that's (say) 15 minutes long. I could do this by dropping every 2nd frame. How can I do this on linux? I'm playing with gstreamer and it looks cool. Is there a way to do this with gstreamer? What would be the gst-launch command line to do it? My source video i...

How to display avi video with gstreamer?

I want to write an object tracking program which needs to play the tracked result. As gstreamer is a good multimedia frame work, I want to use it in my demo program. But I don't know how to implement video display in detail. Can any one help? Avidemux plugin could separate the audio and video part from an avi file, but what to do next? ...

GStreamer gst_element_factory_make fails

I'm trying out a GStreamer test application, but at runtime the following line fails: demuxer = gst_element_factory_make ("oggdemux", "ogg-demuxer"); // returns NULL I am using MacOSX and installed GStreamer, libogg and vorbis-tools through MacPorts. So I don't see why it fails. Any suggestions on how to make it work? EDIT: SOLVED! ...

Linux application that bundles multiple incoming audio and video streams into one container file?

I've been assigned to implement a video on-demand service for a local university. Different aspects of the lectures (video, audio, screen cast, white board) will be recorded. During a lecture all these data streams arrive at one Linux server. This server should transcode and bundle all these streams into one container (Matroska) file. M...

CMake linking problem

I am trying to use CMake to compile a C++ application that uses the C library GStreamer. My main.cpp file looks like this: extern "C" { #include <gst/gst.h> #include <glib.h> } int main(int argc, char* argv[]) { GMainLoop *loop; GstElement *pipeline, *source, *demuxer, *decoder, *conv, *sink; GstBus *bus; /* Initialisation ...

pygst - glimagesink callback

I'm trying to use 'glimagesink' element with python. The element (which is GObject inside) has client-draw-callback property which should (in C++ at least) contain a function (bool func(uint t, uint w, uint h)) pointer. I've tried element.set_property('client-draw-callback', myfunc), and creating function pointer with ctypes, but every t...

Play RTP video stream using Qt?

I want to create a Qt widget that can play incoming RTP streams where the video is encoded as H264 and contains no audio. My basic plan for implementation is this: Create a Phonon MediaSource object (Stream type). Connect it with a QIODevice subclass that provides the data Obtain the video data using either: The JRTPLIB client librar...

How to implement a video widget in Qt that builds upon GStreamer?

I want to use Qt to create a simple GUI application that can play a local video file. I could use Phonon which does all the work behind the scenes, but I need to have a little more control. I have already succeeded in implementing an GStreamer pipeline using the decodebin and autovideosink elements. Now I want to use a Qt widget to chann...

Playing an incoming RTP stream with GStreamer

I'm developing a GStreamer application and struggling bit with implementing a player for incoming RTP streams. I am trying to construct a pipeline around the gstrtpbin element. I'm trying to model the pipeline using a gst-launch construction: VIDEO_CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H...

GStreamer or DirectShow for Windows development?

I'm implementing a lecture-capture project for a local university. Multiple video streams will arrive at one PC: the presenter's desktop slides, a video camera image of the presenter himself and optionally a digital whiteboard capture. These incoming streams will be managed by a desktop application that displays, transcodes/mixes and eve...

How to generate an audio stream using gst-python?

I'm looking to generate a stream in gstreamer, and I'd prefer to do it from python if possible. This points towards using gst-python, but I don't see a clear way to do it. It looks like creating a new stream would require making a gstreamer plugin, which gst-python doesn't seem to be able to do. To clarify, I'd like to be able to genera...

How do you ask gstreamer if a file can be played?

I'm trying to write a simple command line audio player using the Python Gstreamer bindings. Is there a function in the gstreamer API that determines in advance whether or not a particular file (URI) can be decoded and played by the currently installed set of codecs? ...