[MEncoder-users] mencoder two pass trouble on linux

Richard Ji richard.c.ji at gmail.com
Tue Nov 25 05:40:18 CET 2008


Hi all,

I am using mencoder to create avi file from DVD.  I use the same commands on
both Windows and Linux (OpenSUSE).  The following worked fine on Windows.
However, on my Linux box, the second pass fails with:

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]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
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))

However, mplayer plays the DVD fine under Linux.

Here is the commands I used:

mencoder dvd://$1 -dvd-device /dev/cdrom -aid 128 -ovc lavc -lavcopts
vcodec=mpeg4:vpass=1 -oac copy -o temp.avi
mencoder dvd://$1 -dvd-device /dev/cdrom -aid 128 -ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:trell:vpass=2 -oac mp3lame -lameopts br=128:vol=9 -o $2

Any helps is appreciated.

Thanks

Rich



More information about the MEncoder-users mailing list