Mercurial > mplayer.hg
diff DOCS/encoding.html @ 8851:636c1e894a27
Appendix B and E numbered, encoding moved to a separate section.
author | diego |
---|---|
date | Thu, 09 Jan 2003 09:37:53 +0000 |
parents | 341d8083491a |
children | f51cf48503f3 |
line wrap: on
line diff
--- a/DOCS/encoding.html Thu Jan 09 09:35:01 2003 +0000 +++ b/DOCS/encoding.html Thu Jan 09 09:37:53 2003 +0000 @@ -10,12 +10,13 @@ <BODY> -<H2><A NAME="encoding">2.4 Encoding with MEncoder</A></H2> +<H1><A NAME="encoding">7. Encoding with MEncoder</A></H1> <P>For the complete list of available MEncoder options and examples, please see the man page.</P> -<H3><A NAME="2pass">2.4.1 Encoding 2 or 3-pass MPEG-4 ("DIVX")</A></H3> + +<H2><A NAME="2pass">7.1 Encoding 2 or 3-pass MPEG-4 ("DIVX")</A></H2> <P><U><B>2-pass encoding:</B></U> the name comes from the fact that this method encodes the file <I>twice</I>. The first encoding (dubbed <I>pass</I>) @@ -78,7 +79,8 @@ mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi</CODE></P> -<H3><A NAME="rescaling">2.4.2 Rescaling movies</A></H3> + +<H2><A NAME="rescaling">7.2 Rescaling movies</A></H2> <P>Often the need to resize movie images' size emerges. Its reasons can be many: decreasing file size, network bandwidth, etc. Most people @@ -98,7 +100,7 @@ output.avi</CODE></P> -<H3><A NAME="copying">2.4.3 Stream copying</A></H3> +<H2><A NAME="copying">7.3 Stream copying</A></H2> <P>MEncoder can handle input streams in two ways: <B>encode</B> or <B>copy</B> them. This section is about <B>copying</B>.</P> @@ -119,7 +121,7 @@ </UL> -<H3><A NAME="fixing">2.4.4 Fixing AVIs with broken index or interleaving</A></H3> +<H2><A NAME="fixing">7.4 Fixing AVIs with broken index or interleaving</A></H2> <P>Easiest thing. We simply copy the video and audio streams, and MEncoder generates the index. Of course this cannot fix possible bugs @@ -130,7 +132,7 @@ <P>Command: <CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P> -<H3><A NAME="libavcodec">2.4.5 Encoding with the libavcodec codec family</A></H3> +<H2><A NAME="libavcodec">7.5 Encoding with the libavcodec codec family</A></H2> <P><A HREF="codecs.html#libavcodec">libavcodec</A> provides simple encoding to a lot of interesting video and audio formats (currently its audio codecs are @@ -157,7 +159,7 @@ -lavcopts vcodec=mjpeg -oac copy</CODE></P> -<H3><A NAME="image_files">2.4.6 Encoding from multiple input image files (JPEGs, PNGs or TGAs)</A></H3> +<H2><A NAME="image_files">7.6 Encoding from multiple input image files (JPEGs, PNGs or TGAs)</A></H2> <P>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 @@ -203,7 +205,7 @@ -o output.avi</CODE></P> -<H3><A NAME="vobsub">2.4.7 Extracting DVD subtitles to a Vobsub file</A></H3> +<H2><A NAME="vobsub">7.7 Extracting DVD subtitles to a Vobsub file</A></H2> <P>MEncoder is capable of extracting subtitles from a DVD into Vobsub fomat files. They consist of a pair of files ending in @@ -244,7 +246,7 @@ -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P> -<H3><A NAME="aspect">2.4.8 Preserving aspect ratio</A></H3> +<H2><A NAME="aspect">7.8 Preserving aspect ratio</A></H2> <P>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