[MEncoder-users] Best options for H.264

Alec Robertson alecr at MIT.EDU
Thu Mar 9 17:43:12 CET 2006

> Is here anybody who have some good options for mencoder for this reason?
> Source is DV video from camera. FullPAL 720x576. I would like compress 1 
> hour video to approximately 500, 600, 700 MiB. What do You think about it?

I got the following from http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html#menc-feat-x264-example-settings. I use it to compress and deinterlace ntsc-dv. For my movies, 3min compresses to 30Mb, just reduce the bitrate= number to get a smaller filesize.

mencoder mymovie.dv -vfm ffmpeg -noskip -mc 0 -aspect 4:3 -passlogfile mymovie.log -ovc x264 -x264encopts pass=1:turbo=2:bframes=3 -oac pcm -o /dev/null
mencoder mymovie.dv -vfm ffmpeg -noskip -mc 0 -aspect 4:3 -passlogfile mymovie.log -ovc x264 -x264encopts pass=2:turbo=0:bframes=3:bitrate=1200:subq=6:4x4mv:8x8dct:me=3:frameref=5:b_pyramid:weight_b -oac mp3lame -lameopts abr:br=128 -vf pp=ci,harddup -o mymovie.mov


More information about the MEncoder-users mailing list