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

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


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

--- Comment #4 from Matteo Valdina <matteo.valdina at gmail.com> ---
> We can't, because in some application, movement is better then correct
> images. For this purpose, FFMPEG, which has a very high end error
> concealment, manages to produce frames in the first part, creating movement
> on a gray background. So if we add this filtering to h264parse, this
> behaviour won't be selectable (see output-corrupt knob on avdec_h264).
>


>From my understanding of H.264, in the case of missing SPS/PPS you cannot
decode any frame that depends by these SPS/PPS. There will be missing crucial
information for the decoding process.

I compared the behavior with avdec_h264 and this element skip the frame.

0:00:21.894119003 11063 0x7fea2c193c40 ERROR                  libav :0::
non-existing PPS 5 referenced
0:00:21.894476865 11063 0x7fea2c193c40 ERROR                  libav :0::
decode_slice_header error
0:00:21.894522779 11063 0x7fea2c193c40 ERROR                  libav :0:: no
frame!
0:00:21.894711233 11063 0x558c54836a30 WARN                   libav
gstavviddec.c:1747:gst_ffmpegviddec_frame:<avdec_h264-0> avdec_h264: decoding
error (len: -1094995529, have_data: 0)
0:00:21.895379627 11063 0x7fea0016c590 ERROR                  libav :0::
non-existing PPS 5 referenced
0:00:21.895600328 11063 0x7fea0016c590 ERROR                  libav :0::
decode_slice_header error
0:00:21.895649853 11063 0x7fea0016c590 ERROR                  libav :0:: no
frame!
0:00:21.895722664 11063 0x558c54836a30 WARN                   libav
gstavviddec.c:1747:gst_ffmpegviddec_frame:<avdec_h264-0> avdec_h264: decoding
error (len: -1094995529, have_data: 0)
0:00:21.896326457 11063 0x7fea10042d20 ERROR                  libav :0::
non-existing PPS 5 referenced
0:00:21.896486225 11063 0x7fea10042d20 ERROR                  libav :0::
decode_slice_header error
0:00:21.896527583 11063 0x7fea10042d20 ERROR                  libav :0:: no
frame!
0:00:21.896584050 11063 0x558c54836a30 WARN                   libav
gstavviddec.c:1747:gst_ffmpegviddec_frame:<avdec_h264-0> avdec_h264: decoding
error (len: -1094995529, have_data: 0)
...

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