[MPlayer-users] Best mencoder codecs and options for animations/cartoons?

Loren Merritt lorenm at u.washington.edu
Fri Aug 27 20:02:21 CEST 2004


On Fri, 27 Aug 2004, Duane Evenson wrote:

> What are your favourite mencoder commands to encode an animation from TV
> or DVD?
> I have this animated DVD I want to rip and would like a few samples of
> mencoder commands to try out and modify to my own preferences.
> I usually don't encode animations and expect there are several folks out
> there with more expertise at this than me.
> Thanks in advance.


# fast
LAVCOPT = mbd=2:trell:v4mv:cmp=2:subcmp=2:vmax_b_frames=1:\
preme=2:dia=-1:predia=3:last_pred=2

# medium
LAVCOPT = mbd=2:trell:v4mv:cmp=2:subcmp=2:vmax_b_frames=1:\
preme=2:dia=3:predia=1:last_pred=2:mv0:cbp:qprd

# slow
LAVCOPT = mbd=2:trell:v4mv:cmp=2:subcmp=6:vmax_b_frames=1:\
preme=2:dia=4:predia=4:last_pred=2:mv0:cbp:qprd:qns=2

mplayer dvd://1 -vc null -vo null -alang eng -ao pcm -aofile foo.wav
oggenc -q 4 foo.wav
mencoder dvd://1 -o foo.avi -nosound $FILTER -ovc lavc \
-lavcopts vpass=1:vqscale=2:$LAVCOPT
mencoder dvd://1 -o foo.avi -nosound $FILTER -ovc lavc \
-lavcopts vpass=2:vbitrate=$BR:$LAVCOPT
mkvmerge -o foo.mkv foo.avi foo.ogg

where $FILTER usually involves detc, crop, scale, and hqdn3d

--Loren Merritt




More information about the MPlayer-users mailing list