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