|
This post was updated on .
All,
I am using input-selector to switch between two input. When both the inputs are active switching is working as expected.
But pipeline will not start if one of the input is missing. decodebin with no input is blocking the pipeline pre-rolling. Same is seem with decodebin3 too. I have used 1.12.1 for testing.
gst-launch-1.0 \
udpsrc port=6000 ! decodebin ! video/x-raw ! insel.sink_0 \
udpsrc port=6002 ! decodebin ! video/x-raw ! insel.sink_1 \
input-selector sync-streams=false name=insel ! checksumsink
Below pipeline works even if second input is not active. I am suspecting decodebin(3) in above pipeline.
gst-launch-1.0 \
udpsrc port=6000 ! insel.sink_0 \
udpsrc port=6002 ! insel.sink_1 \
input-selector sync-streams=false name=insel ! checksumsink
What could be the problem ??
|