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