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