Mercurial > mplayer.hg
comparison DOCS/encoding.html @ 2868:4a1802c5bbee
*** empty log message ***
author | gabucino |
---|---|
date | Tue, 13 Nov 2001 17:11:26 +0000 |
parents | 33c32f3d9f1f |
children | 632032ff27bf |
comparison
equal
deleted
inserted
replaced
2867:a9a63f7e9ddc | 2868:4a1802c5bbee |
---|---|
33 <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 |
34 <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> |
35 | 35 |
36 <P><B><I>MEncoder features</I></B> : | 36 <P><B><I>MEncoder features</I></B> : |
37 <UL> | 37 <UL> |
38 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B> | 38 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI> |
39 <LI>encoding from <B>V4L compatible TV tuners</B></LI> | |
39 <LI>encoding/multiplexing to interleaved AVI files with proper index</LI> | 40 <LI>encoding/multiplexing to interleaved AVI files with proper index</LI> |
40 <LI>1 or 2 pass <B>DivX4</B> video</LI> | 41 <LI>1 or 2 pass <B>DivX4</B> video</LI> |
41 <LI><B>VBR</B> MP3 audio</LI> | 42 <LI><B>VBR</B> MP3 audio</LI> |
42 <LI>PCM audio</LI> | 43 <LI>PCM audio</LI> |
43 <LI>stream copying (only from AVI/ASF now, and CBR audio only)</LI> | 44 <LI>stream copying (only from AVI/ASF now, and CBR audio only)</LI> |
65 better image quality. If this is the first time you heard about this, you | 66 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 should consult some guides available on the Net.</P> |
67 | 68 |
68 <P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two | 69 <P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two |
69 commands are needed :<BR> | 70 commands are needed :<BR> |
70 <CODE> mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 | 71 <CODE> mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 |
71 -o movie.avi -pass 1<BR> | 72 -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 mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P> |
74 | |
75 <P><B><I>Syntax</I></B></P> | |
76 | |
77 <P> <CODE>mencoder [options] <input file> [options] ...</P> | |
78 | |
79 <P><B><I>Available options</I></B></P> | |
80 | |
81 <P>NOTE : for all available options, <B>read the manpage !</B></P> | |
82 | |
83 <TABLE BORDER=0> | |
84 <TR> | |
85 <TD> </TD> | |
86 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
87 <I>-o</I> filename</TD> | |
88 <TD> </TD> | |
89 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
90 specify output filename | |
91 </TD> | |
92 </TR> | |
93 <TR> | |
94 <TD> </TD> | |
95 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
96 <I>-ovc</I> codecname</TD> | |
97 <TD> </TD> | |
98 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
99 Encode with the given codec (codec names are from codecs.conf). Examples:<BR> | |
100 <B>help</B> - get list of available codecs<BR> | |
101 <B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> | |
102 <B>divx4</B> - encode to DivX4<BR> | |
103 </TD> | |
104 </TR> | |
105 <TR> | |
106 <TD> </TD> | |
107 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
108 <I>-oac</I> codecname</TD> | |
109 <TD> </TD> | |
110 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
111 Encode with the given codec (codec names are from codecs.conf). Examples:<BR> | |
112 <B>help</B> - get list of available codecs<BR> | |
113 <B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> | |
114 <B>pcm</B> - encode to uncompressed PCM<BR> | |
115 <B>mp3lame</B> - encode to MP3 (using Lame)<BR> | |
116 </TD> | |
117 </TR> | |
118 <TR> | |
119 <TD> </TD> | |
120 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
121 <I>-divx4opts</I></TD> | |
122 <TD> </TD> | |
123 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
124 If encoding to DivX4, you can specify its parameters here, like:<BR> | |
125 <CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR> | |
126 Common options: <B>(for full list, check the manpage!)</B><BR> | |
127 <B>help</B> - get help<BR> | |
128 <B>br</B>=XXX - specify bitrate in kbit <4-16000> or bit <16001-24000000><BR> | |
129 <B>q</B>=XXXX - quality (1-fastest, 5-best - default 5)<BR> | |
130 </TD> | |
131 </TR> | |
132 <TR> | |
133 <TD> </TD> | |
134 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
135 <I>-lameopts</I></TD> | |
136 <TD> </TD> | |
137 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2> | |
138 If encoding to MP3 with libmp3lame, you can specify its parameters here, like:<BR> | |
139 <CODE>-lameopts q=3</CODE><BR> | |
140 <CODE>-lameopts br=192:cbr</CODE><BR> | |
141 Common options: <B>(for full list, check the manpage!)</B><BR> | |
142 <B>help</B> - get help<BR> | |
143 <B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR> | |
144 <B>br</B>=XXX - specify bitrate in kbit <0-1024> (this is for <B>CBR</B> only!)<BR> | |
145 <B>q</B>=XXXX - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR> | |
146 </TD> | |
147 </TR> | |
148 </TABLE> | |
73 | 149 |
74 <P><B><I>Examples</I></B></P> | 150 <P><B><I>Examples</I></B></P> |
75 | 151 |
76 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P> | 152 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P> |
77 | 153 |