walkingdude wrote
Hi,
I want to grab an output from a blackmagic device and pump it to two v4l2 loopback devices at the same time. I can't get tee's syntax correct, can you guys please help? I am new to gstreamer.
What I got so far:
gst-launch-0.10 decklinksrc mode=11 connection=1 ! tee name=t t. ! v4l2sink sync=false device=/dev/video1 t. ! v4l2sink sync=false device=/dev/video2
Greetings can u please try using with queue elements? I have modified your pipeline as follows.
gst-launch-0.10 decklinksrc mode=11 connection=1 ! tee name=t t. ! queue ! v4l2sink sync=false device=/dev/video1 t. ! queue ! v4l2sink sync=false device=/dev/video2
Quotes from the core reference manual: 'One needs to use separate queue elements (or a multiqueue) in each branch to provide separate threads for each branch. Otherwise a blocked dataflow in one branch would stall the other branches.'
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html