[MPlayer-users] Mencoder Parameters

Jan Knutar jknutar at nic.fi
Thu Jan 22 13:58:17 CET 2004


> mencoder Dracula-2000.vob -endpos 695mb -o Dracula2000CD1.avi -oac
> mp3lame -lameopts preset=standard
> -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=2:v4mv:vbitrate=1900:vstrict=-1:vcelim=7
> vlelim=-4:lumi_mask=0.05:dark_mask=0.01:naq:aspect=2.354:vqcomp=0.8:v
>rc_eq=t ex:trell:cbp:mv0:preme=2
> -vf crop=716:362:2:56 -sws 2 -sid 1 -aid 128

IANAEE (I am not an encoding expert), but you might want to rescale 
after the crop, to make each dimension a multiple of 16.. That is,
-vf crop=716:362:2:56,scale=730:368

Another thing, why are you changing the default vrc_eq? I'm not sure if 
that's such a good idea :-) 

I imagine vcelim and vlelim might look  bad on some monitors, especially 
if you have a better one, and not one like mine where the codec could
get away with defining everything <50  as pitch black... The manpage
also warns about *_mask looking bad on some monitors... I'd try an
encode totally without those.

The important part is to use two pass encoding.

You might also try vmax_b_frames=1. I've seen that it increases PSNR 
with some source material, but decreases on other.

*puts on asbestos suit and waits for the real encoding experts to 
delurk* :)




More information about the MPlayer-users mailing list