Opened 6 years ago

Last modified 6 years ago

#7249 new defect

Overread VUI errors for AVID file

Reported by: Carl Eugen Hoyos Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: h264
Cc: christophgerstbauer@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://ffmpeg.org/pipermail/ffmpeg-user/2018-June/040079.html
The provided mxf file shows an error message Overread VUI by 5 bits for every frame.

$ ffmpeg -loglevel debug -i ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf
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
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf.
Successfully parsed a group of options.
Opening an input file: ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf.
[NULL @ 0x3aad2c0] Opening 'ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf' for reading
[file @ 0x3aade00] Setting default whitelist 'file,crypto'
[mxf @ 0x3aad2c0] Format mxf probed with size=2048 and score=100
[mxf @ 0x3aad2c0] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 0x3aad2c0] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
[mxf @ 0x3aad2c0] h264: Universal Label: 060e2b34.0401.010a.04010202.01323102
[mxf @ 0x3aad2c0] video_line_map: (21, 584), field_dominance: 0
[mxf @ 0x3aad2c0] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 0x3aad2c0] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 0x3aad2c0] Before avformat_find_stream_info() pos: 31776 bytes read:65957 seeks:5 nb_streams:3
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 12(Filler data), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Format yuv422p10le chosen by get_format().
[h264 @ 0x3ab2780] Reinit context to 1920x1088, pix_fmt: yuv422p10le
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x3ab2780] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x3ab2780] nal_unit_type: 6(SEI), nal_ref_idc: 0
    Last message repeated 1 times
[h264 @ 0x3ab2780] nal_unit_type: 5(IDR), nal_ref_idc: 3
    Last message repeated 9 times
[h264 @ 0x3ab2780] Overread VUI by 5 bits
[h264 @ 0x3ab2780] SPS decoding failure, trying again with the complete NAL
[h264 @ 0x3ab2780] unknown SEI type 128
    Last message repeated 1 times
[mxf @ 0x3aad2c0] first_dts 7 not matching first dts 0 (pts 0, duration 1) in the queue
[mxf @ 0x3aad2c0] Probe buffer size limit of 5000000 bytes reached
[mxf @ 0x3aad2c0] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mxf @ 0x3aad2c0] After avformat_find_stream_info() pos: 5244957 bytes read:5279138 seeks:5 frames:25
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mxf, from 'ffmpeg__2018_Sample-from-AVIDSystem--Overread.VUI.by.5.bits.Problem___NEW.mxf':
  Metadata:
    uid             : 55d17c51-6981-11e8-94b8-0015b2a4ea2f
    generation_uid  : 55d17c52-6981-11e8-8575-0015b2a4ea2f
    company_name    : Avid Technologies, Inc.
    product_name    : Transfer Manager STP DHM
    product_version : 4.0.0.0
    application_platform: win32
    product_uid     : 00000000-0000-0000-0000-000000000000
    modification_date: 2018-06-06T12:01:23.000000Z
    material_package_umid: 0x060A2B340101010501010D12135B1466A5789402758205A2F5FB0015B2A4EA2F
    timecode        : 00:59:59:19
  Duration: 00:00:05.24, start: 0.000000, bitrate: 116154 kb/s
    Stream #0:0, 9, 1/25: Video: h264 (High 4:2:2 Intra), 1 reference frame, yuv422p10le(pc, bt709, top first, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213A241949B789402758205A2CD8C0015B2A4EA2F
      file_package_name: Source Package
      track_name      : Track 1
    Stream #0:1, 8, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213A241949B789402758205A2CD8C0015B2A4EA2F
      file_package_name: Source Package
      track_name      : Track 2
    Stream #0:2, 8, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213A241949B789402758205A2CD8C0015B2A4EA2F
      file_package_name: Source Package
      track_name      : Track 3
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x3aada80] Statistics: 5279138 bytes read, 5 seeks

Change History (2)

comment:2 by Christoph Gerstbauer, 6 years ago

Cc: christophgerstbauer@gmail.com added
Note: See TracTickets for help on using tickets.