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