[MEncoder-users] Compressing the photo camera Canon A610 video to mpeg4 at the best quality.

Lennart Börjeson Lennart.Borjeson at cinnober.com
Fri Sep 15 11:51:21 CEST 2006


You should consider using multipass encoding (and upgrade). Take a look at 
http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-mpeg4.

As you can guess from the examples, the current state-of-the-art encoder is 
considered to be "lavc" which is a wrapper around the excellent and versatile 
codecs from the ffmpeg project.

Personally, I use variants of this script:

OPTS="-oac lavc -ovc lavc -ffourcc XVID"
AOPT="acodec=mp3:abitrate=128"
VOPT="vcodec=mpeg4:vbitrate=795:autoaspect=yes:v4mv=yes:trell=yes:mbd=2"
for V in 1:turbo 2
  mencoder $OPTS -lavcopts $AOPT:$VOPT:vpass=$V -o out.avi in.avi
done



If you really want to try to exercise your CPU, try changing the "for" 
statement to:

for V in 1:turbo 3 3:qns=3



-- 
!++
! Lennart Börjeson
! Partner, Developer
! Cinnober Financial Technology AB
! Industrigatan 2A
! S-112 46  STOCKHOLM
! Sverige/Sweden/Schweden/Suède
! mailto:Lennart.Borjeson at cinnober.com
! phone:+46-8-50304717
! gsm:+46-70-3394717
! fax:+46-8-50304701
! http://www.cinnober.com
!--



More information about the MEncoder-users mailing list