After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779770 - rtph264depay: Undefined packet type
rtph264depay: Undefined packet type
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-08 20:54 UTC by Nicola
Modified: 2018-11-03 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtsp capture that allows to reproduce the issue (79.86 KB, application/octet-stream)
2017-03-08 20:54 UTC, Nicola
Details
wireshark capture (61.97 KB, application/x-pcapng)
2017-03-09 12:51 UTC, Nicola
Details

Description Nicola 2017-03-08 20:54:09 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
Comment 1 Nicola 2017-03-09 12:51:43 UTC
Created attachment 347550 [details]
wireshark capture
Comment 2 Vincent Penquerc'h 2017-05-11 11:19:05 UTC
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.
Comment 3 GStreamer system administrator 2018-11-03 15:16:55 UTC
-- 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.