New submission from johnny <[email protected]>:
ffmpeg (latest version from trunk as well as stable versions 0.5 and 0.6) print
out error messages when trying to decode the attached stream. some frames are
decoded successfully, but most are not (apparently because of the errors that
have occurred). when the same encoder is configured to produce a stream with a
lower bit rate, ffmpeg can decode it just fine.
does anyone have a clue as to what is going on? here's the output:
$ ffmpeg -i highrate.mpg output.mpg
FFmpeg version SVN-r25659, Copyright (c) 2000-2010 the FFmpeg developers
built on Nov 3 2010 12:10:29 with gcc 4.3.2
configuration:
libavutil 50.32. 5 / 50.32. 5
libavcore 0.12. 0 / 0.12. 0
libavcodec 52.94. 3 / 52.94. 3
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.54. 0 / 1.54. 0
libswscale 0.12. 0 / 0.12. 0
[mpeg2video @ 0x90282c0] mpeg_decode_postinit() failure
Last message repeated 1 times
[mpeg2video @ 0x90282c0] invalid mb type in I Frame at 0 9
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 8
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 9
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 10
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 11
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 12
[mpeg2video @ 0x90282c0] skipped MB in I frame at 2 13
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 14
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 15
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 16
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 17
[mpeg2video @ 0x90282c0] mb incr damaged
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 19
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 20
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 21
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 22
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 23
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 24
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 25
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 26
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 27
[mpeg2video @ 0x90282c0] ac-tex damaged at 1 28
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 29
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 30
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 31
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 32
[mpeg2video @ 0x90282c0] skipped MB in I frame at 2 33
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 34
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 35
[mpeg2video @ 0x90282c0] Warning MVs not available
[mpeg2video @ 0x90282c0] concealing 1260 DC, 1260 AC, 1260 MV errors
Input #0, mpegts, from 'highrate.mpg':
Duration: 00:00:03.20, start: 3898.601411, bitrate: 12499 kb/s
Program 241
Stream #0.0[0x10]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
15000 kb/s, 25.43 fps, 25 tbr, 90k tbn, 50 tbc
[buffer @ 0x90281e0] w:720 h:576 pixfmt:yuv420p
[mpeg @ 0x9026be0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'output.mpg':
Metadata:
encoder : Lavf52.84.0
Stream #0.0: Video: mpeg1video, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg2video @ 0x90282c0] mpeg_decode_postinit() failure
Error while decoding stream #0.0
Error while decoding stream #0.0s
Last message repeated 1 times
[mpeg2video @ 0x90282c0] invalid mb type in I Frame at 0 9
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 8
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 9
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 10
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 11
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 12
[mpeg2video @ 0x90282c0] skipped MB in I frame at 2 13
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 14
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 15
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 16
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 17
[mpeg2video @ 0x90282c0] mb incr damaged
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 19
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 20
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 21
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 22
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 23
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 24
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 25
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 26
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 27
[mpeg2video @ 0x90282c0] ac-tex damaged at 1 28
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 29
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 30
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 31
[mpeg2video @ 0x90282c0] skipped MB in I frame at 1 32
[mpeg2video @ 0x90282c0] skipped MB in I frame at 2 33
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 34
[mpeg2video @ 0x90282c0] ac-tex damaged at 0 35
[mpeg2video @ 0x90282c0] Warning MVs not available
[mpeg2video @ 0x90282c0] concealing 1260 DC, 1260 AC, 1260 MV errors
Last message repeated 5 times
[mpeg2video @ 0x90282c0] invalid cbp at 21 3
[mpeg2video @ 0x90282c0] invalid cbp at 1 34
[mpeg2video @ 0x90282c0] invalid cbp at 5 35
[mpeg2video @ 0x90282c0] concealing 1485 DC, 1485 AC, 1485 MV errors
[mpeg2video @ 0x90282c0] slice mismatch
[mpeg2video @ 0x90282c0] Warning MVs not available
[mpeg2video @ 0x90282c0] concealing 0 DC, 0 AC, 0 MV errors
[mpeg2video @ 0x90282c0] 00 motion_type at 12 16
[mpeg2video @ 0x90282c0] 00 motion_type at 0 11
[mpeg2video @ 0x90282c0] 00 motion_type at 0 12
[mpeg2video @ 0x90282c0] 00 motion_type at 0 13
[mpeg2video @ 0x90282c0] 00 motion_type at 0 14
[mpeg2video @ 0x90282c0] 00 motion_type at 0 15
[mpeg2video @ 0x90282c0] 00 motion_type at 0 16
[mpeg2video @ 0x90282c0] 00 motion_type at 0 17
[mpeg2video @ 0x90282c0] 00 motion_type at 0 18
[mpeg2video @ 0x90282c0] 00 motion_type at 0 19
[mpeg2video @ 0x90282c0] 00 motion_type at 0 20
[mpeg2video @ 0x90282c0] 00 motion_type at 0 21
[mpeg2video @ 0x90282c0] 00 motion_type at 0 22
[mpeg2video @ 0x90282c0] 00 motion_type at 0 23
[mpeg2video @ 0x90282c0] 00 motion_type at 0 24
[mpeg2video @ 0x90282c0] 00 motion_type at 0 25
[mpeg2video @ 0x90282c0] 00 motion_type at 0 26
[mpeg2video @ 0x90282c0] 00 motion_type at 0 27
[mpeg2video @ 0x90282c0] 00 motion_type at 0 28
[mpeg2video @ 0x90282c0] 00 motion_type at 0 29
[mpeg2video @ 0x90282c0] 00 motion_type at 0 30
[mpeg2video @ 0x90282c0] 00 motion_type at 0 31
[mpeg2video @ 0x90282c0] 00 motion_type at 0 32
[mpeg2video @ 0x90282c0] 00 motion_type at 0 33
[mpeg2video @ 0x90282c0] 00 motion_type at 0 34
[mpeg2video @ 0x90282c0] 00 motion_type at 0 35
[mpeg2video @ 0x90282c0] concealing 1125 DC, 1125 AC, 1125 MV errors
[mpeg2video @ 0x90282c0] ac-tex damaged at 10 0=1.96 bitrate=1287.3kbits/s
dup=22 drop=0
[mpeg2video @ 0x90282c0] invalid mb type in B Frame at 15 4
[mpeg2video @ 0x90282c0] ac-tex damaged at 2 4
[mpeg2video @ 0x90282c0] 00 motion_type at 39 9
[mpeg2video @ 0x90282c0] 00 motion_type at 14 13
[mpeg2video @ 0x90282c0] ac-tex damaged at 4 14
[mpeg2video @ 0x90282c0] Warning MVs not available
[mpeg2video @ 0x90282c0] concealing 360 DC, 360 AC, 360 MV errors
[mpeg2video @ 0x90282c0] slice mismatch
[mpeg2video @ 0x90282c0] 00 motion_type at 7 27
[mpeg2video @ 0x90282c0] ac-tex damaged at 2 28
[mpeg2video @ 0x90282c0] ac-tex damaged at 3 29
[mpeg2video @ 0x90282c0] ac-tex damaged at 3 30
[mpeg2video @ 0x90282c0] slice mismatch
[mpeg2video @ 0x90282c0] invalid mb type in P Frame at 11 32
[mpeg2video @ 0x90282c0] ac-tex damaged at 2 33
[mpeg2video @ 0x90282c0] ac-tex damaged at 3 34
[mpeg2video @ 0x90282c0] invalid cbp at 3 35
[mpeg2video @ 0x90282c0] concealing 405 DC, 405 AC, 405 MV errors
[mpeg2video @ 0x90282c0] ac-tex damaged at 18 12
[mpeg2video @ 0x90282c0] concealing 45 DC, 45 AC, 45 MV errors
[mpeg2video @ 0x90282c0] mb incr damaged
[mpeg2video @ 0x90282c0] 00 motion_type at 18 13
[mpeg2video @ 0x90282c0] ac-tex damaged at 14 14
[mpeg2video @ 0x90282c0] concealing 90 DC, 90 AC, 90 MV errors
[mpeg2video @ 0x90282c0] ac-tex damaged at 22 17
[mpeg2video @ 0x90282c0] concealing 855 DC, 855 AC, 855 MV errors
frame= 96 fps= 0 q=31.0 Lsize= 444kB time=3.80 bitrate= 957.2kbits/s
File 'highrate.mpg' not attached - you can download it from
https://roundup.ffmpeg.org/file1152.
----------
files: highrate.mpg
messages: 12451
priority: normal
status: new
substatus: new
title: cannot decode mpeg-2 transport stream with high bit rate
type: bug
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2340>
________________________________________________