# HG changeset patch # User rfelker # Date 1041829100 0 # Node ID 341d8083491ade7c6de530a7ac67efdeb05696d0 # Parent 74dd9b5cc7f69617a1107c60ff1ee3c95d6ff54d fix lots of stuff that was outdated, unclear, inaccurate, or misleading. hopefully no one objects to any of these changes. diff -r 74dd9b5cc7f6 -r 341d8083491a DOCS/encoding.html --- a/DOCS/encoding.html Mon Jan 06 01:12:30 2003 +0000 +++ b/DOCS/encoding.html Mon Jan 06 04:58:20 2003 +0000 @@ -15,7 +15,7 @@

For the complete list of available MEncoder options and examples, please see the man page.

-

2.4.1 Encoding 2 or 3-pass DivX4

+

2.4.1 Encoding 2 or 3-pass MPEG-4 ("DIVX")

2-pass encoding: the name comes from the fact that this method encodes the file twice. The first encoding (dubbed pass) @@ -26,8 +26,8 @@ you heard about this, you should consult some guides available on the Net.

-

This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two - commands are needed:
+

This example shows how to encode a DVD to a 2-pass MPEG-4 ("DIVX") AVI. Just + two commands are needed:
    rm frameno.avi - remove this file, which can come from a previous 3-pass encoding (it interferes with current one)
@@ -54,16 +54,16 @@

  • Second pass:

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

    -

    Alias the first pass of DivX4 video encoding. +

    This is the first pass of video encoding. Optionally specify the video bitrate MEncoder printed at the end of the previous pass.

  • Third pass:

    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 - be inserted into the destination file.. and it's all ready!

  • +

    This is the second pass of video encoding. + Specify the same bitrate as in the previous pass unless you really know + what you are doing. In this pass, audio from frameno.avi + will be inserted into the destination file.. and it's all ready!

    Example for 3-pass encoding:

    @@ -140,11 +140,13 @@
  • mjpeg - Motion JPEG
  • h263 - H263
  • h263p - H263 Plus
  • -
  • mpeg4 - DivX4
  • -
  • msmpeg4 - the old DivX
  • -
  • msmpeg4v2 - Micro$oft MPEG4 V2 (DivX alias MP43 predecessor)
  • +
  • mpeg4 - ISO standard MPEG-4 (DivX 4/5, OpenDivX, XVID compatible)
  • +
  • msmpeg4 - pre-standard MPEG-4 variant by MS, v3 (aka DivX3)
  • +
  • msmpeg4v2 - pre-standard MPEG-4 by MS, v2 (used in old asf files)
  • +
  • wmv1 - Windows Media Video, version 1 (aka WMV7)
  • rv10 - an old RealVideo codec
  • mpeg1video - MPEG1 video :)
  • +
  • huffyuv - lossless compression
  • The first column contains the codec names that should be passed after the @@ -168,9 +170,7 @@ libjpeg (when decoding PNGs, it will use libpng).

  • MEncoder then feeds the decoded image to the chosen video compressor - (DivX4, Xvid, ffmpeg msmpeg4, etc...). Watch for the PNG decoder, as - currently it can output only to RGB formats, thus can't be used with codecs - that require YUV as input, like DivX4 or ffmpeg's msmpeg4.
  • + (DivX4, Xvid, ffmpeg msmpeg4, etc...).

    Examples