[FFmpeg-trac] #5453(avcodec:new): Broken h264 sample permanently damages decoder output
FFmpeg
trac at avcodec.org
Tue Apr 19 19:51:18 CEST 2016
#5453: Broken h264 sample permanently damages decoder output
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: important | Component: avcodec
Version: git- | Keywords: h264
master | regression
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/62120
A user uploaded a h264 sample that permanently breaks decoder output since
033a5334 related to ticket #3923.
{{{
$ ffmpeg -threads 1 -i vlc_cut.h264 -qscale 2 out.avi
ffmpeg version N-79550-gc54d835 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 22.100 / 55. 22.100
libavcodec 57. 35.100 / 57. 35.100
libavformat 57. 34.103 / 57. 34.103
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 44.100 / 6. 44.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] non-existing SPS 0 referenced in buffering period
[h264 @ 0x2491a80] non-existing PPS 0 referenced
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] no frame!
[h264 @ 0x2491a80] Increasing reorder buffer to 2
[h264 @ 0x2491a80] Reference 2 >= 2
[h264 @ 0x2491a80] error while decoding MB 53 11, bytestream 29394
[h264 @ 0x2491a80] Found reference and non-reference fields in the same
frame, which is not implemented. Update your FFmpeg version to the newest
one from Git. If the problem still occurs, it means that your file has a
feature which has not been implemented.
[h264 @ 0x2491a80] If you want to help, upload a sample of this file to
ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[h264 @ 0x2491a80] decode_slice_header error
[h264 @ 0x2491a80] illegal short term buffer state detected
[h264 @ 0x2491a80] reference picture missing during reorder
[h264 @ 0x2491a80] Missing reference picture, default is 65687
[h264 @ 0x2491a80] Reference 2 >= 2
[h264 @ 0x2491a80] error while decoding MB 76 23, bytestream 24157
[h264 @ 0x2491a80] cabac decode of qscale diff failed at 57 2
[h264 @ 0x2491a80] error while decoding MB 57 2, bytestream 18457
Input #0, h264, from 'vlc_cut.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709), 1920x1080 [SAR
1:1 DAR 16:9], 25 fps, 25 tbr, 1200k tbn
Please use -q:a or -q:v, -qscale is ambiguous
[avi @ 0x24bac80] Using AVStream.codec to pass codec parameters to muxers
is deprecated, use AVStream.codecpar instead.
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf57.34.103
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc57.35.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[h264 @ 0x24ba7e0] reference picture missing during reorder
Last message repeated 1 times
[h264 @ 0x24ba7e0] Missing reference picture, default is 65646
Last message repeated 1 times
[h264 @ 0x24ba7e0] reference picture missing during reorder
[h264 @ 0x24ba7e0] Missing reference picture, default is 65647
[h264 @ 0x24ba7e0] reference picture missing during reorder
[h264 @ 0x24ba7e0] Missing reference picture, default is 65654
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 53 11, bytestream 29394
[h264 @ 0x24ba7e0] Found reference and non-reference fields in the same
frame, which is not implemented. Update your FFmpeg version to the newest
one from Git. If the problem still occurs, it means that your file has a
feature which has not been implemented.
[h264 @ 0x24ba7e0] If you want to help, upload a sample of this file to
ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing
list. (ffmpeg-devel at ffmpeg.org)
[h264 @ 0x24ba7e0] decode_slice_header error
[h264 @ 0x24ba7e0] illegal short term buffer state detected
[h264 @ 0x24ba7e0] reference picture missing during reorder
[h264 @ 0x24ba7e0] Missing reference picture, default is 65687
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 76 23, bytestream 24157
[h264 @ 0x24ba7e0] cabac decode of qscale diff failed at 57 2
[h264 @ 0x24ba7e0] error while decoding MB 57 2, bytestream 18457
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 113 24, bytestream 4772
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 77 53, bytestream 1553
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 33 22, bytestream 4993
[h264 @ 0x24ba7e0] reference picture missing during reorder
[h264 @ 0x24ba7e0] Missing reference picture, default is 65694
[h264 @ 0x24ba7e0] Reference 5 >= 4
[h264 @ 0x24ba7e0] error while decoding MB 95 6, bytestream 56132
[h264 @ 0x24ba7e0] mmco: unref short failure
[h264 @ 0x24ba7e0] left block unavailable for requested intra4x4 mode -1
at 0 0
[h264 @ 0x24ba7e0] error while decoding MB 0 0, bytestream 160595
[h264 @ 0x24ba7e0] mmco: unref short failure
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 101 0, bytestream 13188
[h264 @ 0x24ba7e0] Reference 5 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 65 1, bytestream 9316
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 37 0, bytestream 7911
[h264 @ 0x24ba7e0] Reference 5 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 90 2, bytestream 8333
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 45 3, bytestream 8499
[h264 @ 0x24ba7e0] Reference 6 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 4 0, bytestream 42912
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 10 1, bytestream 26284
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 18 0, bytestream 16991
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 14 1, bytestream 14049
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 14 2, bytestream 8052
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 49 1, bytestream 8642
[h264 @ 0x24ba7e0] Reference 5 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 21 2, bytestream 9043
[h264 @ 0x24ba7e0] top block unavailable for requested intra4x4 mode -1 at
35 0
[h264 @ 0x24ba7e0] error while decoding MB 35 0, bytestream 61914
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 7 1, bytestream 35086
[h264 @ 0x24ba7e0] top block unavailable for requested intra4x4 mode -1 at
2 0
[h264 @ 0x24ba7e0] error while decoding MB 2 0, bytestream 19801
[h264 @ 0x24ba7e0] Reference 5 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 6 1, bytestream 16073
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 51 0, bytestream 8667
[h264 @ 0x24ba7e0] top block unavailable for requested intra4x4 mode -1 at
75 1
[h264 @ 0x24ba7e0] error while decoding MB 75 1, bytestream 9104
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 42 0, bytestream 8668
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 34 1, bytestream 8457
[h264 @ 0x24ba7e0] Reference 4 >= 4
[h264 @ 0x24ba7e0] error while decoding MB 24 0, bytestream 51769
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 1 1, bytestream 31372
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 11 0, bytestream 17029
[h264 @ 0x24ba7e0] Reference 2 >= 28064kB time=00:00:01.68
bitrate=39321.5kbits/s speed=3.33x
[h264 @ 0x24ba7e0] error while decoding MB 24 1, bytestream 14020
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 8 0, bytestream 8532
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 5 1, bytestream 8355
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 60 0, bytestream 7854
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 0 3, bytestream 9333
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 3 1, bytestream 32634
[h264 @ 0x24ba7e0] Reference 6 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 13 0, bytestream 17749
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 10 1, bytestream 14044
[h264 @ 0x24ba7e0] Reference 6 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 19 0, bytestream 7239
[h264 @ 0x24ba7e0] top block unavailable for requested intra4x4 mode -1 at
23 0
[h264 @ 0x24ba7e0] error while decoding MB 23 0, bytestream 7721
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 2 3, bytestream 10233
[h264 @ 0x24ba7e0] Reference 4 >= 4
[h264 @ 0x24ba7e0] error while decoding MB 13 0, bytestream 51300
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 25 1, bytestream 35697
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 26 1, bytestream 15200
[h264 @ 0x24ba7e0] top block unavailable for requested intra mode at 50 0
[h264 @ 0x24ba7e0] error while decoding MB 50 0, bytestream 8519
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 22 1, bytestream 8595
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 62 0, bytestream 7979
[h264 @ 0x24ba7e0] Reference 4 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 49 1, bytestream 9446
[h264 @ 0x24ba7e0] Reference 5 >= 4
[h264 @ 0x24ba7e0] error while decoding MB 45 0, bytestream 51352
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 2 1, bytestream 30802
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 10 0, bytestream 17331
[h264 @ 0x24ba7e0] Reference 6 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 8 1, bytestream 13492
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 14 4, bytestream 7091
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 45 1, bytestream 6875
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 26 2, bytestream 8253
[h264 @ 0x24ba7e0] Reference 2 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 17 1, bytestream 10411
[h264 @ 0x24ba7e0] Reference 3 >= 2
[h264 @ 0x24ba7e0] error while decoding MB 1 1, bytestream 10091
frame= 44 fps=0.0 q=2.0 Lsize= 14687kB time=00:00:02.40
bitrate=50132.9kbits/s speed=3.84x
video:14680kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.048055%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5453>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list