[MPlayer-users] Mencoder 1.0pre4 and DVD rip

Loren Merritt lorenm at u.washington.edu
Sat May 8 23:31:08 CEST 2004


On Sat, 8 May 2004, Petr Kopecky wrote:

> I'm just trying to encode some DVD with mencoder but the quality is very
> poor.
> I've been always using 3-pass encoding with this parameters (for example):
>
> mencoder movie.dumpstream -aid 129 \
>     -ovc frameno -o frameno.avi -oac mp3lame \
>     -lameopts cbr:br=128:aq=0
>
> mencoder movie.dumpstream -aid 129 \
>     -o Nazev_filmu.avi -oac copy -ovc lavc \
>     -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vme=1:vpass=1 \
>     -vop scale=512:288
>
> mencoder movie.dumpstream -aid 129 \
>     -o Nazev_filmu.avi -oac copy -ovc lavc \
>     -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vme=1:vpass=2 \
>     -vop scale=512:288
>
> The encoding speed was about 20fps a the quality of avi was really good.
> Now with the latest mencoder (1.0pre4) the speed is approx. 55fps and
> the quality is bad.
>
> Are there any significant changes since 1.0pre3?
> What parameters should I use now?

Don't use vme=1. The default (vme=4) is much better quality, and
usually faster.
Also, mbd=2 is always better than mbd=1 (aka vhq).

Recommended fast options: mbd=2:trell:cbp
Better, but 3x slower (and maybe tailored for my specific movie):
mbd=2:trell:cbp:qprd:v4mv:mv0:aic:cmp=2:precmp=2:subcmp=2:dia=6:predia=6\
:vmax_b_frames=1:preme=2:last_pred=3:naq:lumi_mask=0.05:dark_mask=0.01\
:vqcomp=0.7:vqblur=0.3

--Loren Merritt




More information about the MPlayer-users mailing list