Opened 8 years ago

Closed 5 years ago

#5453 closed defect (fixed)

Broken h264 sample permanently damages decoder output

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avcodec
Version: 3.0.2 Keywords: h264 regression
Cc: Michael Niedermayer Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

vlc_cut.h264 (2.4 MB ) - added by Carl Eugen Hoyos 8 years ago.

Change History (7)

by Carl Eugen Hoyos, 8 years ago

Attachment: vlc_cut.h264 added

comment:1 by Michael Niedermayer, 8 years ago

Cc: Michael Niedermayer added

Is this bug still reproduceable ? git master here looks alot better than a 6 week old ffplay

comment:2 by Carl Eugen Hoyos, 8 years ago

Fixed since 772ad7142dff590c7bb30370acf5d3c9a8fb512b
The regression is still reproducible with release/3.0 though - I tested c6470d81.

comment:3 by Michael Niedermayer, 8 years ago

Priority: importantnormal

would be ideal if someone would figure out what part of 772ad7142dff590c7bb30370acf5d3c9a8fb512b fixed it and backport that.
I think as its fixed in master that is not "important" anymore though

comment:4 by Michael Niedermayer, 8 years ago

Version: git-master3.0.2

comment:5 by ponpon, 7 years ago

In git master, this doesn't seemt fixed. should i open a new ticket?

ffmpeg -threads 1 -i vlc_cut.h264 -f null -
ffmpeg version N-86951-g45759540a5 Copyright (c) 2000-2017 the FFmpeg developers
  built with clang version 3.9.1 (tags/RELEASE_391/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.9 --cxx=clang++-mp-3.9 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-opengl --enable-opencl --disable-vda --pkg-config-flags=' --libs --static'
  libavutil      55. 70.100 / 55. 70.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 98.100 /  6. 98.100
  libavresample   3.  6.  0 /  3.  6.  0
  libswscale      4.  7.102 /  4.  7.102
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[h264 @ 0x7f9aa3003600] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] non-existing SPS 0 referenced in buffering period
[h264 @ 0x7f9aa4000600] SPS unavailable in decode_picture_timing
[h264 @ 0x7f9aa4000600] non-existing PPS 0 referenced
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] no frame!
[h264 @ 0x7f9aa4000600] Reference 2 >= 2
[h264 @ 0x7f9aa4000600] error while decoding MB 53 11, bytestream 29395
[h264 @ 0x7f9aa4000600] Invalid NAL unit 6, skipping.
[h264 @ 0x7f9aa4000600] cabac decode of qscale diff failed at 1 53
[h264 @ 0x7f9aa4000600] error while decoding MB 1 53, bytestream -6
[h264 @ 0x7f9aa4000600] 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 @ 0x7f9aa4000600] 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@ffmpeg.org)
[h264 @ 0x7f9aa4000600] decode_slice_header error
[h264 @ 0x7f9aa4000600] illegal short term buffer state detected
[h264 @ 0x7f9aa4000600] reference picture missing during reorder
[h264 @ 0x7f9aa4000600] Missing reference picture, default is 65687
[h264 @ 0x7f9aa4000600] Reference 2 >= 2
[h264 @ 0x7f9aa4000600] error while decoding MB 76 23, bytestream 24156
[h264 @ 0x7f9aa4000600] cabac decode of qscale diff failed at 57 2
[h264 @ 0x7f9aa4000600] error while decoding MB 57 2, bytestream 18456
Input #0, h264, from 'vlc_cut.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25.25 fps, 25 tbr, 1200k tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[h264 @ 0x7f9aa3001000] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x7f9aa3001000] Missing reference picture, default is 65646
    Last message repeated 1 times
[h264 @ 0x7f9aa3001000] reference picture missing during reorder
[h264 @ 0x7f9aa3001000] Missing reference picture, default is 65647
[h264 @ 0x7f9aa3001000] reference picture missing during reorder
[h264 @ 0x7f9aa3001000] Missing reference picture, default is 65654
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Video: wrapped_avframe, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.102.100 wrapped_avframe
[h264 @ 0x7f9aa3001000] Reference 2 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 53 11, bytestream 29395
[h264 @ 0x7f9aa3001000] Invalid NAL unit 6, skipping.
[h264 @ 0x7f9aa3001000] cabac decode of qscale diff failed at 1 53
[h264 @ 0x7f9aa3001000] error while decoding MB 1 53, bytestream -6
[h264 @ 0x7f9aa3001000] 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 @ 0x7f9aa3001000] 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@ffmpeg.org)
[h264 @ 0x7f9aa3001000] decode_slice_header error
[h264 @ 0x7f9aa3001000] illegal short term buffer state detected
[h264 @ 0x7f9aa3001000] reference picture missing during reorder
[h264 @ 0x7f9aa3001000] Missing reference picture, default is 65687
[h264 @ 0x7f9aa3001000] Reference 2 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 76 23, bytestream 24156
[h264 @ 0x7f9aa3001000] cabac decode of qscale diff failed at 57 2
[h264 @ 0x7f9aa3001000] error while decoding MB 57 2, bytestream 18456
[h264 @ 0x7f9aa3001000] Reference 2 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 113 24, bytestream 4773
[h264 @ 0x7f9aa3001000] Reference 4 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 77 53, bytestream 1554
[h264 @ 0x7f9aa3001000] Reference 4 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 33 22, bytestream 4994
[h264 @ 0x7f9aa3001000] reference picture missing during reorder
[h264 @ 0x7f9aa3001000] Missing reference picture, default is 65694
[h264 @ 0x7f9aa3001000] Reference 5 >= 4
[h264 @ 0x7f9aa3001000] error while decoding MB 95 6, bytestream 56133
[h264 @ 0x7f9aa3001000] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x7f9aa3001000] Reference 5 >= 4=00:00:01.36 bitrate=N/A speed=2.69x    
[h264 @ 0x7f9aa3001000] error while decoding MB 34 18, bytestream 32602
[h264 @ 0x7f9aa3001000] Reference 2 >= 2
[h264 @ 0x7f9aa3001000] error while decoding MB 4 3, bytestream 9436
frame=   44 fps=0.0 q=-0.0 Lsize=N/A time=00:00:02.40 bitrate=N/A speed=2.93x    
video:23kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

comment:6 by Carl Eugen Hoyos, 5 years ago

Resolution: fixed
Status: newclosed

This will not be fixed in release/3.0.

Note: See TracTickets for help on using tickets.