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>&nbsp;&nbsp;mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 71 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;mplayer -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P> 73 &nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;<CODE>mencoder [options] &lt;input file&gt; [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>&nbsp;&nbsp;</TD>
86 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
87 <I>-o</I> filename</TD>
88 <TD>&nbsp;&nbsp;</TD>
89 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
90 specify output filename
91 </TD>
92 </TR>
93 <TR>
94 <TD>&nbsp;&nbsp;</TD>
95 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
96 <I>-ovc</I> codecname</TD>
97 <TD>&nbsp;&nbsp;</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 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
101 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
102 &nbsp;&nbsp;<B>divx4</B> - encode to DivX4<BR>
103 </TD>
104 </TR>
105 <TR>
106 <TD>&nbsp;&nbsp;</TD>
107 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
108 <I>-oac</I> codecname</TD>
109 <TD>&nbsp;&nbsp;</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 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
113 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
114 &nbsp;&nbsp;<B>pcm</B> - encode to uncompressed PCM<BR>
115 &nbsp;&nbsp;<B>mp3lame</B> - encode to MP3 (using Lame)<BR>
116 </TD>
117 </TR>
118 <TR>
119 <TD>&nbsp;&nbsp;</TD>
120 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
121 <I>-divx4opts</I></TD>
122 <TD>&nbsp;&nbsp;</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 &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
126 Common options: <B>(for full list, check the manpage!)</B><BR>
127 &nbsp;&nbsp;<B>help</B> - get help<BR>
128 &nbsp;&nbsp;<B>br</B>=XXX - specify bitrate in kbit &lt;4-16000&gt; or bit &lt;16001-24000000&gt;<BR>
129 &nbsp;&nbsp;<B>q</B>=XXXX - quality (1-fastest, 5-best - default 5)<BR>
130 </TD>
131 </TR>
132 <TR>
133 <TD>&nbsp;&nbsp;</TD>
134 <TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>
135 <I>-lameopts</I></TD>
136 <TD>&nbsp;&nbsp;</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 &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR>
140 &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR>
141 Common options: <B>(for full list, check the manpage!)</B><BR>
142 &nbsp;&nbsp;<B>help</B> - get help<BR>
143 &nbsp;&nbsp;<B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR>
144 &nbsp;&nbsp;<B>br</B>=XXX - specify bitrate in kbit &lt;0-1024&gt; (this is for <B>CBR</B> only!)<BR>
145 &nbsp;&nbsp;<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