Usage of tee to split encoder output
Nicolas Dufresne
nicolas at ndufresne.ca
Wed Sep 20 01:00:10 UTC 2017
Le mardi 19 septembre 2017 à 16:41 -0700, pchaurasia a écrit :
> Hi Folks,
>
> Could you someone please help ? I am not sure how to connect queue to
> playing/decoding elements. I tried, individual decode elements
> instead of
> 'playbin' . However need some learning here about how to connect tee
> branch
> to decoder elements (like demux).
>
> gst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" !
> 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080,
> format=(string)I420, framerate=(fraction)30/1' ! omxh265enc
> bitrate=3000000 ! h265parse! queue name=queenc ! matroskamux name=mux
> !
> tee name=t ! queue ! filesink location=test_file.mkv async=0 t. !
> qtdemux ! queue ! omxh264dec ! nveglglessink -e
> WARNING: erroneous pipeline: could not link t to qtdemux0
You are trying to link matroskamux ! qtdemux, through a tee. If you
want to demux matroska, use a matroska demuxer, a ISOMP4 demuxer won't
handle that format.
>
>
> THis one also does not work -
>
> ubuntu at tegra-ubuntu:~/tegra_multimedia_api/argus/samples$ gst-launch-
> 1.0
> nvcamerasrc fpsRange="30.0 30.0" ! 'video/x-raw(memory:NVMM),
> width=(int)1920, height=(int)1080, format=(string)I420,
> framerate=(fraction)30/1' ! omxh265enc bitrate=3000000 ! h265parse!
> queue name=queenc ! matroskamux name=mux ! tee name=t ! queue !
> filesink
> location=test_file.mkv async=0 t. ! qtdemux ! omxh264dec !
> nveglglessink -e
> WARNING: erroneous pipeline: could not link t to qtdemux0
>
>
> Thanks
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list