[Bug 776551] New: [h264parse] [codecparsers] warning observed when parsing some H.264 SEI NALs when payload contains emulation_prevention_three_byte

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 28 18:29:09 UTC 2016


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

            Bug ID: 776551
           Summary: [h264parse] [codecparsers] warning observed when
                    parsing some H.264 SEI NALs when payload contains
                    emulation_prevention_three_byte
    Classification: Platform
           Product: GStreamer
           Version: 1.10.2
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ursula at kangatronix.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 342549
  --> https://bugzilla.gnome.org/attachment.cgi?id=342549&action=edit
Patch

I had been seeing the following warning from h264parse when parsing an H.264
stream with some application-specific SEI NALs:

W GStreamer+codecparsers_h264: 17:21:32.788894716 0xb9567db0
gsth264parser.c:1212:gst_h264_parser_parse_sei_message error parsing "Sei
message"
W GStreamer+h264parse: 17:21:32.788945174 0xb9567db0
gsth264parse.c:524:gst_h264_parse_process_sei:<h264parse0> failed to parse one
or more SEI message

Upon further investigation, it looks like certain SEI NALs were causing
nal_reader_read to eat up some 0x03 bytes which are not actually emulation
prevention bytes. Patch for the issue attached.

Cheers,
Ursula

-- 
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