<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 18 févr. 2020 13 h 30, jean-philippe <<a href="mailto:jean_philippe_arnaud@yahoo.fr">jean_philippe_arnaud@yahoo.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I attach the relevant packets captured by Wireshark.<br>
Filler_RTP_H264.pcapng<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/t379103/Filler_RTP_H264.pcapng" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/t379103/Filler_RTP_H264.pcapng</a>>  <br>
<br>
Also, the code in rtph264pay confirms my supposition that the Marker bit is<br>
not set for Filler NALUs:<br>
      if (IS_ACCESS_UNIT (nalType)) {<br>
        gst_rtp_buffer_set_marker (&rtp, end && end_of_au);<br>
      }<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Setting marker on AUD is wrong, I thought I had fixed that already. What GST version is this ?</div><div dir="auto"><br></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">
<br>
and #define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))<br>
<br>
The Filler NALU type is 12.<br>
<br>
Anyone know if this should be modified to set the Marker bit to Filler<br>
NALUs?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Markers should be set on the last packet of a AU. That was completely broken in GStreamer so far. What it should be doing now, but I don't know if it was in 1.16 material or for future releases, is that if the payloader receives the marker, it keeps it, if the input has alignment=au, it will add it, otherwise there is no marker and that even if the AUD is present. The AUD is the first NAL of a AU, so placing marker on it is wrong, it would mean the AUD represent a AU by itself.</div><div dir="auto"><br></div><div dir="auto">On the depaylaoder, if the marker is present in RTP packet, we pass it, if the output requested is alignment=au, we set it, otherwise it won't be there.</div><div dir="auto"><br></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">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<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>