Recording rtspsrc - Ignoring first frames

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Recording rtspsrc - Ignoring first frames

GStreamer-devel mailing list
Hey guys.

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
UNIT.

Is there a way I can ignore the first few frames and start recording when
all frames are valid?

Thank you very much ahead.

Best regards,
Omer



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel