Dump 10 seconds of video at once.

Vinod Kesti vinodkesti at yahoo.com
Wed Feb 19 10:25:35 UTC 2020

You can tee the h264 stream and pass to both display and recording branch. 

rtspsrc location=<video_uri> ! rtph264depay ! tee name=t\
t.! queue min-threshold-time=11000000000 name=q1 ! avdec_h264 !
autovideosink \
t.! queue min-threshold-time=11000000000 name=q2 ! h264parse
config-interval=1 ! splitmuxsink max-size-time=10000000000

*Note: Adjust queue size if your pipeline is hanging.*

Sent from: http://gstreamer-devel.966125.n4.nabble.com/

More information about the gstreamer-devel mailing list