Need some help with tee

stproj smpalasis at gmail.com
Mon Oct 24 14:14:23 UTC 2016


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
<https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html>  





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Need-some-help-with-tee-tp4680194p4680198.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list