<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le ven. 28 sept. 2018 13 h 58, Marcos Kintschner <<a href="mailto:marcos.ktn@gmail.com">marcos.ktn@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">RTP packet loss should catch all losses, parsing that much the stream in h264parse is quite some overhead.</div><div dir="auto"><br></div><div dir="auto">What I had in mind is that rtph264depay could simply send the keyframe event on discont unless we have a valid header sequence ([AUD], pps, sps, [sei], IDR slice). It could also drop the data before pps/sps like h264parse is doing.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Em qua, 26 de set de 2018 às 01:19, Marcos Kintschner <<a href="mailto:marcos.ktn@gmail.com" target="_blank" rel="noreferrer">marcos.ktn@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to understand if and how GStreamer handle a lost IDR frame.<div>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?<br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_4159691962390013727m_1616060826706286527gmail_signature" data-smartmail="gmail_signature">Marcos Kintschner.</div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_4159691962390013727gmail_signature" data-smartmail="gmail_signature">Marcos Kintschner.</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>