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