Stuck in handling dynamic pipeline! Help needed

Baby Octopus jagadishkamathk at gmail.com
Tue Feb 28 12:55:41 UTC 2017


Hi,

My pipeline looks like this

input-selector name=VideoSwitcher ! videoscale ! x264enc ! udpsink
filesrc ! tee ! queue2 ring-buffer-max-size=100000 ! decodebin !
VideoSwitcher. 
*filesrc ! tee ! queue2 ring-buffer-max-size=100000 ! decodebin !
VideoSwitcher.*

The bold part of pipeline is created dynamically when I receive segment-done
from first branch. Pipeline state is kept to running all throughout

In the bold branch, each element is added to pipeline and synced with
parent. This is done for all the elements

I'm making sure I block filesrc's src pad to avoid dataflow issue. But the
error that I get is 
GStreamer-CRITICAL **: pushing on pad typefind:src but it was not activated
in push mode
Trying to join task 0x7fffa5b63b90 from its thread would deadlock

I'm figuring out what is wrong
1. Blocking src pad of filesrc - Would this make typefind to work in push
mode, though it is activated in pull mode?
2. Replacing queue2 with queue is sending EOS event. Not sure why :(

Any suggestion on handling dynamic pipeline?






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Stuck-in-handling-dynamic-pipeline-Help-needed-tp4682045.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list