Mercurial > mplayer.hg
annotate DOCS/mencoder.1 @ 5213:b40644bb0e61
oh yeah, this is it...MPlayer now has 4-bit MS RLE support...I think
MPlayer is basically complete now...:)
author | melanson |
---|---|
date | Wed, 20 Mar 2002 05:09:38 +0000 |
parents | d127ec93d5d1 |
children | ec38c17b5f74 |
rev | line source |
---|---|
3953 | 1 .\" MEncoder (C) 2000-2002 Arpad Gereoffy <sendmail@to.mplayer-users> |
2602 | 2 .\" This manpage was/is done by Gabucino |
2597 | 3 .\" |
4776
47f0a86e8b8e
man2html compatibility (patch by Goetz Waschk <waschk@informatik.uni-rostock.de>)
gabucino
parents:
4709
diff
changeset
|
4 .TH MEncoder 1 |
2597 | 5 .SH NAME |
6 mencoder \- Movie Encoder for Linux | |
7 .SH SYNOPSIS | |
8 .B mencoder | |
2602 | 9 .RB [ \-vcd\ <track\ number> ] |
10 .RB [ \-dvd\ <titleid> ] | |
11 .RB [ \-chapter\ <chapterid> ] | |
12 .RB [ \-dvdangle\ <angleid> ] | |
13 .RB [ \-dvdkey\ <key> ] | |
14 .RB [ \-nobps ] | |
15 .RB [ \-aid\ <id> ] | |
16 .RB [ \-vid\ <id> ] | |
17 .RB [ \-pp\ <quality> ] | |
18 .RB [ \-vc\ <video\ codec\ name> ] | |
19 .RB [ \-ac\ <audio\ codec\ name> ] | |
20 .RB [ \-vfm\ <video\ codec\ family> ] | |
21 .RB [ \-afm\ <audio\ codec\ family> ] | |
2630 | 22 .RB [ \-include\ <configfile> ] |
2674 | 23 .RB [ \-mc\ seconds/5f ] |
2602 | 24 .RB [ \-v ] |
25 .RB [ \-mp3file\ <filename> ] | |
26 .RB [ \-ac3file\ <filename> ] | |
27 .RB [ \-ovc\ <video\ codec\ name> ] | |
28 .RB [ \-oac\ <audio\ codec\ name> ] | |
5188 | 29 .RB [ \-nosound ] |
4919 | 30 .RB [ \-mf\ <multifile\ options> ] |
2628 | 31 .RB [ \-divx4opts\ <codec\ options> ] |
3721 | 32 .RB [ \-lavcopts\ <codec\ options> ] |
2628 | 33 .RB [ \-lameopts\ <codec\ options> ] |
2602 | 34 .RB [ \-pass\ <1/2> ] |
3423 | 35 .RB [ \-passlogfile\ <filename> ] |
2603 | 36 .RB [ \-ofps\ <fps> ] |
37 .RB [ \-o\ <filename> ] | |
2664 | 38 .RB [ \-frames\ <number> ] |
3277 | 39 .RB [ \-x\ <rescale\ width> ] |
40 .RB [ \-y\ <rescale\ height> ] | |
41 .RB [ \-sws\ <0-2> ] | |
3774 | 42 .RB [ \-ffourcc\ fourcc ] |
4709 | 43 .RB [ \-ss\ <time> ] |
44 .RB [ \-endpos\ <time> ] | |
4992 | 45 .RB [ \-audiofile\ <file\ name> ] |
4919 | 46 .I - or file or files specified with escaped wildcard or device |
2597 | 47 .PP |
48 .SH DESCRIPTION | |
49 .I mencoder | |
2868 | 50 MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, designed to |
51 encode MPlayer-playable movies (AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET) to other | |
52 MPlayer-playable formats (see below). Currently it's in beta stage, and encodes | |
53 only to DivX4 (1 or 2 passes) video, PCM/MP3/VBRMP3 audio. Also has stream | |
54 copying abilities. In the future, there will be cropping, resizing filters, and | |
55 other interesting stuff. | |
2597 | 56 .LP |
57 .SH "GENERAL OPTIONS" | |
58 .TP | |
59 .I NOTE | |
2602 | 60 Every "flag" option has "noflag" pair, e.g. -flag opposite is -noflag |
61 .TP | |
2868 | 62 .I NOTE |
63 CHECK THE HTML DOCUMENTATION TOO ! | |
64 .TP | |
4680 | 65 .I NOTE |
66 As MEncoder uses the same 'libmpdemux' as MPlayer, their options are | |
67 _sometimes the same_ ! So although for example the -sid option isn't | |
68 mentioned here, you can use it in MEncoder too! (for encoding DVD with | |
69 subtitles) | |
70 .TP | |
2602 | 71 .B \-vcd <track number> |
72 Encode the specified VCD track. | |
2597 | 73 .TP |
2602 | 74 .B \-dvd <title number> |
75 Encode the specified DVD title. | |
76 .TP | |
77 .B \-chapter <chapter id> | |
78 Use with -dvd option (see above). Start encoding at the specified chapter. | |
2597 | 79 .TP |
2602 | 80 .B \-dvdangle <angle id> |
81 Use with -dvd option (see above), and if the DVD disc has multiple angles. | |
82 It will encode the angle specified here. | |
83 .TP | |
84 .B \-dvdkey <key> | |
85 Used to decrypt CSS-encrypted streams on hard disk (with given CSS decrypt | |
86 key). | |
2597 | 87 .TP |
2602 | 88 .B \-nobps |
2907 | 89 Used only for AVIs. Doesn't use the bps value in the AVI header, instead |
90 calculates it. | |
2602 | 91 .TP |
92 .B \-aid <audio stream id> | |
2907 | 93 If the source media contains multiple audio streams (for example DVDs), encode |
2602 | 94 the specified one. |
2597 | 95 .TP |
2602 | 96 .B \-vid <video stream id> |
2907 | 97 If the source media contains multiple video streams, encode the specified one. |
2602 | 98 .TP |
99 .B \-pp <value> | |
4364 | 100 See man mplayer. |
2597 | 101 .TP |
2602 | 102 .B \-vc <codec name> |
103 Use specified codec (according to codecs.conf) for decoding input video | |
104 stream. | |
105 .TP | |
106 .B \-ac <codec name> | |
107 Use specified codec (according to codecs.conf) for decoding input audio | |
108 stream. | |
2597 | 109 .TP |
2666 | 110 .B \-vfm <video codec family> |
111 Force decoding by using a specific codec FAMILY, and FALLBACK to default | |
112 if failed. For examples see MPlayer manpage. | |
2602 | 113 .TP |
2666 | 114 .B \-afm <audio codec family> |
115 Force decoding by using a specific codec FAMILY, and FALLBACK to default | |
116 if failed. For examples see MPlayer manpage. | |
2597 | 117 .TP |
2628 | 118 .B \-include |
2674 | 119 specify config file to be parsed after the default |
120 .TP | |
121 .B \-mc\ seconds/5frame | |
122 maximum sync correction per 5 frames (in seconds). | |
123 Use -mc 0 to disable input A/V sync. | |
2628 | 124 .TP |
125 .B \-v | |
126 Increase verbosity. | |
127 .TP | |
2666 | 128 .B \-ovc <codecname> |
129 Encode with the given codec (codec names are from codecs.conf). | |
130 Examples: | |
131 | |
132 -ovc help get help | |
133 -ovc copy no encoding, just streamcopy | |
134 -ovc divx4 encode to DivX4 | |
3774 | 135 -ovc lavc encode with a libavcodec codec |
2666 | 136 .TP |
137 .B \-oac <codecname> | |
138 Encode with the given codec (codec names are from codecs.conf). | |
139 Examples: | |
140 | |
141 -oac help get help | |
142 -oac copy no encoding, just streamcopy | |
143 -oac pcm encode to uncompressed PCM | |
144 -oac mp3lame encode to MP3 (using Lame) | |
145 .TP | |
5188 | 146 .B \-nosound |
147 Encode only video, no audio stream. | |
148 .TP | |
4992 | 149 .B \-audiofile <file name> |
150 Copy audio from external file. | |
151 .TP | |
4919 | 152 .B \-mf <multifile options> |
153 Used when encoding from multiple JPEG files. | |
154 Its sub-options are: | |
155 | |
156 on turns on multifile support | |
157 w=<value> width of the output file | |
158 h=<value> height of the output file | |
159 fps=<value> fps of the output file | |
160 type=<value> type of input files (jpeg, png) | |
161 .TP | |
2628 | 162 .B \-divx4opts |
163 If encoding to DivX4, you can specify its parameters here, like: | |
164 | |
2630 | 165 -divx4opts br=1800:deinterlace:key=250 |
2628 | 166 |
167 Available options: | |
168 | |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2729
diff
changeset
|
169 help get help |
2631 | 170 br=XXX specify bitrate in |
171 kbit <4-16000> or | |
172 bit <16001-24000000> | |
173 key=XXX maximum keyframe interval | |
174 (in frames) | |
175 deinterlace enable deinterlacing | |
2855 | 176 (don't use, DivX4 is buggy!) |
2631 | 177 q=XXXX quality (1-fastest, 5-best) |
178 min_quant=XXX minimum quantizer (0-32) | |
179 max_quant=XXX maximum quantizer (0-32) | |
180 rc_period=XXX rate control period | |
181 rc_reaction_period=XXX rate control | |
182 reaction period | |
183 rc_reaction_ratio=XXX rate control | |
184 reaction ratio | |
2628 | 185 |
186 .TP | |
3721 | 187 .B \-lavcopts |
188 If encoding with a codec from libavcodec, you can specify its parameters here, | |
189 like: | |
190 | |
191 -lavcopts vcodec=msmpeg4:vbitrate=1800:vhq:keyint=250 | |
192 | |
193 Available options: | |
194 | |
195 help get help | |
196 vcodec=XXX use the specified codec | |
197 (for full list, see html doc!) | |
198 vbitrate=XXX specify bitrate in | |
199 kbit <4-16000> or | |
200 bit <16001-24000000> | |
201 keyint=XXX interval between keyframes | |
202 (specify in frames) | |
203 vhq very high quality | |
4339 | 204 vme=XXX motion estimation method |
3721 | 205 .TP |
2628 | 206 .B \-lameopts |
207 If encoding to MP3 with libmp3lame, you can specify its parameters here, like: | |
208 | |
2729 | 209 -lameopts br=192 |
2628 | 210 |
211 Available options: | |
212 | |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2729
diff
changeset
|
213 help get help |
2631 | 214 br=XXX specify bitrate in |
215 kbit <0-1024> | |
2868 | 216 (only for CBR) |
2664 | 217 q=XXX Quality |
218 (0-highest, 9-fastest) | |
2868 | 219 (for VBR) |
2631 | 220 vbr=XXX variable bitrate method |
221 0=cbr | |
222 1=mt | |
223 2=rh(default) | |
224 3=abr | |
225 4=mtrh | |
226 cbr constant bitrate | |
227 mode=XXX 0=stereo | |
228 1=joint-stereo | |
229 2=dualchannel | |
230 3=mono | |
231 (default: auto) | |
232 padding=XXX 0=no | |
233 1=all | |
234 2=adjust | |
235 ratio=XXX compression ratio <1-100> | |
2628 | 236 |
237 .TP | |
2664 | 238 .B \-pass <1/2> |
239 With this you can encode 2pass DivX4 files. First encode with -pass 1, then | |
240 with the same parameters, encode with -pass 2. | |
241 .TP | |
3423 | 242 .B \-passlogfile <filename> |
243 When encoding in 2pass mode, MEncoder dumps first pass' informations | |
244 to the given file instead of the default divx2pass.log . | |
245 .TP | |
2664 | 246 .B \-ofps <fps> |
247 The output file will have different frame/sec than the source. | |
248 .TP | |
2673 | 249 .B \-o <filename> |
250 Outputs to the given filename, instead of the default 'test.avi' . | |
251 .TP | |
2664 | 252 .B \-frames <number> |
253 Encode only given number of frames. | |
3277 | 254 .TP |
4709 | 255 .B \-ss <time> |
256 seek to given time position. For example : | |
257 | |
258 -ss 56 seeks to 56 seconds | |
259 -ss 01:10:00 seeks to 1 hour 10 min | |
260 | |
261 Can start only from keyframes ! | |
262 .TP | |
263 .B \-endpos <time> | |
264 stop encoding at given time. Can be specified in many was : | |
265 | |
266 -endpos 56 encode only 56 seconds | |
267 -endpos 01:10:00 encode only 1 hours | |
268 | |
269 Can be used in conjuction with -ss ! | |
270 .TP | |
3277 | 271 .B \-x <rescale width> |
272 Rescale output movie to given pixels wide. | |
273 .TP | |
274 .B \-y <rescale height> | |
275 Rescale output movie to given pixels tall. | |
276 .TP | |
4339 | 277 .B \-sws <0-2> |
3277 | 278 Type of scaling method |
279 | |
3721 | 280 0 fast bilinear (default) |
3277 | 281 1 bilinear |
282 2 bicubic (best quality) | |
3774 | 283 .TP |
284 .B \-ffourcc fourcc | |
285 Can be used to force the video fourcc of the output file. For example -ffourcc | |
286 div3 will have the output file contain "div3" as video fourcc. | |
287 .IP | |
2602 | 288 .SH FILES AND DIRECTORIES |
289 .IP | |
290 .SH "EXAMPLES" | |
2664 | 291 .B Encoding DVD title #2 |
292 mencoder -dvd 2 -o title2.avi | |
293 .TP | |
4398 | 294 .B Encoding DVD title #2, only selected chapters |
295 mencoder -dvd 2 -chapter 10-15 -o title2.avi | |
296 .TP | |
3721 | 297 .B The same, but with libavcodec family, MJPEG compression |
298 mencoder -dvd 2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg | |
299 .TP | |
2664 | 300 .B Encoding from HTTP |
301 mencoder http://mplayer.hq/example.avi -o example.avi | |
302 .TP | |
2874
632032ff27bf
patch applied from Colin Marquardt <colin@marquardt-home.de>
gabucino
parents:
2868
diff
changeset
|
303 .B Encoding from a pipe |
2664 | 304 rar p test-SVCD.rar | mencoder -divx4opts br=800 -ofps 24 -pass 1 -- - |
2874
632032ff27bf
patch applied from Colin Marquardt <colin@marquardt-home.de>
gabucino
parents:
2868
diff
changeset
|
305 .TP |
632032ff27bf
patch applied from Colin Marquardt <colin@marquardt-home.de>
gabucino
parents:
2868
diff
changeset
|
306 .B Encoding multiple *.vob files |
632032ff27bf
patch applied from Colin Marquardt <colin@marquardt-home.de>
gabucino
parents:
2868
diff
changeset
|
307 cat *.vob | mencoder <options> - |
2597 | 308 .IP |
309 .SH BUGS | |
310 Probably. Check the documentation. | |
311 | |
312 Bugreports should be addressed to the MPlayer-users mailing list | |
313 (mplayer-users@mplayerhq.hu) ! If you want to submit a bugreport | |
314 (which we love to receive!), please double-check the bugreports.html, and | |
315 tell us all that we need to know to identify your problem. | |
316 | |
317 .LP | |
318 .SH AUTHORS | |
319 Check documentation ! | |
320 | |
3953 | 321 MPlayer is (C) 2000-2002 |
3856 | 322 .I Arpad Gereoffy <sendmail@to.mplayer-users> |
2597 | 323 |
324 This manpage is written and maintained by | |
325 .I Gabucino . | |
326 .LP | |
327 .SH STANDARD DISCLAIMER | |
328 Use only at your own risk! There may be errors and inaccuracies that could | |
329 be damaging to your system or your eye. Proceed with caution, and although | |
330 this is highly unlikely, the author doesn't take any responsibility for that! | |
331 .\" end of file |