[MEncoder-users] Fast FLV encoding options

Rich Felker dalias at aerifal.cx
Sat Oct 6 07:37:36 CEST 2007


On Fri, Oct 05, 2007 at 09:54:34PM -0700, RC wrote:
> On Fri, 05 Oct 2007 17:21:34 -0500
> James Hastings-Trew <jimht at shaw.ca> wrote:
> 
> > I find the basic encoding options embodied in the following command
> > line  work well for one pass encodes as a fairly good clip on my
> > machine:
> > 
> > mencoder INPUT -o OUTPUT -of avi -ffourcc DIVX -oac mp3lame -lameopts 
> > br=160:cbr:mode=0
> > -ovc lavc -lavcopts 
> > vcodec=mpeg4:mbd=2:trell=yes:vbitrate=1600:vrc_maxrate=5000:vrc_buf_s
> > ize=1835:threads=THREADS
> 
> I really wouldn't recomend using a bitrate with single-pass encoding. 
> Using a vqscale setting ensures that a complex scene won't turn the
> video into a mess of artifacts.

vqscale will end up wasting lots of bits on complex scenes and
producing a bitstream that requires way too much cpu power to decode.
Reasonable bitrate constraints can give acceptable results in
single-pass. The problem is what happens if you don't have proper
constraints and a long complex scene eats all the bits, then lavc
makes subsequent simple scenes look like crap trying to recover from
its excessive bit usage...

Rich



More information about the MEncoder-users mailing list