Opened 4 years ago

Last modified 5 months ago

#3624 new defect

H264 decoding error messages from a possibly valid mxf file

Reported by: cehoyos Owned by:
Priority: minor Component: undetermined
Version: git-master Keywords: h264 mxf
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/51662

A user uploaded a mxf h264 sample that shows different error messages on decoding. The last message is shown several seconds before EOF, so this is at least not a problem related to bad cutting.

$ ffmpeg -i 02_optTFF_MPEG4\ AVC\ part10\ \(AVC1\)_YUV422_\(pc\,\ bt709\)_10bit__4xMono-PCM24bit__Matrox\ Electronic\ DSX__AVC100.mxf -t 20 -f null -
ffmpeg version N-63027-g9e58677 Copyright (c) 2000-2014 the FFmpeg developers
  built on May  8 2014 00:47:46 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 81.100 / 52. 81.100
  libavcodec     55. 60.103 / 55. 60.103
  libavformat    55. 37.102 / 55. 37.102
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[mxf @ 0x3325c20] Field dominance 0 support 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.
[mxf @ 0x3325c20] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[h264 @ 0x3329bc0] Overread VUI by 5 bits
    Last message repeated 1 times
[mxf @ 0x3325c20] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mxf, from '02_optTFF_MPEG4 AVC part10 (AVC1)_YUV422_(pc, bt709)_10bit__4xMono-PCM24bit__Matrox Electronic DSX__AVC100.mxf':
  Metadata:
    uid             : 3fd61200-8436-05c1-f134-080046020221
    generation_uid  : 3fd61200-8436-05c2-f134-080046020221
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 3.0
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2013-10-10 19:03:51
    timecode        : 00:00:00:00
  Duration: 00:00:22.24, start: 0.000000, bitrate: 118889 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
[h264 @ 0x340ac40] Overread VUI by 5 bits
Output #0, null, to 'pipe:':
  Metadata:
    uid             : 3fd61200-8436-05c1-f134-080046020221
    generation_uid  : 3fd61200-8436-05c2-f134-080046020221
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 3.0
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2013-10-10 19:03:51
    timecode        : 00:00:00:00
    encoder         : Lavf55.37.102
    Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> rawvideo)
  Stream #0:1 -> #0:1 (pcm_s24le -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 0x332d7c0] Encoder did not produce proper pts, making some up.
[h264 @ 0x340c400] non-existing PPS 5 referenced.92 bitrate=N/A
[h264 @ 0x340c400] decode_slice_header error
[h264 @ 0x340c400] Partitioned H.264 support is incompletee=N/A
[h264 @ 0x340ec00] A non-intra slice in an IDR NAL unit.ate=N/A
[h264 @ 0x340ec00] decode_slice_header error
[h264 @ 0x340c400] non-existing PPS 59 referenced
[h264 @ 0x340c400] decode_slice_header error
frame=  500 fps=230 q=0.0 Lsize=N/A time=00:00:20.00 bitrate=N/A
video:47kB audio:1875kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 937334535094272.000000%

Unfortunately, there is no proof that this isn't just an encoder bug.

Change History (2)

comment:2 Changed 5 months ago by cehoyos

The Overread VUI warning was fixed by Michael in 19321a295a641cbc067ec0df597bc1b69addf049, decoding errors are still shown:

$ ffmpeg -i 02_optTFF_MPEG4\ AVC\ part10\ \(AVC1\)_YUV422_\(pc\,\ bt709\)_10bit__4xMono-PCM24bit__Matrox\ Electronic\ DSX__AVC100.mxf -f null -
ffmpeg version N-91230-gb748772 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec     58. 19.105 / 58. 19.105
  libavformat    58. 17.100 / 58. 17.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 25.100 /  7. 25.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[mxf @ 0x2fb6400] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mxf, from '02_optTFF_MPEG4 AVC part10 (AVC1)_YUV422_(pc, bt709)_10bit__4xMono-PCM24bit__Matrox Electronic DSX__AVC100.mxf':
  Metadata:
    uid             : 3fd61200-8436-05c1-f134-080046020221
    generation_uid  : 3fd61200-8436-05c2-f134-080046020221
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 3.0
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2013-10-10T19:03:51.000000Z
    material_package_umid: 0x060A2B340101010501010D20130000009FE82A0A99AB43E88BE4EDEFE15A4241
    timecode        : 00:00:00:00
  Duration: 00:00:22.24, start: 0.000000, bitrate: 118889 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    uid             : 3fd61200-8436-05c1-f134-080046020221
    generation_uid  : 3fd61200-8436-05c2-f134-080046020221
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 3.0
    product_uid     : 060e2b34-0401-0103-0e06-012002010200
    modification_date: 2013-10-10T19:03:51.000000Z
    material_package_umid: 0x060A2B340101010501010D20130000009FE82A0A99AB43E88BE4EDEFE15A4241
    timecode        : 00:00:00:00
    encoder         : Lavf58.17.100
    Stream #0:0: Video: wrapped_avframe, yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
      encoder         : Lavc58.19.105 wrapped_avframe
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D4313000000CCAB250084360580080046020221F134
      encoder         : Lavc58.19.105 pcm_s16le
[h264 @ 0x3018840] data partitioning 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 @ 0x3018840] 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 @ 0x3018840] data partitioning 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 @ 0x3018840] 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 @ 0x33b1cc0] A non-intra slice in an IDR NAL unit.
[h264 @ 0x33b1cc0] decode_slice_header error
[h264 @ 0x3018840] non-existing PPS 59 referenced
[h264 @ 0x3018840] decode_slice_header error
frame=  556 fps=258 q=-0.0 Lsize=N/A time=00:00:22.24 bitrate=N/A speed=10.3x
video:291kB audio:2085kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Note: See TracTickets for help on using tickets.