New submission from johnny johnny666...@sonnenkinder.org:
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
libavcodec52.94. 3 / 52.94. 3
libavformat 52.84. 0 / 52.84. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter1.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