[MPlayer-users] Re: tmpgenc is better!?!?!?

Wendy Tromp wendy at snuffel.net
Sat Apr 26 11:19:26 CEST 2003

> --------------------------------------------------------------------
> vbitrate=1200
> sharpness=20
> vqmin=2
> vqmax=4
> vbitrate=820
> denoise="10:8:8"
> cropw=688
> croph=534
> scalew=688
> scaleh=400
> mp3bitrate=128
> mp3accel=0
> lavcopts="vcodec=mpeg4:vbitrate=${vbitrate}:vhq:v4mv:vmax_b_frames=2"
> lavcopts="$lavcopts:vb_strategy=1:vqmin=${vqmin}:vqmax=${vqmax}"
> lavcopts="$lavcopts:vlelim=-4:vcelim=3:lumi_mask=0.05:dark_mask=0.1"
> lavcopts="$lavcopts:scplx_mask=0.02:tcplx_mask=0.05:naq:qpel"
> filters="hqdn3d=${denoise}"
> filters="$filters,scale=${scalew}:${scaleh}:0:${sharpness}"
> filters="$filters,crop=${cropw}:${croph}"
> lameopts="cbr:br=${mp3bitrate}:aq=${mp3accel}"
> mencoder -ovc lavc -oac mp3lame \
>     -lameopts "$lameopts" -lavcopts "$lavcopts" \
>     -vop $filters -sws 7 -o $outputfile $inputfile
> --------------------------------------------------------------------
> If you still have problems with quality, switch b-frames off, make
> vlelim and vcelim closer to zero.  Did you have a look at
> DOCS/tech/encoding-tips.txt?

yes I read that, and for as far as I can see it is only about the options
under Encoding.
The parameters above arereally helpful, and with these I can encode a minute
in around 18 mb. I'd like to see it a bit smaller because my videos are 1
hour and i want to fit one hour of video on one cd. I played with scalew and
scaleh and that affects the size, but it seems to me that vbitrate has no
onfluence at all.
If i am correct, during encoding you can see the bitrate for video and
sound, and for the sound it is 128 all the time but the bitrate for the
video is around 4000, even though it is specified at 820 above. Why is that?
I tried to change it to a very low value (20) and it had no influence
Are there other parameters that I can vary to change the size of the encoded

Wendy Tromp
> David Kühling
> --
> GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
> Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

More information about the MPlayer-users mailing list