Can't get dynamically added sinks to work.

Sebastian Dröge sebastian at centricular.com
Tue May 6 12:18:32 PDT 2014


On Fr, 2014-05-02 at 16:02 -0400, Stirling Westrup wrote:
> I have a complex program that wants to be able to create new output sinks
> on the fly, while a video is playing. At any one time we can have anywhere
> from zero to 15 outputs, each with its own postprocessing pipeline.
> 
> However, I've run into all sorts of troubles trying to get dynamically
> added sinks to work. Finally, I decided to write a much, much simpler test
> program that just alternatively adds and removes a single output, and I
> can't get it to work. The video claims to be playing, but the output is
> always frozen.
> 
> The basic idea of the test program is that I have this pipeline already
> running:
> 
>   gst-launch videotestsrc ! tee name=t t. ! queue ! fakesink
> 
> And I mutate it dynamically into this pipeline.
> 
>   gst-launch videotestsrc ! tee name=t t. ! queue ! fakesink t. ! queue !
> xvimagesink display=:0
> 
> The idea is that the test program will alternately add or  remove the
> xvimagesink every few seconds, but this fails to work. Any
> help/suggestions/criticism of my code would be most welcome. It can be
> found here:

This sounds like something I've written here as a demo application:
https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/

(the second example)

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140506/ab18720d/attachment.sig>


More information about the gstreamer-devel mailing list