Mercurial > mplayer.hg
comparison DOCS/encoding.html @ 2848:33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
author | gabucino |
---|---|
date | Sun, 11 Nov 2001 22:30:31 +0000 |
parents | 62bcea66003e |
children | 4a1802c5bbee |
comparison
equal
deleted
inserted
replaced
2847:1d92268eb8fc | 2848:33c32f3d9f1f |
---|---|
24 encoding.</LI> | 24 encoding.</LI> |
25 <LI>download and install <B>libmp3lame</B> (from lame 3.89beta or lame CVS). This | 25 <LI>download and install <B>libmp3lame</B> (from lame 3.89beta or lame CVS). This |
26 is needed for CBR/VBR MP3 audio encoding ability. Note that a single | 26 is needed for CBR/VBR MP3 audio encoding ability. Note that a single |
27 <CODE>lame</CODE> binary isn't sufficient.</LI> | 27 <CODE>lame</CODE> binary isn't sufficient.</LI> |
28 <LI>use <CODE>./configure</CODE> with optional parameters as usual, and | 28 <LI>use <CODE>./configure</CODE> with optional parameters as usual, and |
29 type : <CODE>make mencoder</CODE> . You have to install it manually for | 29 type : <CODE>make mencoder</CODE> , then <CODE>make install</CODE> . |
30 now. | |
31 </UL> | 30 </UL> |
32 </P> | 31 </P> |
33 | 32 |
34 <P>You are ready. As you probably know, other encoding tools need the | 33 <P>You are ready. As you probably know, other encoding tools need the |
35 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P> | 34 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P> |
55 <LI>even wider variety of available en/decoding formats/codecs | 54 <LI>even wider variety of available en/decoding formats/codecs |
56 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI> | 55 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI> |
57 </UL> | 56 </UL> |
58 </P> | 57 </P> |
59 | 58 |
59 <P><B><I>Encoding 2-pass DivX4</I></B></P> | |
60 | |
61 <P>The name comes from the fact that this method encodes the file <I>twice</I>. | |
62 The first encoding (dubbed <I>pass</I>) creates a temporary file with a size | |
63 of few megabytes. In the second pass, the output file is created, using the | |
64 bitrate data from the temporary file. The resulting file will have much | |
65 better image quality. If this is the first time you heard about this, you | |
66 should consult some guides available on the Net.</P> | |
67 | |
68 <P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two | |
69 commands are needed :<BR> | |
70 <CODE> mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 | |
71 -o movie.avi -pass 1<BR> | |
72 mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P> | |
73 | |
60 <P><B><I>Examples</I></B></P> | 74 <P><B><I>Examples</I></B></P> |
61 | 75 |
62 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P> | 76 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P> |
63 | 77 |
64 <P>Encoding from DVD, title 2 :<BR> | 78 <P>Encoding from DVD, title 2 :<BR> |