Recording rtspsrc - Ignoring first frames
jacklawi at gmail.com
Tue Jun 1 16:16:11 UTC 2021
I'm trying to record an RTSP source. The pipeline I'm using is:
rtspsrc location=%s ! rtph264depay ! h264parse name=parse ! splitmuxsink
name=splitmux max-size-time=%d sync=false
The thing is that the first second or so, the frames are corrupted. I tried
using a pad probe (on the h264parse src pad) and catch the first frame where
*GST_BUFFER_FLAG_DELTA_UNIT* is *NOT* set and then remove the probe, but it
didn't work. It seems that the first frame in the stream is not a DELTA
Is there a way I can ignore the first few frames and start recording when
all frames are valid?
Thank you very much ahead.
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel