comparison DOCS/encoding.html @ 6974:916f62dd0910

Another big batch of cosmetics *only*. 2 character indentation everywhere, 2 blank lines before new sections. The docs should now have a nice and uniform look.
author diego
date Sun, 11 Aug 2002 18:27:38 +0000
parents 87deea511b1f
children 83a386e88f9e
comparison
equal deleted inserted replaced
6973:8cc27ab533b2 6974:916f62dd0910
9 9
10 <BODY> 10 <BODY>
11 11
12 12
13 <P><B><A NAME="encoding">2.4 Encoding with MEncoder</A></B></P> 13 <P><B><A NAME="encoding">2.4 Encoding with MEncoder</A></B></P>
14
14 15
15 <P><B><A NAME="overview">2.4.1 Overview</A></B></P> 16 <P><B><A NAME="overview">2.4.1 Overview</A></B></P>
16 17
17 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder, 18 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder,
18 designed to encode MPlayer-playable movies 19 designed to encode MPlayer-playable movies
19 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) to other 20 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) to other
20 MPlayer-playable formats (see below). It can encode with various codecs, like 21 MPlayer-playable formats (see below). It can encode with various codecs, like
21 <B>DivX4</B> (1 or 2 passes), libavcodec, 22 <B>DivX4</B> (1 or 2 passes), libavcodec,
22 <B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B> audio. Also has powerful plugin system 23 <B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B> audio. Also has powerful plugin system
23 for video manipulation.</P> 24 for video manipulation.</P>
25
24 26
25 <P><B><A NAME="compilation">2.4.2 Compilation</A></B></P> 27 <P><B><A NAME="compilation">2.4.2 Compilation</A></B></P>
26 28
27 <UL> 29 <UL>
28 <LI><B>OPTIONAL</B> - read <B>MPlayer</B>'s compilation instruction.</LI> 30 <LI><B>OPTIONAL</B> - read <B>MPlayer</B>'s compilation instruction.</LI>
53 </UL> 55 </UL>
54 56
55 <P>You are ready. As you probably know, other encoding tools need the 57 <P>You are ready. As you probably know, other encoding tools need the
56 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P> 58 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P>
57 59
60
58 <P><B><A NAME="features">2.4.3 MEncoder features</A></B></P> 61 <P><B><A NAME="features">2.4.3 MEncoder features</A></B></P>
59 62
60 <UL> 63 <UL>
61 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI> 64 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI>
62 <LI>encoding to all the codecs of ffmpeg's 65 <LI>encoding to all the codecs of ffmpeg's
84 <LI>even wider variety of available en/decoding formats/codecs 87 <LI>even wider variety of available en/decoding formats/codecs
85 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI> 88 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI>
86 <LI>audio encoding from v4l (DONE for FreeBSD ?)</LI> 89 <LI>audio encoding from v4l (DONE for FreeBSD ?)</LI>
87 </UL> 90 </UL>
88 91
92
89 <P><B><A NAME="2pass">2.4.3.1 Encoding 2 or 3-pass DivX4</A></B></P> 93 <P><B><A NAME="2pass">2.4.3.1 Encoding 2 or 3-pass DivX4</A></B></P>
90 94
91 <P><U><B>2-pass encoding:</B></U> the name comes from the fact that this method 95 <P><U><B>2-pass encoding:</B></U> the name comes from the fact that this method
92 encodes the file <I>twice</I>. The first encoding (dubbed <I>pass</I>) 96 encodes the file <I>twice</I>. The first encoding (dubbed <I>pass</I>)
93 creates some temporary files (*.log) with a size of few megabytes, do not 97 creates some temporary files (*.log) with a size of few megabytes, do not
111 where the audio encoding takes place in a separate pass. This method enables 115 where the audio encoding takes place in a separate pass. This method enables
112 estimation of recommended video bitrate in order to fit on a CD. Also, the 116 estimation of recommended video bitrate in order to fit on a CD. Also, the
113 audio is encoded only once, unlike in 2-pass mode. The schematics:</P> 117 audio is encoded only once, unlike in 2-pass mode. The schematics:</P>
114 118
115 <TABLE> 119 <TABLE>
116 <TR> 120 <TR>
117 <TD> <CODE>rm frameno.avi</CODE></TD> 121 <TD><CODE>rm frameno.avi</CODE></TD>
118 <TD> <B>remove conflicting temporary file</B></TD> 122 <TD><B>remove conflicting temporary file</B></TD>
119 </TR> 123 </TR>
120 <TR> 124 <TR>
121 <TD> <CODE>mencoder &lt;file/DVD&gt; -ovc frameno -o 125 <TD><CODE>mencoder &lt;file/DVD&gt; -ovc frameno -o
122 frameno.avi</CODE></TD> 126 frameno.avi</CODE></TD>
123 <TD> <B><U>First pass:</U> an audio-only avi file will be created, containing 127 <TD><B><U>First pass:</U> an audio-only avi file will be created, containing
124 ONLY the requested audio stream. Don't forget <CODE>-lameopts</CODE>, if 128 ONLY the requested audio stream. Don't forget <CODE>-lameopts</CODE>, if
125 you need to set it. If you were encoding a long movie, MEncoder prints 129 you need to set it. If you were encoding a long movie, MEncoder prints
126 the recommended bitrate values for 650Mb, 700Mb, and 800Mb destination 130 the recommended bitrate values for 650Mb, 700Mb, and 800Mb destination
127 sizes, after this pass finishes.</B></TD> 131 sizes, after this pass finishes.</B></TD>
128 </TR> 132 </TR>
129 <TR> 133 <TR>
130 <TD> <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 1 134 <TD><CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 1
131 -ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></TD> 135 -ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
132 <TD> <B><U>Second pass:</U> alias the first pass of DivX4 video encoding. 136 <TD><B><U>Second pass:</U> alias the first pass of DivX4 video encoding.
133 Optionally specify the video bitrate MEncoder printed at the end of the 137 Optionally specify the video bitrate MEncoder printed at the end of the
134 previous pass.</B></TD> 138 previous pass.</B></TD>
135 </TR> 139 </TR>
136 <TR> 140 <TR>
137 <TD> <CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 2 141 <TD><CODE>mencoder &lt;file/DVD&gt; -oac copy -pass 2
138 -ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></TD> 142 -ovc divx4 -divx4opts br=&lt;bitrate&gt;</CODE></TD>
139 <TD> <B><U>Third pass:</U> alias the second pass of DivX4 video encoding. 143 <TD><B><U>Third pass:</U> alias the second pass of DivX4 video encoding.
140 Optionally specify the video bitrate MEncoder printed at the end of the 144 Optionally specify the video bitrate MEncoder printed at the end of the
141 previous pass. In this pass, audio from <CODE>frameno.avi</CODE> will be 145 previous pass. In this pass, audio from <CODE>frameno.avi</CODE> will be
142 inserted into the destination file.. and it's all ready!</B></TD> 146 inserted into the destination file.. and it's all ready!</B></TD>
143 </TR> 147 </TR>
144 </TABLE> 148 </TABLE>
145 149
146 <P><B>Example for 3-pass encoding:</B></P> 150 <P><B>Example for 3-pass encoding:</B></P>
147 151
148 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file, 152 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file,
151 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno 155 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
152 -o frameno.avi<BR> 156 -o frameno.avi<BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 157 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
154 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR> 158 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 159 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
156 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE> 160 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE></P>
157 </P>
158 161
159 <P><U><B>2 or 3-pass encoding using internal libavcodec controller:</B></U> 162 <P><U><B>2 or 3-pass encoding using internal libavcodec controller:</B></U>
160 Optionally you can use libavcodec's internal 2 or 3-pass mode, it may give 163 Optionally you can use libavcodec's internal 2 or 3-pass mode, it may give
161 you better final rate accuracy than using the external, DivX4-inspired 2-pass 164 you better final rate accuracy than using the external, DivX4-inspired 2-pass
162 rate controler with libavcodec.</P> 165 rate controler with libavcodec.</P>
175 movie.avi<BR> 178 movie.avi<BR>
176 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o 179 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o
177 movie.avi</CODE></LI> 180 movie.avi</CODE></LI>
178 </UL> 181 </UL>
179 182
183
180 <P><B><A NAME="rescaling">2.4.3.2 Rescaling movies</A></B></P> 184 <P><B><A NAME="rescaling">2.4.3.2 Rescaling movies</A></B></P>
181 185
182 <P>Often the need to resize movie images' size emerges. Its reasons can be many, 186 <P>Often the need to resize movie images' size emerges. Its reasons can be many,
183 examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs 187 examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs
184 are mostly rescaled, for example a 4:3 DVD should be 640x480, especially 188 are mostly rescaled, for example a 4:3 DVD should be 640x480, especially
263 (Motion PNG) files.</P> 267 (Motion PNG) files.</P>
264 268
265 <P><B>Explanation of the process</B></P> 269 <P><B>Explanation of the process</B></P>
266 270
267 <P><B>MEncoder</B> <I>decodes</I> the input image(s) with <CODE>libjpeg</CODE> 271 <P><B>MEncoder</B> <I>decodes</I> the input image(s) with <CODE>libjpeg</CODE>
268 (when decoding PNGs, it will use <B>libpng</B>). 272 (when decoding PNGs, it will use <B>libpng</B>).</P>
269 </P>
270 273
271 <P><B>MEncoder</B> then feeds the decoded image to the chosen video compressor 274 <P><B>MEncoder</B> then feeds the decoded image to the chosen video compressor
272 (DivX4, Xvid, ffmpeg msmpeg4, etc...). Watch for the PNG decoder, as 275 (DivX4, Xvid, ffmpeg msmpeg4, etc...). Watch for the PNG decoder, as
273 currently it can output only to RGB formats, thus can't be used with codecs 276 currently it can output only to RGB formats, thus can't be used with codecs
274 that require YUV as input, like DivX4 or ffmpeg's msmpeg4.</P> 277 that require YUV as input, like DivX4 or ffmpeg's msmpeg4.</P>
347 350
348 <P><B><A NAME="options">2.4.5 Available options</A></B></P> 351 <P><B><A NAME="options">2.4.5 Available options</A></B></P>
349 352
350 <P>NOTE: for all available options, <B>read the man page!</B></P> 353 <P>NOTE: for all available options, <B>read the man page!</B></P>
351 354
352 <P> 355 <P>As <B>MEncoder</B> is built on the same codebase as <B>MPlayer</B>, there
353 As <B>MEncoder</B> is built on the same codebase as <B>MPlayer</B>, there
354 are many <B>MPlayer</B> options that have function in <B>MEncoder</B> too! 356 are many <B>MPlayer</B> options that have function in <B>MEncoder</B> too!
355 See, you can use <CODE>-sid</CODE> to rip a DVD with subtitles, or 357 See, you can use <CODE>-sid</CODE> to rip a DVD with subtitles, or
356 <CODE>-noidx</CODE> to disregard buggy index of input AVI. <B>Be smart!</B> 358 <CODE>-noidx</CODE> to disregard buggy index of input AVI. <B>Be smart!</B></P>
357 </P>
358 359
359 <TABLE BORDER=1> 360 <TABLE BORDER=1>
360 <TR> 361 <TR>
361 <TD> <CODE>-ss</CODE> time</TD> 362 <TD><CODE>-ss</CODE> time</TD>
362 <TD> start encoding from the given time (can start only from keyframes!) 363 <TD>start encoding from the given time (can start only from keyframes!)
363 </TD> 364 </TD>
364 </TR> 365 </TR>
365 <TR> 366 <TR>
366 <TD> <CODE>-endpos</CODE> time</TD> 367 <TD><CODE>-endpos</CODE> time</TD>
367 <TD> stop encoding at the given time. See the man page for examples! 368 <TD>stop encoding at the given time. See the man page for examples!
368 </TD> 369 </TD>
369 </TR> 370 </TR>
370 <TR> 371 <TR>
371 <TD> <CODE>-o</CODE> filename</TD> 372 <TD><CODE>-o</CODE> filename</TD>
372 <TD> specify output filename 373 <TD>specify output filename
373 </TD> 374 </TD>
374 </TR> 375 </TR>
375 <TR> 376 <TR>
376 <TD> <CODE>-sws</CODE> 0-2</TD> 377 <TD><CODE>-sws</CODE> 0-2</TD>
377 <TD> type of scaling method<BR> 378 <TD>type of scaling method<BR>
378 &nbsp;&nbsp;0 - fast bilinear<BR> 379 &nbsp;&nbsp;0 - fast bilinear<BR>
379 &nbsp;&nbsp;1 - bilinear<BR> 380 &nbsp;&nbsp;1 - bilinear<BR>
380 &nbsp;&nbsp;2 - bicubic (best quality)<BR> 381 &nbsp;&nbsp;2 - bicubic (best quality)<BR>
381 </TD> 382 </TD>
382 </TR> 383 </TR>
383 <TR> 384 <TR>
384 <TD> <CODE>-ovc</CODE> codecname</TD> 385 <TD><CODE>-ovc</CODE> codecname</TD>
385 <TD> Encode with the given codec (codec names are from codecs.conf). Examples:<BR> 386 <TD>Encode with the given codec (codec names are from codecs.conf). Examples:<BR>
386 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR> 387 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
387 &nbsp;&nbsp;<B>rawrgb</B> - ?<BR> 388 &nbsp;&nbsp;<B>rawrgb</B> - ?<BR>
388 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> 389 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
389 &nbsp;&nbsp;<B>divx4</B> - encode to DivX4<BR> 390 &nbsp;&nbsp;<B>divx4</B> - encode to DivX4<BR>
390 &nbsp;&nbsp;<B>lavc</B> - encode with a codec from libavcodec<BR> 391 &nbsp;&nbsp;<B>lavc</B> - encode with a codec from libavcodec<BR>
391 &nbsp;&nbsp;<B>vfw</B> - encode with a Windows DLL<BR> 392 &nbsp;&nbsp;<B>vfw</B> - encode with a Windows DLL<BR>
392 </TD> 393 </TD>
393 </TR> 394 </TR>
394 <TR> 395 <TR>
395 <TD> <CODE>-oac</CODE> codecname</TD> 396 <TD><CODE>-oac</CODE> codecname</TD>
396 <TD> Encode with the given codec (codec names are from codecs.conf). Examples:<BR> 397 <TD>Encode with the given codec (codec names are from codecs.conf). Examples:<BR>
397 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR> 398 &nbsp;&nbsp;<B>help</B> - get list of available codecs<BR>
398 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR> 399 &nbsp;&nbsp;<B>copy</B> - no encoding, just copy the stream (only from AVI/ASF now)<BR>
399 &nbsp;&nbsp;<B>pcm</B> - encode to uncompressed PCM<BR> 400 &nbsp;&nbsp;<B>pcm</B> - encode to uncompressed PCM<BR>
400 &nbsp;&nbsp;<B>mp3lame</B> - encode to MP3 (using Lame)<BR> 401 &nbsp;&nbsp;<B>mp3lame</B> - encode to MP3 (using Lame)<BR>
401 </TD> 402 </TD>
402 </TR> 403 </TR>
403 <TR> 404 <TR>
404 <TD> <CODE>-mf</CODE> multifile options</TD> 405 <TD><CODE>-mf</CODE> multifile options</TD>
405 <TD> Used when encoding from multiple JPEG files. Its sub-options are:<BR> 406 <TD>Used when encoding from multiple JPEG files. Its sub-options are:<BR>
406 &nbsp;&nbsp;<B>on</B> - turns on multifile support<BR> 407 &nbsp;&nbsp;<B>on</B> - turns on multifile support<BR>
407 &nbsp;&nbsp;<B>w</B>=&lt;value&gt; - width of the output file<BR> 408 &nbsp;&nbsp;<B>w</B>=&lt;value&gt; - width of the output file<BR>
408 &nbsp;&nbsp;<B>h</B>=&lt;value&gt; - height of the output file<BR> 409 &nbsp;&nbsp;<B>h</B>=&lt;value&gt; - height of the output file<BR>
409 &nbsp;&nbsp;<B>fps</B>=&lt;value&gt; - fps of the output file<BR> 410 &nbsp;&nbsp;<B>fps</B>=&lt;value&gt; - fps of the output file<BR>
410 &nbsp;&nbsp;<B>type</B>=&lt;value&gt; - type of input files (available types: <CODE>jpeg</CODE>, <CODE>png</CODE>)<BR> 411 &nbsp;&nbsp;<B>type</B>=&lt;value&gt; - type of input files (available types:
411 </TD> 412 <CODE>jpeg</CODE>, <CODE>png</CODE>)<BR>
412 </TR> 413 </TD>
413 414 </TR>
414 <TR> 415
415 <TD> <CODE>-divx4opts</CODE></TD> 416 <TR>
416 <TD> If encoding to DivX4, you can specify its parameters here, like:<BR> 417 <TD><CODE>-divx4opts</CODE></TD>
417 &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR> 418 <TD>If encoding to DivX4, you can specify its parameters here, like:<BR>
418 Common options: <B>(for full list, check the man page!)</B><BR> 419 &nbsp;&nbsp;<CODE>-divx4opts br=1800:deinterlace:key=250</CODE><BR>
419 &nbsp;&nbsp;<B>help</B> - get help<BR> 420 Common options: <B>(for full list, check the man page!)</B><BR>
420 &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt; or bit &lt;16001-24000000&gt;<BR> 421 &nbsp;&nbsp;<B>help</B> - get help<BR>
421 &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (1-fastest, 5-best - default 5)<BR> 422 &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt;
422 &nbsp;&nbsp;<B>key</B>=&lt;value&gt; - keyframe interval<BR> 423 or bit &lt;16001-24000000&gt;<BR>
423 </TD> 424 &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (1-fastest, 5-best - default 5)<BR>
424 </TR> 425 &nbsp;&nbsp;<B>key</B>=&lt;value&gt; - keyframe interval<BR>
425 <TR> 426 </TD>
426 <TD> <CODE>-lavcopts</CODE></TD> 427 </TR>
427 <TD> If encoding with libavcodec, you can specify its parameters here, like:<BR> 428 <TR>
428 &nbsp;&nbsp;<CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR> 429 <TD><CODE>-lavcopts</CODE></TD>
429 Common options: <B>(for full list, check the man page!)</B><BR> 430 <TD>If encoding with libavcodec, you can specify its parameters here, like:<BR>
430 &nbsp;&nbsp;<B>help</B> - get help<BR> 431 &nbsp;&nbsp;<CODE>-lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250</CODE><BR>
431 &nbsp;&nbsp;<B>vcodec</B>=&lt;value&gt; - select videocodec (for the full list, see the libavcodec section above)<BR> 432 Common options: <B>(for full list, check the man page!)</B><BR>
432 &nbsp;&nbsp;<B>vbitrate</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt; or bit &lt;16001-24000000&gt;<BR> 433 &nbsp;&nbsp;<B>help</B> - get help<BR>
433 &nbsp;&nbsp;<B>vhq</B> - high quality<BR> 434 &nbsp;&nbsp;<B>vcodec</B>=&lt;value&gt; - select videocodec (for the full list, see the libavcodec section above)<BR>
434 &nbsp;&nbsp;<B>keyint</B>=&lt;value&gt; - keyframe interval<BR> 435 &nbsp;&nbsp;<B>vbitrate</B>=&lt;value&gt; - specify bitrate in kbit &lt;4-16000&gt; or bit &lt;16001-24000000&gt;<BR>
435 </TD> 436 &nbsp;&nbsp;<B>vhq</B> - high quality<BR>
436 </TR> 437 &nbsp;&nbsp;<B>keyint</B>=&lt;value&gt; - keyframe interval<BR>
437 <TR> 438 </TD>
438 <TD> <CODE>-lameopts</CODE></TD> 439 </TR>
439 <TD> If encoding to MP3 with libmp3lame, you can specify its parameters here, like:<BR> 440 <TR>
440 &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR> 441 <TD><CODE>-lameopts</CODE></TD>
441 &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR> 442 <TD>If encoding to MP3 with libmp3lame, you can specify its parameters here, like:<BR>
442 Common options: <B>(for full list, check the man page!)</B><BR> 443 &nbsp;&nbsp;<CODE>-lameopts q=3</CODE><BR>
443 &nbsp;&nbsp;<B>help</B> - get help<BR> 444 &nbsp;&nbsp;<CODE>-lameopts br=192:cbr</CODE><BR>
444 &nbsp;&nbsp;<B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR> 445 Common options: <B>(for full list, check the man page!)</B><BR>
445 &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;0-1024&gt; (this is for <B>CBR</B> only!)<BR> 446 &nbsp;&nbsp;<B>help</B> - get help<BR>
446 &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR> 447 &nbsp;&nbsp;<B>cbr</B> - select <B>CBR</B> MP3 (default is <B>VBR</B>)<BR>
447 &nbsp;&nbsp;<B>vbr</B>=&lt;value&gt; - VBR sub-mode (3-ABR, best quality/speed) (this is for <B>VBR</B> only!)<BR> 448 &nbsp;&nbsp;<B>br</B>=&lt;value&gt; - specify bitrate in kbit &lt;0-1024&gt; (this is for <B>CBR</B> only!)<BR>
448 </TD> 449 &nbsp;&nbsp;<B>q</B>=&lt;value&gt; - quality (0-highest, 9-fastest - default 0) (this is for <B>VBR</B> only!)<BR>
449 </TR> 450 &nbsp;&nbsp;<B>vbr</B>=&lt;value&gt; - VBR sub-mode (3-ABR, best quality/speed) (this is for <B>VBR</B> only!)<BR>
450 <TR> 451 </TD>
451 <TD> <CODE>-vobsubout</CODE> basename</TD> 452 </TR>
452 <TD> Specify the basename for the output <CODE>.idx</CODE> and <CODE>.sub</CODE> files. This turns off subtitle rendering on the encoded movie.</TD> 453 <TR>
453 </TR> 454 <TD><CODE>-vobsubout</CODE> basename</TD>
454 <TR> 455 <TD>Specify the basename for the output <CODE>.idx</CODE> and <CODE>.sub</CODE>
455 <TD> <CODE>-vobsuboutindex</CODE> index</TD> 456 files. This turns off subtitle rendering on the encoded movie.</TD>
456 <TD> Specify the index of the subtitles in the output files. Defaults to 0.</TD> 457 </TR>
457 </TR> 458 <TR>
458 <TR> 459 <TD><CODE>-vobsuboutindex</CODE> index</TD>
459 <TD> <CODE>-vobsuboutid</CODE> langid</TD> 460 <TD>Specify the index of the subtitles in the output files. Defaults to 0.</TD>
460 <TD> Specify the language two letter code for the subtitles. This overrides what is read from the DVD or the <CODE>.ifo</CODE> file.</TD> 461 </TR>
461 </TR> 462 <TR>
463 <TD><CODE>-vobsuboutid</CODE> langid</TD>
464 <TD>Specify the language two letter code for the subtitles. This overrides
465 what is read from the DVD or the <CODE>.ifo</CODE> file.</TD>
466 </TR>
462 </TABLE> 467 </TABLE>
463 468
464 <P><B><A NAME="examples">2.4.6 Examples</A></B></P> 469 <P><B><A NAME="examples">2.4.6 Examples</A></B></P>
465 470
466 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following:</P> 471 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following:</P>