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