[Bug 783861] New: h264parse : H264 that have SPS without PPS following

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 16 12:17:52 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783861

            Bug ID: 783861
           Summary: h264parse : H264 that have SPS without PPS following
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: a.bouin at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

h264parse drop frames when there was no previous picture headers (
GST_H264_PARSE_STATE_VALID_PICTURE_HEADERS).
But some H264 encoder generate SPS header without PPS header following ...
The code in plugins-bad/gst/videoparsers/gsth264parse.c when receiving SPS
GST_H264_NAL_SUBSET_SPS reset h264parse->state to 0 (meaning that previous SPS
and PPS headers are ignored), instead of just considering SPS state only
So the change would be something like :
h264parse->state &= GST_H264_PARSE_STATE_GOT_PPS;
instead of 
h264parse->state = 0;

Attached is a H264 video with PPS missing

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list