Link/unlink tee branch from a pipeline
hongming0724 at 163.com
hongming0724 at 163.com
Tue Sep 15 18:09:55 PDT 2015
On So, 2015-09-13 at 23:57 -0700, Giacomo D wrote:
> Hi to everyone.
>
> I want to know if I can link/unlink a tee-branch from my pipeline
> without stopping the streaming.
> My situation is this:
>
> src1 --> tee1 ---> videomixer --> videosink
> tee1 --> xvideosink1
>
> src2 --> tee2 ---> videomixer --> videosink
> tee2 --> (unlinked)
>
> After a little bit of time and when an event occurs I want to change
> the situation to this:
>
>
> src1 --> tee1 ---> videomixer --> videosink
> tee1 --> (unlinked)
>
> src2 --> tee2 ---> videomixer --> videosink
> tee2 --> xvideosink1
>
> I have read that I have to use PROBE on tee element and to send EOS
> to the sink pad when I unlink the branch.
> Is there a Python example to do this?
I have some explanation and C examples here:
https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/
> In the future I want to save like a .MP4 or .AVI file the streaming
> on the xvideosink1, is it possible?
Yes, that's how you can do it.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150916/4796e107/attachment.html>
More information about the gstreamer-devel
mailing list