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