[MPlayer-users] Re: tmpgenc is better!?!?!?
David Kuehling
dvdkhlng at gmx.de
Fri Apr 25 20:09:50 CEST 2003
> I made this homevideo, with a sony (digital) camera, and i captured it
> = using adobe premiere, and then i encoded it to mpeg using tmpenc. 1
> hour = and 8 minutes of film take about 700 mb. This is reasonable and
> I tried = to create divx with mencoder, but the quality is a lot
> worse. I have = played with options all week and I cannot get good
> quality divx...=20 Can anyone show me an example of what they use when
> they create divx? = I'd like to see that to work with.
If you have quality problems, you might need to apply a noise filter.
Maybe this is what adobe does by default. I usually have problems
encoding TV recordings if I don't use hqdn3d or denoise3d.
To get a guaranteed quality, I also always use explicit quantizers, eg
"vqmin=2,vqmax=4".
The following might give good results, with still some weight put on
creating small files. This was ripped from some script of mine, can't
guarantee anything..:
--------------------------------------------------------------------
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?
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
More information about the MPlayer-users
mailing list