[MEncoder-users] trying to convert dvd to tiny mp3/video player?

Brian Trauger trauger at gmail.com
Tue Jan 22 10:09:30 CET 2008


I bought a Sansa e250 and installed rockbox (www.rockbox.org) which includes
an mpeg2 player.  Screen size is 220x176.  I have a Windows batch file that
correctly scales AVIs to the correct size:
http://www.rockbox.org/twiki/pub/Main/PluginMpegplayer/encode.bat
I have edited the file to try to rip from dvd in 1 pass to this tiny size.
The result is not scaled as needed.  I'm not sure what to edit?.  I'm pretty
new at this and hope someone can help, please?
my edited  batch file:
mencoder.exe dvd://1 dvddevice=d: -msglevel mencoder=1 -of mpeg -oac lavc
-lavcopts acodec=mp3:abitrate=128 -af resample=44100:0:0 -ovc lavc -ofps 25
-lavcopts vcodec=mpeg2video:vbitrate=300:keyint=60 -vf scale -zoom -xy 220
-o dvd.sansa.mpg
the result of a ripped file played by mplayer:
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 1)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO: [directx] 720x480 => 720x480 Planar YV12
-- 
Brian Trauger
West Gardiner, Maine



More information about the MEncoder-users mailing list