Dump h264/h265 stream

Anton Pryima zingfrid at gmail.com
Thu Jun 18 18:56:00 UTC 2020


Hello all.

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:
rtspsrc->rtph264depay->appsink
appsrc->h264parse->matroskamux->filesink.

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.

Any suggestions?

Thank you in advance,
Best regards,
Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200618/27ee628a/attachment.htm>


More information about the gstreamer-devel mailing list