Splitting source to more than two sink/pads
Nicolas Dufresne
nicolas at ndufresne.ca
Tue May 29 11:08:36 UTC 2018
Le lundi 28 mai 2018 à 22:16 -0700, pchaurasia a écrit :
> I am looking to split a video from camera - into three outputs. One
> for
> preview, another for encode and yet another for opencv processing. I
> am
> able to split is two ways using tee.
>
> gst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" sensor-id=0 !
> 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080,
> format=(string)I420, framerate=(fraction)30/1' ! tee name=t ! queue
> name=encq11 leaky=1 ! nvoverlaysink overlay-x=40 overlay-y=40
> overlay-w=1200 overlay-h=1200 overlay=1 -e t. ! queue name=encq12 !
> omxh265enc iframeinterval=24 bitrate=10000000 ! h265parse ! queue
> name=encq13 ! matroskamux name=mux ! filesink location=junk1.mkv -e
>
> Is there a way to get tee to put output on three pads ? Or do I need
> to use
> tee in cascaded fashion ?
tee can have as many pads as you want. just add another branch t. !
queue ! ...
Nicolas
More information about the gstreamer-devel
mailing list