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