[Bug 796863] New: vaapih264dec: H264 parse stops if missing an SPS/PPS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 24 13:07:59 UTC 2018


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

            Bug ID: 796863
           Summary: vaapih264dec: H264 parse stops if missing an SPS/PPS
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer-vaapi
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: matteo.valdina at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: bsreerenj at gmail.com, vjaquez at igalia.com
     GNOME version: ---

I'm facing an issue where we lost the SPS and/or PPS from the stream. 

In this case, the vaapih264dec (and also h264parse) will be stuck and will not
progress in the stream. Also after receiving a valid SPS/PPS.
Another note of this stream is that the picture id is incrementing each
SPS/PPS.

I was trying to discard the NALU until we receive a new SPS/PPS and the stream
can resume decoding but I don't have a good idea about how to do that and if it
should be the parser or vaapidecode to discard any data.

Media available here:
https://drive.google.com/file/d/1kU5UD_ksCa0IPIb2eagWfPPcNwY84MH2/view?usp=sharing

I use this command line
GST_DEBUG=codec*:5,vaapi:5 gst-launch-1.0 filesrc location=stream1.pcap !
pcapparse dst-port=6002 !  "application/x-rtp, payload=127, media=video,
clock-rate=90000, encoding-name=H264" ! rtph264depay ! vaapidecodebin !
vaapipostproc ! waylandsink

In the uploaded stream I removed the SPS/PPS for the picture set id = 5 but
after a couple of seconds, the decoder will receive picture set id 6 and 7.

Best
Matteo

See also: https://bugzilla.gnome.org/show_bug.cgi?id=796832

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