[MEncoder-users] Mencoder params

John Doe jdmls at yahoo.com
Wed May 21 16:40:52 CEST 2008


Hi everybody,

After reading the doc and the archives, I chose these command lines:

mencoder "$INPUT" -o /dev/null -really-quiet -demuxer 35
   -of lavf -lavfopts format=flv
   -oac mp3lame -lameopts abr:br=64 -srate 44100
   -ovc lavc -lavcopts vcodec=flv:vbitrate=1000:vqscale=5:acodec=mp3:abitrate=64:mbd=0:v4mv:keyint=125:trell:autoaspect:turbo:vpass=1
   -sws 0 -vf harddup

mencoder "$INPUT" -o "$OUTPUT" -really-quiet -demuxer 35
   -of lavf -lavfopts format=flv
   -oac mp3lame -lameopts abr:br=64 -srate 44100
   -ovc lavc -lavcopts vcodec=flv:vbitrate=1000:vqscale=5:acodec=mp3:abitrate=64:mbd=2:v4mv:keyint=125:trell:autoaspect:vpass=2
   -sws 2 -vf harddup

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?
The -demuxer 35 solves many out of sync problems.  What are the side effects?  Less recognized video formats?

Thanks,
JD.


      




More information about the MEncoder-users mailing list