<html><head></head><body><div>Le vendredi 10 septembre 2021 à 10:18 -0400, Dwight Kulkarni via gstreamer-devel a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am trying to test a pipeline from gst-launch-1.0 that has an appsink and a tee. </div><div><br></div><div>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.</div><div><br></div><div>Interestingly, the second pipeline runs and doesn't show any errors, but no files are outputted from the splitmuxsink.</div><div><br></div><div><br></div><div><b>works:</b><br>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"<br><br><b>doesn't work:</b><br>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"<br></div></div></blockquote><div><br></div><div>You need to writ an app around appsink in order to pop the buffers out of it, otherwise your pipeline will stall very quickly.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div> <br clear="all"><div><br></div><div><br></div>--<br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Sincerely,</span><div><br></div><div>Dwight Kulkarni </div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div><span></span></div></body></html>