[Ffmpeg-devel] encoding quality
Mon Mar 20 22:56:52 CET 2006
Michael Niedermayer wrote:
> On Mon, Mar 20, 2006 at 06:27:53PM +0100, Zoltan NAGY wrote:
>> hello ppl!
>> I'd like to ask your advices in an encoding matter.
>> I have several files, which I'd like to encode into flv. They're in
>> different formats,
>> but most likely wmv2 and wmv3.
>> Currently I'm using mplayer:
>> mencoder original.wmv -vf harddup -ofps 24 -oac mp3lame -ovc lavc
>> -lavcopts vcodec=ffv1:vstrict=-2 -o out.avi
>> then ffmpeg to encode this out.avi into flv:
>> ffmpeg -y -i out.avi -f flv -b 512 out_end.flv
>> but the flv's quality really sucks. If I change the bitrate to 1024 or
>> 2048 or above,
>> then it's ~fine, but the filesize gets bigger and bigger..
>> what options could I tweak? I'd like to keep my file's sizes little, but
>> I wouldnt like to
>> loss a lot quality..
> 2pass, trellis quant, 4mv, mbd=2, ...
but how could I pass these options to the flv encoder? :)
I'd be happy to read any mans, I just didnt found a really good
one explaining things :-)
More information about the ffmpeg-devel