[MPlayer-users] Creating DIVX for Xoro HSD 400 with mencoder.

Carsten Koch Carsten.Koch at icem.com
Mon Dec 8 00:02:47 CET 2003


Hi,

I have been trying to create a DIVX CD with mencoder for my
DIVX-capable DVD player (Xoro HSD 400).

The DIVX file created can be played fine with mplayer, but
the DVD player does not recognize it.
All it does is show me a playing time of 0:00:00 and a
black picture with no sound.

I tried

mencoder source.mov -ovc frameno -oac mp3lame -lameopts vbr=3 -o frameno.avi
mencoder source.mov -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=991
mencoder source.mov -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=991

and

mencoder source.mov -ovc frameno -oac mp3lame -lameopts vbr=3 -o frameno.avi
mencoder source.mov -oac copy -ovc lavc -lavcopts vcodec=msmpeg4:vpass=1:vbitrate=991
mencoder source.mov -oac copy -ovc lavc -lavcopts vcodec=msmpeg4:vpass=2:vbitrate=991

to create the DIVX file.

mplayer plays itc back correctly and says

AVI file format detected.
VIDEO:  [div3]  768x576  24bpp  25.000 fps  991.2 kbps (121.0 kbyte/s)
Clip info:
  Software: MEncoder dev-CVS-031206-20:34-3.3.1
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================


For testing purposes, I also wrote a DIVX file that was *not* created with mencoder
to a CD. That one works fine, so the problem has nothing to do with cdrecord or
my CD-R media. It also proves that the Xoro HSD 400 DVD player can indeed play
back DIVX files from an ISO 9660 data CD-R.

For the *working* DIVX file, mplayer says:

AVI file format detected.
VIDEO:  [DIV3]  720x320  24bpp  25.000 fps  859.6 kbps (104.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================


My questions are:

*  What is the difference between
	VIDEO:  [DIV3]
    (which works on the DVD player)
    and
	VIDEO:  [div3]
    (which does not work on the DVD player)
    In other words: What difference does mplayer indicate with the upper case
    versus lower case div3?

*  Could the  44100 Hz vs. 48000 Hz be the reason for the problem?
    If yes, what are the best mencoder parameters for audio resampling to 48kHz?

*  Any other suggestions what I could try?

Thanks and cheers,

Carsten.



More information about the MPlayer-users mailing list