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