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

Ulrich Schweitzer us- at gmx.de
Wed Sep 29 09:41:51 CEST 2004


On Wednesday 29 September 2004 07:03, Ricardo Kleemann wrote:

> 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

In addition to what the others wrote: You are saving the output from pass 
1 here. Pass 1 is not meant to produce output video, just to analyse the 
video for the pass 2.
Change your above line (or rather an optimized version according to the 
comments from Richard and rcooley) to ... -o /dev/null and run it. This 
will produce a file called divx2pass.log. Then run your line again but 
with vpass=2 and -o file.avi. That will give you a better video quality.

Also, because of the -oac copy, the -lavcopts abitrate=32 doesn't have any 
effect. The audio stream from infile.avi will just be copied.

Ulrich
-- 
PGP key ID: 0xDF6FC4FA

"A mouse is a device used to select the xterm you want to type in."
Author unknown




More information about the MPlayer-users mailing list