Do GStreamer handle loss of key frames (H264)?

Marcos Kintschner marcos.ktn at
Fri Sep 28 17:52:14 UTC 2018

Do you have any advice from where should I start looking it? I think we
could add an option (disabled by default) to check for picture loss in
rtph264depay or h264parse to make it "implementation agnostic", so one
could use it for avdec_h264 or other decoders.

Em qua, 26 de set de 2018 às 01:19, Marcos Kintschner <marcos.ktn at>

> I'm trying to understand if and how GStreamer handle a lost IDR frame.
> I know there is an event called GstForceKeyUnit that is sent by
> rtph264depay when this element receives data before setting SPS/PPS and
> that this event is then processed by rtpsession that generates a RTCP/PLI
> message. But it seems that rtph264depay doens't send the event when it
> receives a P-Slice before a IDR-Slice, for example. Do I have to handle it
> manually by adding probes and checking if the IDR has arrived or not?
> --
> Marcos Kintschner.

Marcos Kintschner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list