[MEncoder-users] Same file, diff outputs

Jiang Hong netex at 163.com
Tue Jun 27 11:58:39 CEST 2006


Hi,

I can't encode a XVID file but I can play it.

The file seems encoded by ffmpeg:

00000000:  52 49 46 46-E6 15 9B 02-41 56 49 20-4C 49 53 54
00000010:  D0 01 00 00-68 64 72 6C-61 76 69 68-38 00 00 00
00000020:  80 38 01 00-00 84 21 00-01 00 00 00-00 08 00 00
00000030:  04 7D 00 00-00 00 00 00-02 00 00 00-0E 24 00 00
00000040:  D0 00 00 00-B0 00 00 00-00 00 00 00-00 00 00 00
00000050:  00 00 00 00-00 00 00 00-4C 49 53 54-D8 00 00 00
00000060:  73 74 72 6C-73 74 72 68-38 00 00 00-76 69 64 73
00000070:  58 56 49 44-00 00 00 00-00 00 00 00-00 00 00 00
00000080:  00 35 0C 00-80 96 98 00-00 00 00 00-04 7D 00 00
00000090:  0E 24 00 00-00 00 00 00-00 00 00 00-00 00 00 00
000000A0:  00 00 00 00-73 74 72 66-2C 00 00 00-28 00 00 00
000000B0:  D0 00 00 00-B0 00 00 00-01 00 18 00-58 56 49 44
000000C0:  00 AD 01 00-00 00 00 00-00 00 00 00-00 00 00 00
000000D0:  00 00 00 00-00 00 00 00-69 6E 64 78-28 00 00 00
000000E0:  04 00 00 00-01 00 00 00-30 30 64 62-00 00 00 00
000000F0:  00 00 00 00-00 00 00 00-86 DD 96 02-00 00 00 00
00000100:  40 E8 03 00-04 7D 00 00-4A 55 4E 4B-28 00 00 00
00000110:  53 6D 61 72-74 4D 6F 76-69 65 20 63-6F 6E 76 65
00000120:  72 74 65 72-20 2D 20 4C-6F 6E 65 6C-79 20 43 61
00000130:  74 20 47 61-6D 65 73 00-4C 49 53 54-A4 00 00 00
00000140:  73 74 72 6C-73 74 72 68-38 00 00 00-61 75 64 73
00000150:  00 00 00 00-00 00 00 00-00 00 00 00-00 00 00 00
00000160:  01 00 00 00-B8 0B 00 00-00 00 00 00-70 35 75 00
00000170:  C0 0B 00 00-00 00 00 00-01 00 00 00-00 00 00 00
00000180:  00 00 00 00-73 74 72 66-28 00 00 00-55 00 01 00
00000190:  80 3E 00 00-B8 0B 00 00-01 00 00 00-16 00 04 00
000001A0:  C0 5D 00 00-08 00 00 00-00 00 00 00-00 00 00 00
000001B0:  00 00 00 00-69 6E 64 78-28 00 00 00-04 00 00 00
000001C0:  01 00 00 00-30 31 77 62-00 00 00 00-00 00 00 00
000001D0:  00 00 00 00-C6 C5 9A 02-00 00 00 00-28 50 00 00
000001E0:  70 35 75 00-4C 49 53 54-02 14 9B 02-6D 6F 76 69
000001F0:  30 30 64 63-94 06 00 00-00 00 01 B0-01 00 00 01
00000200:  B5 89 13 00-00 01 00 00-00 01 20 00-C4 8D 88 00
00000210:  CD 06 84 16-14 63 00 00-01 B2 46 46-6D 70 65 67
00000220:  30 2E 34 2E-39 2D 70 72-65 31 62 34-37 35 38 00

from offset 0x216:
FFmpeg0.4.9-pre1b4758

mencoder said:

==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Forcing output FourCC to 31564c46 [FLV1].
[mpeg4 @ 00B00B48]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B00B48]my guess is 3 bits ;)
[mpeg4 @ 00B00B48]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B00B48]my guess is 2 bits ;)

1 duplicate frame(s)!
VIDEO CODEC ID: 22
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
[flv @ 00BFDCC4]dimensions not set

then mencoder coredumped by a division-by-zero exception.

mplayer gave the below outputs and played the file well.

==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 16000 Hz, 2 ch, s16le, 24.0 kbit/4.69% (ratio: 3000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 16000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mpeg4 @ 00B0E968]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B0E968]my guess is 3 bits ;)
[mpeg4 @ 00B0E968]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B0E968]my guess is 2 bits ;)
[mpeg4 @ 00B0E968]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 00B0E968]header damaged
Error while decoding frame!
[mpeg4 @ 00B0E968]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B0E968]my guess is 1 bits ;)
[mpeg4 @ 00B0E968]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 00B0E968]header damaged
Error while decoding frame!
[mpeg4 @ 00B0E968]looks like this file was encoded with (divx4/(old)xvid/opendiv
x) -> forcing low_delay flag
[mpeg4 @ 00B0E968]looks like this file was encoded with (divx4/(old)xvid/opendiv
x) -> forcing low_delay flag
VDec: vo config request - 208 x 176 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 208x176 => 208x176 Planar YV12
[mpeg4 @ 00B0E968]warning: first frame is no keyframe
[mpeg4 @ 00B0E968]ac-tex damaged at 0 0
[mpeg4 @ 00B0E968]Error at MB: 0
[mpeg4 @ 00B0E968]concealing 143 DC, 143 AC, 143 MV errors
[mpeg4 @ 00B0E968]hmm, seems the headers are not complete, trying to guess time_
increment_bits
[mpeg4 @ 00B0E968]my guess is 5 bits ;)

-- 
Jiang Hong <netex at 163.com>






More information about the MEncoder-users mailing list