# HG changeset patch # User nicolas # Date 1043877367 0 # Node ID 9141cbbc1ce085f9a39c00e26235ab4a737dae47 # Parent 62e1f7e537df58afefd9c045e00f8ece52f3faf8 renumbered sections according to TOC diff -r 62e1f7e537df -r 9141cbbc1ce0 DOCS/encoding.html --- a/DOCS/encoding.html Wed Jan 29 21:53:56 2003 +0000 +++ b/DOCS/encoding.html Wed Jan 29 21:56:07 2003 +0000 @@ -87,7 +87,7 @@ -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi

-

7.1 Encoding to MPEG format

+

7.2 Encoding to MPEG format

MEncoder can create MPEG (MPEG-PS) format output files. It's probably useful only with libavcodec's mpeg1video codec, because players @@ -106,7 +106,7 @@ -oac copy <other options> media.avi -o output.mpg

-

7.2 Rescaling movies

+

7.3 Rescaling movies

Often the need to resize movie images' size emerges. Its reasons can be many: decreasing file size, network bandwidth, etc. Most people @@ -126,7 +126,7 @@ output.avi

-

7.3 Stream copying

+

7.4 Stream copying

MEncoder can handle input streams in two ways: encode or copy them. This section is about copying.

@@ -147,7 +147,7 @@ -

7.4 Fixing AVIs with broken index or interleaving

+

7.5 Fixing AVIs with broken index or interleaving

Easiest thing. We simply copy the video and audio streams, and MEncoder generates the index. Of course this cannot fix possible bugs @@ -158,7 +158,7 @@

Command: mencoder -idx input.avi -ovc copy -oac copy -o output.avi

-

7.5 Encoding with the libavcodec codec family

+

7.6 Encoding with the libavcodec codec family

libavcodec provides simple encoding to a lot of interesting video and audio formats (currently its audio codecs are @@ -185,7 +185,7 @@ -lavcopts vcodec=mjpeg -oac copy

-

7.6 Encoding from multiple input image files (JPEGs, PNGs or TGAs)

+

7.7 Encoding from multiple input image files (JPEGs, PNGs or TGAs)

MEncoder is capable of creating movies from one or more JPEG, PNG or TGA files. With simple framecopy it can create MJPEG (Motion JPEG), MPNG @@ -231,7 +231,7 @@ -o output.avi \*.tga

-

7.7 Extracting DVD subtitles to a Vobsub file

+

7.8 Extracting DVD subtitles to a Vobsub file

MEncoder is capable of extracting subtitles from a DVD into Vobsub fomat files. They consist of a pair of files ending in @@ -272,7 +272,7 @@ -vobsuboutindex 0 -vobsuboutid fr -sid 1

-

7.8 Preserving aspect ratio

+

7.9 Preserving aspect ratio

DVDs and SVCDs (i.e. MPEG1/2) files contain an aspect ratio value, which describes how should the player scale the video stream, so humans