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