[MEncoder-users] h264 3-pass mode

Grozdan Nikolov microchip at chello.be
Tue Jan 16 22:58:54 CET 2007


On Tuesday 16 January 2007 22:40, Justin Randall wrote:
> 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.
>

I see the second & third pass both have 'pass=3' is this a typo, or is this 
the correct way to do it?

I always thought it was 'pass=1' then 'pass=2' and finally 'pass=3'



More information about the MEncoder-users mailing list