AW: Dump h264/h265 stream
keith.thornton at zeiss.com
Fri Jun 19 04:25:18 UTC 2020
I solve a similar problem by putting a pad probe on the appsrc and dropping all the frames with the GST_BUFFER_FLAG_DELTA_UNIT flag set. When the first frame arrives without this flag set I remove the pad probe and let the frames flow normally
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von Anton Pryima
Gesendet: Donnerstag, 18. Juni 2020 20:56
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: Dump h264/h265 stream
I have rtsp camera which streams h264 to the appsink. Then, sometimes, I need to grab it by appsrc and write it to the file.
I was able to make it with the following pipelines:
Everything works as expected. But, as in h264 stream, I-frames can be transmitted once per 20 - 30 seconds, sometimes I've got 10 seconds of corrupted video before the fist I-frame and good video starts.
Is there are any way, to ignore everything before first I-frame or start file form first i-frame? I've tried with splitmuxsink and tried to google, but with no success.
Thank you in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel