dynamic element switching in running pipe
freddy
freddy at mailinator.com
Mon Nov 28 00:51:21 PST 2011
Hello all.
I'm quite of a gstreamer newbie, my question is as follows:
I mainly need the ability to dynamically switch the link from my source
element to different chains of elements. I havn't been able to find a good
example or explanation on how to do it until now.
for example, it should look something like that
/ chain1_element-a -> chain1_element-b -> ... ->
chain1_sink
src_element - chain2_element-a -> chain2_element-b -> ... ->chain2_sink
\ .....
when a specific event occures, the source should unlink from chain_x and
link to chain_y, continuing from the location it had paused on the previous
chain. the source in my program is a live source(analog input source)
trying to work with tee, pad blocks and so on havn't worked well for me,
probably because i don't understand all of the concepts involved.
also i'm not sure if all of the elements should be in the same pipeline or
different pipelines\bins, and how the actual linking process should happen,
and in what order.
an explanation would be much appreciated, and an example code even more.
i use python bindings to develop in gstreamer, but i can understand the C
syntax to.
Thanks, freddy
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/dynamic-element-switching-in-running-pipe-tp4114542p4114542.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list