[MPlayer-users] Mencoder not decoding divx?

Ralph Slooten ralph at delrom.ro
Mon Apr 8 20:56:01 CEST 2002


Hi there all,

I am confused as to this encoding problem I have. I have just installed
Mandrake 8.2, and threw away the gcc-0.96 (which is still included as
default!!) and upgraded to gcc3.0-3.0.4-2 (also included).

I had mplayer and mencoder working like a charm with 8.1, but since I
installed 8.2, either something has changed here, or in mplayer/mencoder.
When encoding, mencoder works like a charm with encoding a DVD to DivX
using libavcodec and xvid, however when I try re-encode a film ripped in
DivX (3 or 4, it does not matter) format, it bombs out.

I try encode with:

mencoder Star_Wars_V.avi -o Test.avi -ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=650 -oac mp3lame -lameopts br=96:cbr -v

and it gives the error of:

mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 44100 Hz 112 kbit Joint-Stereo, BPF: 365
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 14000->176400
videocodec: libavcodec (640x272 fourcc=58564944 [DIVX])
MP3 audio selected
Writing AVI header...
Not supported image format! (Unknown)
Exiting...


I _can_ however play this file with mplayer perfectly!



Then to try a similar test I do a

mencoder -dvd 1 -chapter 1-1 -o Matrix.avi -ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=650 -oac mp3lame -lameopts br=96:c br -v


... and this works great.

I have exactly the same results with xvid... DVD works great, but not
re-encoding a divx file. Re-encoding an mpeg file does work btw.. It seems
to me that mencoder cannot decode DivX, whereas mplayer can.

I am using todays CVS versions of MPlayer, XviD and libavcodec (tried
yesterdays too). I have configured with both encoders, and also both
individually.

Does anyone have any idea of what's going on here?

Any suggestions would be great,

Greetings
Ralph





More information about the MPlayer-users mailing list