[MPlayer-users] best parameters to encode for 200kbps?

D Richard Felker III dalias at aerifal.cx
Wed Sep 29 07:34:40 CEST 2004


On Tue, Sep 28, 2004 at 10:03:53PM -0700, Ricardo Kleemann wrote:
> Hi,
> 
> I'm trying to find the best combination of options, to encode with lavc
> for 200kbps, at 352x240 (quarter ntsc).
> 
> I've tried several combinations, but still get very blocky output. I
> imagined that lavc with mpeg4 would produce very good quality at 200k.
> 
> My current settings are (please correct me if I'm misusing anything)
> 
> mencoder -oac copy -ovc lavc -lavcopts
> abitrate=32:vcodec=mpeg4:vbitrate=200:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:
> autoaspect:vpass=1 -vf hqdn3d,decimate,scale=352:240,pp=de/fq/tn:1:2:3
> infile.avi -o outfile.mp4

whatever you do, NEVER use the tn filter of pp! it adds blocking and
does nothing useful. also, any postprocessing of that sort (the stuff
included in de) must be done first, before any other filters. and also
never use de, because it includes the al (autolevels) filter which
hurts quality a lot. try this:

-vf pp=ac,hqdn3d,scale=352:240,decimate

also mencoder only writes avi files (and mpeg1/2 files with -of mpeg),
never mp4! so naming your output file .mp4 is nonsense.

rich




More information about the MPlayer-users mailing list