[MEncoder-users] Mencoder params

Guillaume POIRIER poirierg at gmail.com
Wed May 21 17:04:47 CEST 2008


Hello,

On 5/21/08, John Doe <jdmls at yahoo.com> wrote:

>  And, for a mp4 version:
>
>  mencoder "$INPUT" -o /dev/null -really-quiet -demuxer 35
>    -of lavf -lavfopts format=mp4
>    -oac faac -faacopts mpeg=4:object=2:raw:br=96 -srate 44100
>    -ovc x264 -x264encopts bitrate=2000:vqscale=5:me=dia:keyint=125:trellis=1:global_header:turbo=1:pass=1
>    -sws 0 -vf harddup
>
>  mencoder "$INPUT" -o "$OUTPUT" -really-quiet -demuxer 35
>    -of lavf -lavfopts format=mp4
>    -oac faac -faacopts mpeg=4:object=2:raw:br=96 -srate 44100
>    -ovc x264 -x264encopts bitrate=2000:vqscale=5:me=umh:keyint=125:trellis=1:global_header:pass=2
>    -sws 2 -vf harddup
>
>  I am trying to balance quality and size.
>  Do you see any problem?  Something illogical?

Well, there's already suggested "encoding profiles" here:
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html#menc-feat-x264-example-settings

Also, you shouldn't have to manually change the "me=" option between
1st and 2nd pass, "turbo" option already takes care of that.

Guillaume
-- 
I don't measure a man's success by how high he climbs but how high he
bounces when he hits bottom.
 -- George S. Patton



More information about the MEncoder-users mailing list