Opened 11 years ago

Closed 11 years ago

#2106 closed defect (fixed)

AVCI50 sample does not decode

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: h264intra mov AVID AVin
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket524/AVCI50.mov
FFmpeg does not insert the correct extradata for this sample, I will attach a PoC that shows that the sample can be decoded.
DAR should be 16:9, is 3:4 with the patch.

$ ffmpeg -i AVCI50.mov
ffmpeg version N-48424-gc5142a9 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  3 2013 21:53:12 with gcc 4.7 (SUSE Linux)
  configuration: --cc='cc -m32'
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.101 / 54. 85.101
  libavformat    54. 59.102 / 54. 59.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
[h264 @ 0x95e6480] Overread VUI by 5 bits
[h264 @ 0x95e6480] negative number of zero coeffs at 0 0
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] out of range intra chroma pred mode at 25 20
[h264 @ 0x95e6480] error while decoding MB 25 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] negative number of zero coeffs at 91 24
[h264 @ 0x95e6480] error while decoding MB 91 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] negative number of zero coeffs at 102 34
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 48 41
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] negative number of zero coeffs at 67 5
[h264 @ 0x95e6480] error while decoding MB 67 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] left block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 1 0
[h264 @ 0x95e6480] error while decoding MB 1 0
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] corrupted macroblock 24 20 (total_coeff=-1)
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] negative number of zero coeffs at 90 24
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] negative number of zero coeffs at 24 20
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 38 31
[h264 @ 0x95e6480] error while decoding MB 38 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] out of range intra chroma pred mode at 67 5
[h264 @ 0x95e6480] error while decoding MB 67 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] mb_type 42 in I slice too large at 92 24
[h264 @ 0x95e6480] error while decoding MB 92 24
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95dfa60] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95dfa60] Stream #2: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AVCI50.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-09-29 14:51:08
    timecode        : 00:00:29;00
  Duration: 00:00:18.02, start: 0.000000, bitrate: 57269 kb/s
    Stream #0:0(eng): Video: h264 (High 4:2:2 Intra) (AVin / 0x6E695641), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], 55731 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 174762.67 tbc
    Metadata:
      creation_time   : 2011-09-29 14:51:08
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-09-29 14:51:08
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-09-29 14:51:14
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:29;00
At least one output file must be specified

Attachments (2)

patchavci50.diff (441 bytes ) - added by Carl Eugen Hoyos 11 years ago.
patchavidavc50.diff (1.4 KB ) - added by Carl Eugen Hoyos 11 years ago.

Download all attachments as: .zip

Change History (5)

by Carl Eugen Hoyos, 11 years ago

Attachment: patchavci50.diff added

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: AVID AVin added

by Carl Eugen Hoyos, 11 years ago

Attachment: patchavidavc50.diff added

comment:2 by Carl Eugen Hoyos, 11 years ago

Decoding works fine with attached patch, the DAR problem was fixed independently.

comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.