GNOME Bugzilla – Bug 779770
rtph264depay: Undefined packet type
Last modified: 2018-11-03 15:16:55 UTC
Created attachment 347502 [details] rtsp capture that allows to reproduce the issue I have an h264 rtsp stream that works fine using ffplay/vlc but fails with gstreamer, rtph264depay drop rtp packet here: https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtph264depay.c#n1199 nal type seems undefined (0), I captured a dump using this pipeline rtspsrc location=... ! gdppay ! filesink location=test.gdp the error can be reproduced with this pipeline: filesrc location=test.gdp ! gdpdepay ! rtph264depay ! fakesink
Created attachment 347550 [details] wireshark capture
This seems to fall under 5.3 or https://tools.ietf.org/html/rfc3984, which does say that 0 is unhandled by RFC 3984, and 0 is left undefined by ITU-T Rec. H.264 in table 7.1. So the stream really does seem invalid. The sample has nal unit types 0 and 28. The 28 ones appear in groups, with the all but the last one being 1436 bytes (fragmented pictures I think). The 0 ones also appear in groups, but with smaller disparate sizes.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/351.