[MEncoder-users] h264 3-pass mode

Justin Randall jrrandall at gmail.com
Tue Jan 16 22:40:49 CET 2007


It's in the docs, and it's up to your personal preferences and which
H.264 profile you want to encode to. i.e. Baseline, Extened, or Main,
etc. I recommend reading up on what H.264 can do and decide what you
want it to do. http://en.wikipedia.org/wiki/H.264.  For starters on
three pass encoding (highly unnessary IMHO, two-pass is just fine) I
would use these settings. It's all up to you and what you want to do
though.

>: mencoder test.avi -ovc x64 -x264encopts
pass=1:qp_constant=15:fullinter:cabac:deblock:subq=4:keyint=300: \
scenecut=45:frameref=8:deblockalpha=1:deblockbeta=0 \
-nosound -of avi -o /dev/null
>: mencoder test.avi -ovc x64 -x264encopts
pass=3:bitrate=1200:qp_min=15:qp_max=51:qcomp=0.8:rc_buffer_size=700:
\
fullinter:cabac:deblock:subq=4:keyint=300:scenecut=45:frameref=8: \
deblockalpha=1:deblockbeta=0  -nosound -of avi -o threepass.avi
>: mencoder test.avi -ovc x64 -x264encopts
pass=3:bitrate=1200:qp_min=15:qp_max=51:qcomp=0.8:rc_buffer_size=700:
\
fullinter:cabac:deblock:subq=4:keyint=300:scenecut=45:frameref=8: \
deblockalpha=1:deblockbeta=0  -nosound -of avi -o threepass.avi

Again, these settings are there for YOU to choose, so do some research
and decide what is best for you. Good luck.

Justin

On 1/16/07, Igor Nikanov <goga777 at front.ru> wrote:
> > > #3 happens simultaniously
> > > 2 pass encoding is the same
> >
> > Thanks, so I won't have to encode the movie four times, only 3 :)
>
> could you write the mencoder's commands and options for best quality coding to h264
>
> Igor
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



More information about the MEncoder-users mailing list