comparison DOCS/encoding.html @ 6960:87deea511b1f

continuing paragraph reformatting
author gabucino
date Sat, 10 Aug 2002 20:26:43 +0000
parents 3274d0725fde
children 916f62dd0910
comparison
equal deleted inserted replaced
6959:f7d8c02536e4 6960:87deea511b1f
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 <P><B><A NAME="overview">2.4.1 Overview</A></B></P> 15 <P><B><A NAME="overview">2.4.1 Overview</A></B></P>
16 16
17 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder, 17 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder,
18 designed to encode MPlayer-playable movies 18 designed to encode MPlayer-playable movies
19 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) to other MPlayer-playable 19 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET</B>) to other
20 formats (see below). It can encode with various codecs, like <B>DivX4</B> (1 or 20 MPlayer-playable formats (see below). It can encode with various codecs, like
21 2 passes), libavcodec, <B>PCM</B>/<B>MP3</B>/<B>VBRMP3</B> audio. Also has 21 <B>DivX4</B> (1 or 2 passes), libavcodec,
22 powerful plugin system for video manipulation.</P> 22 <B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B> audio. Also has powerful plugin system
23 for video manipulation.</P>
23 24
24 <P><B><A NAME="compilation">2.4.2 Compilation</A></B></P> 25 <P><B><A NAME="compilation">2.4.2 Compilation</A></B></P>
25 26
26 <UL> 27 <UL>
27 <LI><B>OPTIONAL</B> - read <B>MPlayer</B>'s compilation instruction.</LI> 28 <LI><B>OPTIONAL</B> - read <B>MPlayer</B>'s compilation instruction.</LI>
50 as described in the <A HREF="documentation.html#installation">Installation</A> 51 as described in the <A HREF="documentation.html#installation">Installation</A>
51 section</LI> 52 section</LI>
52 </UL> 53 </UL>
53 54
54 <P>You are ready. As you probably know, other encoding tools need the 55 <P>You are ready. As you probably know, other encoding tools need the
55 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P> 56 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P>
56 57
57 <P><B><A NAME="features">2.4.3 MEncoder features</A></B></P> 58 <P><B><A NAME="features">2.4.3 MEncoder features</A></B></P>
58 59
59 <UL> 60 <UL>
60 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI> 61 <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI>
69 <B>MEncoder</B>'s CBR encoding is totally broken on win32 players :)</LI> 70 <B>MEncoder</B>'s CBR encoding is totally broken on win32 players :)</LI>
70 <LI>PCM audio</LI> 71 <LI>PCM audio</LI>
71 <LI>stream copying</LI> 72 <LI>stream copying</LI>
72 <LI>input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)</LI> 73 <LI>input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)</LI>
73 <LI>FPS correction with <CODE>-ofps</CODE> option (useful when encoding 74 <LI>FPS correction with <CODE>-ofps</CODE> option (useful when encoding
74 29.97fps VOB to 24fps AVI)</LI> 75 29.97fps VOB to 24fps AVI)</LI>
75 <LI>using our very powerful plugin system (crop, expand, flip, postprocess, 76 <LI>using our very powerful plugin system (crop, expand, flip, postprocess,
76 rotate, scale, rgb/yuv conversion)</LI> 77 rotate, scale, rgb/yuv conversion)</LI>
77 <LI>can encode DVD/VOBsub <B>AND</B> text subtitles into the output file</LI> 78 <LI>can encode DVD/VOBsub <B>AND</B> text subtitles into the output file</LI>
78 <LI>can rip DVD subtitles to Vobsub format</LI> 79 <LI>can rip DVD subtitles to Vobsub format</LI>
79 </UL> 80 </UL>
80 81
81 <B>Planned features:</B> 82 <B>Planned features:</B>
82 <UL> 83 <UL>
83 <LI>even wider variety of available en/decoding formats/codecs 84 <LI>even wider variety of available en/decoding formats/codecs
84 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI> 85 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI>
85 <LI>audio encoding from v4l (DONE for FreeBSD ?)</LI> 86 <LI>audio encoding from v4l (DONE for FreeBSD ?)</LI>
86 </UL> 87 </UL>
87 88
88 <P><B><A NAME="2pass">2.4.3.1 Encoding 2 or 3-pass DivX4</A></B></P> 89 <P><B><A NAME="2pass">2.4.3.1 Encoding 2 or 3-pass DivX4</A></B></P>
89 90
90 <P><U><B>2-pass encoding:</B></U> the name comes from the fact that this method encodes the file <I>twice</I>. 91 <P><U><B>2-pass encoding:</B></U> the name comes from the fact that this method
91 The first encoding (dubbed <I>pass</I>) creates some temporary files (*.log) with a 92 encodes the file <I>twice</I>. The first encoding (dubbed <I>pass</I>)
92 size of few megabytes, do not delete them yet (you can delete the AVI). In the second pass, the 93 creates some temporary files (*.log) with a size of few megabytes, do not
93 2-pass output file is created, using the bitrate data from the temporary files. The resulting 94 delete them yet (you can delete the AVI). In the second pass, the 2-pass
94 file will have much better image quality. If this is the first time you heard 95 output file is created, using the bitrate data from the temporary files. The
95 about this, you should consult some guides available on the Net.</P> 96 resulting file will have much better image quality. If this is the first time
97 you heard about this, you should consult some guides available on the
98 Net.</P>
96 99
97 <P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two 100 <P>This example shows how to encode a DVD to a 2-pass DivX4 AVI. Just two
98 commands are needed:<BR> 101 commands are needed:<BR>
99 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file, which 102 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file, which
100 can come from a previous 3-pass encoding (it interferes with current one)<BR> 103 can come from a previous 3-pass encoding (it interferes with current
101 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options 104 one)<BR>
102 -o movie.avi -pass 1<BR> 105 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts
103 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o movie.avi -pass 2</CODE></P> 106 -vcodec=mpeg4:more_options -o movie.avi -pass 1<BR>
107 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options
108 -o movie.avi -pass 2</CODE></P>
104 109
105 <P><U><B>3-pass encoding:</B></U> this is an extension of 2-pass encoding, 110 <P><U><B>3-pass encoding:</B></U> this is an extension of 2-pass encoding,
106 where the audio encoding takes place in a separate pass. This method enables 111 where the audio encoding takes place in a separate pass. This method enables
107 estimation of recommended video bitrate in order to fit on a CD. Also, the 112 estimation of recommended video bitrate in order to fit on a CD. Also, the
108 audio is encoded only once, unlike in 2-pass mode. The schematics:</P> 113 audio is encoded only once, unlike in 2-pass mode. The schematics:</P>
141 <P><B>Example for 3-pass encoding:</B></P> 146 <P><B>Example for 3-pass encoding:</B></P>
142 147
143 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file, 148 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - remove this file,
144 which can come from a previous 3-pass encoding (it interferes with current 149 which can come from a previous 3-pass encoding (it interferes with current
145 one)<BR> 150 one)<BR>
146 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno 151 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
147 -o frameno.avi</CODE><BR> 152 -o frameno.avi<BR>
148 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 153 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
149 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR> 154 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 155 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2
151 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE> 156 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE>
152 </P> 157 </P>
153 158
154 <P><U><B>2 or 3-pass encoding using internal libavcodec controller:</B></U> 159 <P><U><B>2 or 3-pass encoding using internal libavcodec controller:</B></U>
155 Optionally you can use libavcodec's internal 2 or 3-pass mode, it may gives you 160 Optionally you can use libavcodec's internal 2 or 3-pass mode, it may give
156 better final rate accuracy than using the external, DivX4-inspired 2-pass rate 161 you better final rate accuracy than using the external, DivX4-inspired 2-pass
157 controler with libavcodec.</P> 162 rate controler with libavcodec.</P>
158 163
159 <UL> 164 <UL>
160 <LI><B>2-pass encoding:</B><BR> 165 <LI><B>2-pass encoding:</B><BR>
161 <CODE>rm -f lavc_stats.txt<BR> 166 <CODE>rm -f lavc_stats.txt<BR>
162 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (audio-options) -o movie.avi<BR> 167 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 (audio-options) -o
163 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (audio-options) -o movie.avi</CODE></LI> 168 movie.avi<BR>
164 <LI><B>3-pass encoding:</B><BR> 169 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 (audio-options) -o
165 <CODE>rm -f frameno.avi lavc_stats.txt<BR> 170 movie.avi</CODE></LI>
166 mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi<BR> 171 <LI><B>3-pass encoding:</B><BR>
167 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o movie.avi<BR> 172 <CODE>rm -f frameno.avi lavc_stats.txt<BR>
168 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi</CODE></LI> 173 mencoder -dvd 2 -ovc frameno (audio-options) -o frameno.avi<BR>
174 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o
175 movie.avi<BR>
176 mencoder -dvd 2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o
177 movie.avi</CODE></LI>
169 </UL> 178 </UL>
170 179
171 <P><B><A NAME="rescaling">2.4.3.2 Rescaling movies</A></B></P> 180 <P><B><A NAME="rescaling">2.4.3.2 Rescaling movies</A></B></P>
172 181
173 <P>Often the need to resize movie images' size emerges. Its reasons can be many, 182 <P>Often the need to resize movie images' size emerges. Its reasons can be many,
183 <CODE>-vop scale=X:Y</CODE>. Its quality can be set with the 192 <CODE>-vop scale=X:Y</CODE>. Its quality can be set with the
184 <CODE>-sws</CODE> option. If it's not specified, <B>MEncoder</B> will use 0: 193 <CODE>-sws</CODE> option. If it's not specified, <B>MEncoder</B> will use 0:
185 fast bilinear.</P> 194 fast bilinear.</P>
186 195
187 <P>Usage:<BR> 196 <P>Usage:<BR>
188 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder sample-svcd.mpg -lavcopts vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o output.avi</CODE></P> 197 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder sample-svcd.mpg -lavcopts
198 vcodec=mpeg4:more_options -vop scale=640:480 -sws 2 -o
199 output.avi</CODE></P>
189 200
190 201
191 <P><B><A NAME="copying">2.4.3.3 Stream copying</A></B></P> 202 <P><B><A NAME="copying">2.4.3.3 Stream copying</A></B></P>
192 203
193 <P><B>MEncoder</B> can handle input streams in two ways: <B>encode</B> or 204 <P><B>MEncoder</B> can handle input streams in two ways: <B>encode</B> or
194 <B>copy</B> them. This section is about <B>copying</B>.</P> 205 <B>copy</B> them. This section is about <B>copying</B>.</P>
195 206
196 <UL> 207 <UL>
197 <LI><B>Video stream</B> (option <CODE>-ovc copy</CODE>): nice stuff can be done :)<BR> 208 <LI><B>Video stream</B> (option <CODE>-ovc copy</CODE>): nice stuff can be
198 Like, putting (not converting!) FLI or VIVO or MPEG1 video into an AVI file! 209 done :)<BR>
199 Of course only <B>MPlayer</B> can play such files :) And it probably has no 210 Like, putting (not converting!) FLI or VIVO or MPEG1 video into
200 real life value at all. Rationally: video stream copying can be useful for 211 an AVI file! Of course only <B>MPlayer</B> can play such files :) And it
201 example when only the audio stream has to be encoded (like, uncompressed PCM 212 probably has no real life value at all. Rationally: video stream copying
202 to MP3).</LI> 213 can be useful for example when only the audio stream has to be encoded
214 (like, uncompressed PCM to MP3).</LI>
203 215
204 <LI><B>Audio stream</B> (option <CODE>-oac copy</CODE>): straightforward. 216 <LI><B>Audio stream</B> (option <CODE>-oac copy</CODE>): straightforward.
205 It is possible to take an external audio file (MP3, AC3, Vorbis) and mux it 217 It is possible to take an external audio file (MP3, Vorbis) and mux it
206 into the output stream. Use the <CODE>-audiofile &lt;filename&gt;</CODE> 218 into the output stream. Use the <CODE>-audiofile &lt;filename&gt;</CODE>
207 option for this.</LI> 219 option for this.</LI>
208 </UL> 220 </UL>
209 221
210 222
211 <P><B><A NAME="fixing">2.4.3.4 Fixing AVIs with broken index or interleaving</A></B></P> 223 <P><B><A NAME="fixing">2.4.3.4 Fixing AVIs with broken index or interleaving</A></B></P>
212 224
213 <P>Easiest thing. We simply copy the video and audio streams, and 225 <P>Easiest thing. We simply copy the video and audio streams, and
214 <B>MEncoder</B> generates the index. Of course this cannot fix possible bugs in 226 <B>MEncoder</B> generates the index. Of course this cannot fix possible bugs
215 the video and/or audio streams. It also fixes files with broken interleaving, 227 in the video and/or audio streams. It also fixes files with broken
216 thus the <CODE>-ni</CODE> option won't be needed for them anymore.</P> 228 interleaving, thus the <CODE>-ni</CODE> option won't be needed for them
229 anymore.</P>
217 230
218 <P>Command: <CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P> 231 <P>Command: <CODE>mencoder -idx input.avi -ovc copy -oac copy -o output.avi</CODE></P>
219 232
220 233
221 <P><B><A NAME="libavcodec">2.4.3.5 Encoding with the libavcodec codec family</A></B></P> 234 <P><B><A NAME="libavcodec">2.4.3.5 Encoding with the libavcodec codec family</A></B></P>
222 235
223 <P><A HREF="codecs.html#libavcodec">libavcodec</A> provides simple encoding to a 236 <P><A HREF="codecs.html#libavcodec">libavcodec</A> provides simple encoding to a
224 lot of interesting video and audio formats (currently its audio codecs are 237 lot of interesting video and audio formats (currently its audio codecs are
225 unsupported). You can encode to the following codecs:</P> 238 unsupported). You can encode to the following codecs:</P>
226 239
227 <UL> 240 <UL>
228 <LI>mjpeg - Motion JPEG</LI> 241 <LI>mjpeg - Motion JPEG</LI>
229 <LI>h263 - H263</LI> 242 <LI>h263 - H263</LI>
230 <LI>h263p - H263 Plus</LI> 243 <LI>h263p - H263 Plus</LI>
237 250
238 <P>The first column contains the codec names that should be passed after the 251 <P>The first column contains the codec names that should be passed after the
239 <CODE>vcodec</CODE> config, like: <CODE>-lavcopts vcodec=msmpeg4</CODE></P> 252 <CODE>vcodec</CODE> config, like: <CODE>-lavcopts vcodec=msmpeg4</CODE></P>
240 253
241 <P>An example, with MJPEG compression:<BR> 254 <P>An example, with MJPEG compression:<BR>
242 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg</CODE></P> 255 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi -ovc lavc
256 -lavcopts vcodec=mjpeg</CODE></P>
243 257
244 258
245 <P><B><A NAME="image_files">2.4.3.6 Encoding from multiple input image files (JPEGs or PNGs)</A></B></P> 259 <P><B><A NAME="image_files">2.4.3.6 Encoding from multiple input image files (JPEGs or PNGs)</A></B></P>
246 260
247 <P><B>MEncoder</B> is capable of creating movies from one or more JPEG or PNG 261 <P><B>MEncoder</B> is capable of creating movies from one or more JPEG or PNG
286 300
287 301
288 <P><B><A NAME="vobsub">2.4.3.7 Extracting DVD subtitles to Vobsub file</A></B></P> 302 <P><B><A NAME="vobsub">2.4.3.7 Extracting DVD subtitles to Vobsub file</A></B></P>
289 303
290 <P><B>MEncoder</B> is capable of extracting subtitles from a DVD into 304 <P><B>MEncoder</B> is capable of extracting subtitles from a DVD into
291 Vobsub fomat files. They consist of a pair of files ending in <CODE>.idx</CODE> 305 Vobsub fomat files. They consist of a pair of files ending in
292 and <CODE>.sub</CODE> and are usually packaged in a single <CODE>.rar</CODE> 306 <CODE>.idx</CODE> and <CODE>.sub</CODE> and are usually packaged in a single
293 archive. <B>MPlayer</B> can play these with the <CODE>-vobsub</CODE> and 307 <CODE>.rar</CODE> archive. <B>MPlayer</B> can play these with the
294 <CODE>-vobsubid</CODE> options.</P> 308 <CODE>-vobsub</CODE> and <CODE>-vobsubid</CODE> options.</P>
295 309
296 <P>You specify the basename (i.e without the <CODE>.idx</CODE> or 310 <P>You specify the basename (i.e without the <CODE>.idx</CODE> or
297 <CODE>.sub</CODE> extension) of the output files with <CODE>-vobsubout</CODE> 311 <CODE>.sub</CODE> extension) of the output files with <CODE>-vobsubout</CODE>
298 and the index for this subtitle in the resulting files with 312 and the index for this subtitle in the resulting files with
299 <CODE>-vobsuboutindex</CODE>.</P> 313 <CODE>-vobsuboutindex</CODE>.</P>
300 314
301 <P>If the input is not from a DVD you should use <CODE>-ifo</CODE> to 315 <P>If the input is not from a DVD you should use <CODE>-ifo</CODE> to
302 indicate the <CODE>.ifo</CODE> file needed to construct the resulting 316 indicate the <CODE>.ifo</CODE> file needed to construct the resulting
303 <CODE>.idx</CODE> file.</P> 317 <CODE>.idx</CODE> file.</P>
304 318
305 <P>If the input is not from a DVD and you do not have the <CODE>.ifo</CODE> file 319 <P>If the input is not from a DVD and you do not have the <CODE>.ifo</CODE>
306 you will need to use the <CODE>-vobsubid</CODE> option to let it know what 320 file you will need to use the <CODE>-vobsubid</CODE> option to let it know
307 language id to put in the <CODE>.idx</CODE> file.</P> 321 what language id to put in the <CODE>.idx</CODE> file.</P>
308 322
309 <P>Each run will append the running subtitle if the <CODE>.idx</CODE> and 323 <P>Each run will append the running subtitle if the <CODE>.idx</CODE> and
310 <CODE>.sub</CODE> files already exist. So you should remove any before starting.</P> 324 <CODE>.sub</CODE> files already exist. So you should remove any before
325 starting.</P>
311 326
312 <P><B>Examples</B></P> 327 <P><B>Examples</B></P>
313 328
314 <P><I>Copying two subtitles from a DVD while doing 3-pass encoding</I><BR> 329 <P><I>Copying two subtitles from a DVD while doing 3-pass encoding</I><BR>
315 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR> 330 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
316 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0 -sid 2 -o frameno.avi -ovc frameno</CODE><BR> 331 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -vobsubout subtitles -vobsuboutindex 0
317 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 1</CODE><BR> 332 -sid 2 -o frameno.avi -ovc frameno</CODE><BR>
318 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 2 -vobsubout subtitles -vobsuboutindex 1 -sid 5</CODE></P> 333 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 1</CODE><BR>
334 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -pass 2 -vobsubout
335 subtitles -vobsuboutindex 1 -sid 5</CODE></P>
319 336
320 <P><I>Copying a french subtitle from an MPEG file</I><BR> 337 <P><I>Copying a french subtitle from an MPEG file</I><BR>
321 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR> 338 &nbsp;&nbsp;<CODE>rm subtitles.idx subtitles.sub</CODE><BR>
322 &nbsp;&nbsp;<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P> 339 &nbsp;&nbsp;<CODE>mencoder movie.mpg -ifo movie.ifo -vobsubout subtitles
340 -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
323 341
324 342
325 <P><B><A NAME="syntax">2.4.4 Syntax</A></B></P> 343 <P><B><A NAME="syntax">2.4.4 Syntax</A></B></P>
326 344
327 <P>&nbsp;&nbsp;<CODE>mencoder [options] [input file] [options] ...</CODE></P> 345 <P>&nbsp;&nbsp;<CODE>mencoder [options] [input file] [options] ...</CODE></P>
466 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;cat *.vob | mencoder &lt;options&gt; -</CODE></P> 484 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;cat *.vob | mencoder &lt;options&gt; -</CODE></P>
467 485
468 <P>Encoding from tuner (for tuner options <A HREF="documentation.html#tv">see the TV input section!</A>):<BR> 486 <P>Encoding from tuner (for tuner options <A HREF="documentation.html#tv">see the TV input section!</A>):<BR>
469 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -tv on:driver=v4l:width=640:height=480 &lt;options&gt;</CODE></P> 487 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -tv on:driver=v4l:width=640:height=480 &lt;options&gt;</CODE></P>
470 488
471 <P>For all available options, <B>check the MEncoder man page!</B> 489 <P>For all available options, <B>check the MEncoder man page!</B></P>
472 <P>
473 490
474 </BODY> 491 </BODY>
475 </HTML> 492 </HTML>