Need some help with tee

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need some help with tee

walkingdude
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
Reply | Threaded
Open this post in threaded view
|

Re: Need some help with tee

stproj
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

Reply | Threaded
Open this post in threaded view
|

Re: Need some help with tee

walkingdude
Thanks a lot, it's working now!

On Mon, Oct 24, 2016 at 4:14 PM, stproj [via GStreamer-devel] <[hidden email]> wrote:
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




If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Need-some-help-with-tee-tp4680194p4680198.html
To unsubscribe from Need some help with tee, click here.
NAML