# HG changeset patch # User rfelker # Date 1036215731 0 # Node ID 533e212cd28202bb884d505c60e1c279b1d2d40f # Parent 933c769d7fd5ff0917549b5190e35c3625a0af1b document new 2pass syntax, remove/fix lots of obsolete junk in docs diff -r 933c769d7fd5 -r 533e212cd282 DOCS/encoding.html --- a/DOCS/encoding.html Sat Nov 02 04:56:48 2002 +0000 +++ b/DOCS/encoding.html Sat Nov 02 05:42:11 2002 +0000 @@ -106,9 +106,9 @@ can come from a previous 3-pass encoding (it interferes with current one)
    mencoder -dvd 2 -ovc lavc -lavcopts - vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1
+ vcodec=mpeg4:vpass=1:more_options -oac copy -o movie.avi
    mencoder -dvd 2 -ovc lavc -lavcopts - vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2

+ vcodec=mpeg4:vpass=2:more_options -oac copy -o movie.avi

3-pass encoding: this is an extension of 2-pass encoding, where the audio encoding takes place in a separate pass. This method enables @@ -126,14 +126,14 @@ prints the recommended bitrate values for 650Mb, 700Mb, and 800Mb destination sizes, after this pass finishes.

  • Second pass: -

    mencoder <file/DVD> -oac copy -pass 1 - -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>

    +

    mencoder <file/DVD> -oac copy + -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=<bitrate>

    Alias the first pass of DivX4 video encoding. Optionally specify the video bitrate MEncoder printed at the end of the previous pass.

  • Third pass: -

    mencoder <file/DVD> -oac copy -pass 2 - -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=<bitrate>

    +

    mencoder <file/DVD> -oac copy + -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=<bitrate>

    Alias the second pass of DivX4 video encoding. Optionally specify the video bitrate MEncoder printed at the end of the previous pass. In this pass, audio from frameno.avi will @@ -148,9 +148,9 @@     mencoder -dvd 2 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3:more_options
        mencoder -dvd 2 -ovc lavc - -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1
    + -lavcopts vcodec=mpeg4:vpass=1:more_options -oac copy -o movie.avi
        mencoder -dvd 2 -ovc lavc - -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2

    + -lavcopts vcodec=mpeg4:vpass=2:more_options -oac copy -o movie.avi

    2 or 3-pass encoding using internal libavcodec controller: Optionally you can use libavcodec's internal 2 or 3-pass mode, it may give @@ -159,13 +159,13 @@