Pipeline with appsink and tee doesn't work

Dwight Kulkarni dwight at realtime-7.com
Fri Sep 10 14:18:11 UTC 2021


Hi all,

I am trying to test a pipeline from gst-launch-1.0 that has an appsink and
a tee.

The first pipeline with autovideosink below showed video and saved the
files. The second pipeline I changed autovideosink to appsink and it
stopped saving the files.

Interestingly, the second pipeline runs and doesn't show any errors, but no
files are outputted from the splitmuxsink.


*works:*
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, width=1920,
height=1080, framerate=15/1  ! vpuenc_h264 ! tee name=v ! avdec_h264 !
autovideosink v. ! h264parse ! splitmuxsink name=filesink
location=video%02d.mkv max-size-time=10000000000
muxer-properties="properties,streamable=true"

*doesn't work:*
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, width=1920,
height=1080, framerate=15/1  ! vpuenc_h264 ! tee name=v ! appsink
name=h264vid v. ! h264parse ! splitmuxsink name=filesink
location=video%02d.mkv max-size-time=10000000000
muxer-properties="properties,streamable=true"



--
Sincerely,

Dwight Kulkarni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210910/f35e5c95/attachment.htm>


More information about the gstreamer-devel mailing list