Mercurial > mplayer.hg
annotate DOCS/mplayer.1 @ 1626:5f5505e4bb2d
removed ugly switch/goto hack
author | arpi |
---|---|
date | Wed, 22 Aug 2001 18:51:13 +0000 |
parents | f4a389d07c5b |
children | 315be3fa9daf |
rev | line source |
---|---|
1 | 1 .\" MPlayer (C) 2000-2001 Arpad Gereoffy <arpi@esp-team.scene.hu> |
2 .\" This manpage was/is done by Gabucino | |
3 .\" | |
733 | 4 .TH MPlayer-CVS |
1 | 5 .SH NAME |
6 mplayer \- Movie Player for Linux | |
7 .SH SYNOPSIS | |
8 .B mplayer | |
1516 | 9 .RB [ \-v\ ] |
10 .RB [ \-quiet\ ] | |
1287 | 11 .RB [ \-vo\ <driver>[:<device>]\ ] |
12 .RB [ \-ao\ <driver>[:<device>]\ ] | |
1 | 13 .RB [ \-vcd\ track\ number ] |
14 .RB [ \-sb\ byte\ position ] | |
15 .RB [ \-nosound\ ] | |
16 .RB [ \-abs\ seconds ] | |
17 .RB [ \-delay\ secs ] | |
1483 | 18 .RB [ \-bps\ ] |
1 | 19 .RB [ \-aid\ id ] |
20 .RB [ \-vid\ id ] | |
21 .RB [ \-fps\ rate ] | |
22 .RB [ \-mc\ seconds/5f ] | |
23 .RB [ \-fs\ ] | |
472
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
24 .RB [ \-vm\ ] |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
25 .RB [ \-zoom\ ] |
1 | 26 .RB [ \-x\ x ] |
27 .RB [ \-y\ y ] | |
28 .RB [ \-xy\ factor ] | |
45 | 29 .RB [ \-pp\ quality ] |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
106
diff
changeset
|
30 .RB [ \-include\ configfile ] |
1153 | 31 .RB [ \-lircconf\ configfile ] |
222 | 32 .RB [ \-ffactor\ number ] |
472
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
33 .RB [ \-sub\ file ] |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
34 .RB [ \-subfps\ rate ] |
484 | 35 .RB [ \-subdelay\ sec ] |
1022 | 36 .RB [ \-dvdauth\ device ] |
532
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
37 .RB [ \-z\ <0-8> ] |
574 | 38 .RB [ \-idx ] |
39 .RB [ \-forceidx ] | |
646 | 40 .RB [ \-nodshow ] |
41 .RB [ \-noxv ] | |
42 .RB [ \-forcexv ] | |
656 | 43 .RB [ \-ss\ sec ] |
791 | 44 .RB [ \-dumpaudio ] |
793 | 45 .RB [ \-dumpvideo ] |
801 | 46 .RB [ \-noframedrop ] |
47 .RB [ \-framedrop ] | |
1152 | 48 .RB [ \-nodouble ] |
49 .RB [ \-double ] | |
822 | 50 .RB [ \-dvdkey\ key ] |
868 | 51 .RB [ \-stereo\ mode ] |
986 | 52 .RB [ \-srate\ Hz ] |
1035 | 53 .RB [ \-osdlevel\ level ] |
1036 | 54 .RB [ \-config\ file ] |
1071 | 55 .RB [ \-display\ name ] |
1072 | 56 .RB [ \-unicode ] |
1389 | 57 .RB [ \-utf8 ] |
1273 | 58 .RB [ \-fsmode\ mode ] |
1363 | 59 .RB [ \-vc\ video\ codec\ name ] |
60 .RB [ \-ac\ audio\ codec\ name ] | |
61 .RB [ \-vfm\ video\ codec\ family ] | |
62 .RB [ \-afm\ audio\ codec\ family ] | |
1479 | 63 .RB [ \-frames\ number ] |
1493 | 64 .RB [ \-autoq\ quality ] |
1500 | 65 .RB [ \-fb\ device ] |
66 .RB [ \-fbmode\ modename ] | |
67 .RB [ \-fbmodeconfig filename ] | |
1556 | 68 .RB [ \-benchmark ] |
693 | 69 .I - or file |
1 | 70 .PP |
71 .SH DESCRIPTION | |
72 .I mplayer | |
73 Yes. Yet another movie player for linux. | |
74 What is the special with this? It works, at least for me :) | |
75 I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN, | |
76 xine,xanim,avifile,xmmp) but they all have some problem. Mostly with | |
77 special files or with audio/video sync. Most of them is unable to play | |
78 both mpeg1, mpeg2 and avi (DivX) files. Many players have image quality | |
79 or speed problems too. So I've decided to write/modify one... | |
80 .LP | |
81 .SH "GENERAL OPTIONS" | |
82 .TP | |
83 .I NOTE | |
84 MPlayer works out-of-the-box, so you generally don't have to mess with | |
85 any options. | |
86 .TP | |
790 | 87 .I NOTE |
88 Every "flag" option has "noflag" pair, e.g. -fs opposite is -nofs | |
89 .TP | |
1287 | 90 .B \-vo\ <driver>[:<device>] |
1288 | 91 select video output driver and optinaly device. "device" is valid with |
92 SDL and GGI too, it means sub-driver then (for example: -vo sdl:aalib). | |
1 | 93 |
94 you can get the list of available drivers executing | |
95 .I mplayer -vo help | |
96 | |
97 .TP | |
1287 | 98 .B \-ao\ <driver>[:<device>] |
1288 | 99 select audio output driver and optinaly device. "device" is valid with |
100 SDL and GGI too, it means sub-driver then (for example: -vo sdl:esd). | |
1208 | 101 |
102 If using OSS, you can specify which sound device to use like this : | |
1288 | 103 -ao oss:/dev/dsp1 (replaces the old -dsp option) |
986 | 104 |
105 you can get the list of available drivers executing | |
106 .I mplayer -ao help | |
107 | |
108 .TP | |
523 | 109 .B \-vcd\ track |
1 | 110 play video cd track from device instead of plain file |
111 .TP | |
1022 | 112 .B \-dvdauth\ device |
523 | 113 specify DVD-ROM drive to use for MPEG2 decoding. |
114 (use *_only_* when playing from DVD!) | |
115 .TP | |
116 .B \-nosound | |
1 | 117 don't play sound |
118 .TP | |
119 .B \-fs | |
472
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
120 fullscreen playing (centers movie, and makes black |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
121 bands around it) |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
122 .TP |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
123 .B \-vm |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
124 use XF86VidMode extension for mode changing |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
125 .TP |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
126 .B \-zoom |
1035 | 127 use software scaling, where available (use with -nofs) |
1 | 128 .TP |
129 .B \-x\ x | |
130 scale image to x width [if driver suppports!] | |
131 .TP | |
132 .B \-y\ y | |
133 scale image to y height | |
134 .TP | |
135 .B \-xy\ factor | |
136 scale image by <factor> | |
137 .TP | |
45 | 138 .B \-pp\ quality |
1 | 139 apply postprocess filter on decoded image. |
140 You need a STRONG CPU in order to use this! | |
141 The supported formats and settings are: | |
142 | |
181 | 143 MPEG 1/2 0 (none), 1, 3, 7, 15, 31, 63 |
144 OpenDivX 0 (none), 1, 3, 7, 15, 31, 63 | |
1556 | 145 DivX4 0 (none) - 60 |
181 | 146 DivX 0 (none), 1, 2, 3, 4 |
1 | 147 |
148 .I NOTE | |
52 | 149 Maybe less/more. |
1493 | 150 .TP |
151 .B \-autoq\ quality | |
152 dynamically changes the level of postprocess, depending on spare CPU | |
153 time available. Uses the same value ranges as -pp . The number you | |
154 specify will be the maximum level used. Usually you can use some big | |
155 number. | |
1 | 156 .TP |
222 | 157 .B \-ffactor\ number |
158 resample alphamap of the font. Can be: | |
1 | 159 |
222 | 160 0 plain white fonts |
161 0.75 very narrow black outline [default] | |
162 1 narrow black outline | |
163 10 bold black outline | |
472
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
164 .TP |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
165 .B \-sub\ file |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
166 use/display this subtitle file |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
167 .TP |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
168 .B \-subfps\ rate |
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
169 specify frame/sec rate of subtitle file |
521 | 170 (ONLY for frame-based SUB files, i.e. NOT MicroDVD format!) |
472
a25ba0fd865e
commiting yesterday's changes that accidently lost ;(((
gabucino
parents:
454
diff
changeset
|
171 (default: the same as the movie) |
484 | 172 .TP |
173 .B \-subdelay\ sec | |
174 delays subtitles by <sec> seconds. Can be negative. | |
1035 | 175 .TP |
176 .B \-osdlevel\ level | |
1037 | 177 specifies which mode the OSD should start in (0 : none, 1 : seek, 2: seek+timer) |
178 (default = 2) | |
1208 | 179 .TP |
1153 | 180 .B \-lircconf\ configfile |
1151 | 181 specifies a configfile for LIRC (see http://www.lirc.org) if you don't like the default ~/.lircrc |
1516 | 182 .TP |
1556 | 183 .B \-v |
1516 | 184 enable verbose output (more -v means more verbose) |
185 .TP | |
1556 | 186 .B \-quiet |
1516 | 187 display less output, status messages. |
1556 | 188 .TP |
189 .B \-benchmark | |
190 used in combination with -nosound and -vo null for benchmarking. | |
1 | 191 .IP |
192 .SH "ADVANCED OPTIONS" | |
193 .TP | |
194 .I NOTE | |
195 These options can help you solve your particular problem.. Also, see the DOCS! | |
196 .TP | |
1363 | 197 .B \-vc <name> |
198 force usage of a specific video codec, according to its name in codecs.conf, | |
199 for example : | |
200 | |
201 -vc divx use VFW DivX codec | |
202 -vc divxds use DirectShow DivX codec | |
203 -vc ffdivx use libavcodec's DivX codec | |
204 -vc divx4 use ProjectMayo's DivX codec | |
205 .TP | |
206 .B \-ac <name> | |
207 force usage of a specific audio codec, according to its name in codecs.conf, | |
208 for example : | |
1 | 209 |
1363 | 210 -ac mp3 use libmp3 MP3 codec |
211 -ac mp3acm use l3codeca.acm MP3 codec | |
212 -ac ac3 use AC3 codec | |
213 .TP | |
214 .B \-vfm <1-5> | |
1380 | 215 force usage of a specific codec FAMILY, and FALLBACK to default if failed. |
1377 | 216 For example: |
1364 | 217 |
218 -vfm 2 use VFW (Win32) codecs | |
1377 | 219 -vfm 3 use OpenDivX codec (YV12) |
1380 | 220 (same as -vc odivx but fallback) |
1364 | 221 -vfm 4 use DirectShow (Win32) codecs |
222 -vfm 5 use libavcodec codecs | |
1377 | 223 -vfm 7 use DivX4Linux codec (YUY2) |
1380 | 224 (same as -vc divx4 but fallback) |
1377 | 225 |
226 NOTE : type 3 and 7 now contains just the one same codec, then OpenDivX 4.0 | |
227 beta. For difference between them and when to use which, check the OpenDivX | |
228 section in the documentation. | |
1363 | 229 .TP |
230 .B \-afm <1-5> | |
231 force usage of a specific audio format. For example: | |
1364 | 232 |
233 -afm 1 use libmp3 (mp1/mp2/mp3) | |
234 -afm 2 suppose raw PCM audio | |
235 -afm 3 use libac3 | |
236 -afm 4 use a matching Win32 codec | |
237 -afm 5 use aLaw/uLaw driver | |
1 | 238 .TP |
523 | 239 .B \-sb\ position |
1 | 240 seek to byte position |
1206 | 241 .TP |
656 | 242 .B \-ss\ second |
243 seek to second position | |
1 | 244 .TP |
523 | 245 .B \-abs\ bytes |
1 | 246 audio buffer size (in bytes, default: measuring) |
247 .TP | |
248 .B \-delay\ secs | |
249 audio delay in seconds (may be +/- float value) | |
250 .TP | |
251 .B \-bps | |
252 use avg. byte/sec value for A-V sync (AVI) | |
253 .TP | |
254 .B \-aid\ id | |
255 select audio channel [MPG: 0-31 AVI: 1-99] | |
256 .TP | |
257 .B \-vid\ id | |
258 select video channel [MPG: 0-15 AVI: -- ] | |
259 .TP | |
260 .B \-fps\ value | |
261 force frame rate (if value is wrong in the header) | |
262 .TP | |
263 .B \-mc\ seconds/5frame | |
264 maximum sync correction per 5 frames (in seconds) | |
265 .TP | |
266 .B \-ni | |
267 force usage of non-interleaved AVI parser | |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
106
diff
changeset
|
268 .TP |
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
106
diff
changeset
|
269 .B \-include |
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
106
diff
changeset
|
270 specify config file to be parsed after the default |
532
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
271 .TP |
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
272 .B \-z\ <0-8> |
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
273 specifies compression level for PNG output |
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
274 0 : no compression |
a8ab5e0f5560
do you think the stars see how hard we're fighting for them?
gabucino
parents:
523
diff
changeset
|
275 8 : max compression |
574 | 276 .TP |
277 .B \-idx | |
278 rebuilds INDEX of the AVI. Useful with broken downloads, or badly | |
279 created AVIs. | |
280 .TP | |
281 .B \-forceidx | |
282 force rebuilding of INDEX. Useful for testing, or AVIs with bad | |
283 indexes. | |
629 | 284 .TP |
285 .B \-nodshow | |
630 | 286 disables usage of DirectShow video codecs |
646 | 287 .TP |
288 .B \-noxv | |
289 disable XVideo hardware acceleration (with SDL only!) | |
290 .TP | |
291 .B \-forcexv | |
292 force using XVideo (SDL!) | |
791 | 293 .TP |
294 .B \-dumpaudio | |
793 | 295 writes audio stream of the file to ./stream.dump (mostly usable |
296 with mpeg/ac3) | |
801 | 297 .TP |
298 .B \-noframedrop | |
1160 | 299 no frame dropping : every frame is played, audio and video may be out of |
300 sync (default) | |
801 | 301 .TP |
302 .B \-framedrop | |
303 frame dropping : decode all frames, video may skip | |
304 .TP | |
1151 | 305 .B \-nodouble |
306 disable doublebuffering (default). Currently this is only honoured by the DGA driver. | |
307 With the DGA driver this also disables OSD support but yields some speed gain. | |
308 .TP | |
309 .B \-double | |
310 enable doublebuffering. Currently this is only honoured by the DGA driver. | |
311 .TP | |
822 | 312 .B \-dvdkey key |
313 key to decrypt stream encrypted with CSS. For example : -dvdkey F169072699 | |
1022 | 314 (this is NOT for DVD playing! For DVD use the -dvdauth option!) |
868 | 315 .TP |
316 .B \-stereo mode | |
317 select type of MPEG1 stereo output. Mode may be 0:stereo 1:left 2:right | |
318 | |
319 Stereo 0 | |
320 Left channel 1 | |
321 Right channel 2 | |
322 | |
986 | 323 .TP |
324 .B \-srate Hz | |
325 specifies Hz to playback audio on. Has effect on playback speed! | |
1036 | 326 .TP |
327 .B \-config configfile | |
328 specifies where to search for config file | |
1071 | 329 .TP |
330 .B \-display name | |
331 specify the hostname and display number of the X server you want | |
332 to display on. For example : -display xtest.localdomain:0 | |
1072 | 333 .TP |
334 .B \-unicode | |
1389 | 335 tells MPlayer to handle the subtitle file as UNICODE. |
1072 | 336 Contrary: -nounicode |
1206 | 337 .TP |
1389 | 338 .B \-utf8 |
339 tells MPlayer to handle the subtitle file as UTF8. | |
340 .TP | |
1273 | 341 .B \-fsmode\ mode |
342 This option workarounds some problems when using specific windowmanagers and | |
343 fullscreen mode. If you experience fullscreen problems, try changing this | |
344 value between 0 and 7. | |
1500 | 345 |
1274 | 346 -fsmode 0 new method (since 0.18pre3) |
347 -fsmode 1 ICCCWM patch (for KDE2/icewm) | |
348 -fsmode 2 old method (0.17a) | |
1275 | 349 -fsmode 3 ICCCWM patch + Motif method |
1479 | 350 .TP |
351 .B \-frames\ number | |
352 MPlayer plays <number> frames, then quits. | |
1500 | 353 .TP |
354 .B \-fb\ device | |
355 Specifies the framebuffer device to use. By default it uses /dev/fb0 . | |
356 Only valid for the fbdev driver. | |
357 .TP | |
358 .B \-fbmode\ modename | |
359 Change videomode to the one that is labelled as <modename> in /etc/fb.modes . | |
360 Only valid for the fbdev driver. | |
361 .TP | |
362 .I NOTE | |
363 VESA framebuffer doesn't support mode changing. | |
364 .TP | |
365 .B \-fbmodeconfig\ filename | |
366 Use this config file instead of the default /etc/fb.modes . | |
367 Only valid for the fbdev driver. | |
1 | 368 .IP |
369 .SH "ALPHA/BETA CODE" | |
370 .TP | |
371 .I NOTE | |
372 These are included in this manpage just for completeness! If you don't | |
373 know what are these, you DON'T need these! In either case, double-check DOCS! | |
374 .TP | |
375 .B \-br\ rate | |
376 used with '-vo odivx' . | |
377 Specifies the bitrate to encode OpenDivx at | |
378 (in bits! e.g: 780000). | |
379 .TP | |
380 .B \-encode\ file | |
381 used with '-vo odivx' . | |
382 Specifies the output OpenDivX file. Won't overwrite. | |
793 | 383 .TP |
384 .B \-dumpvideo | |
385 dump video stream to ./stream.dump (only with MPEG-PS) (not very usable) | |
1 | 386 .IP |
222 | 387 .SH KEYBOARD CONTROL |
388 .TP | |
389 .I NOTE | |
390 These keys may/may not work, depending on your video output driver. | |
391 .TP | |
392 <- or -> seek backward/forward 10 seconds | |
393 | |
394 up or down seek backward/forward 1 minute | |
395 | |
1578 | 396 pgup/pgdown seek backward/forward 10 minutes |
397 | |
222 | 398 p or SPACE pause movie (press any key) |
399 | |
400 q or ESC stop playing and quit program | |
401 | |
962 | 402 + or - adjust audio delay by +/- 0.1 second |
389 | 403 |
454 | 404 / or * decrease/increase volume |
405 | |
523 | 406 o toggle OSD: none / seek / seek+timer |
474 | 407 |
484 | 408 m toggle using master/pcm volume |
801 | 409 |
948 | 410 z or x adjust subtitle delay by +/- 0.1 second |
1556 | 411 |
412 (the following keys are valid only when using DirectShow DivX codec) | |
413 | |
414 1 or 2 adjust contrast | |
415 | |
416 3 or 4 adjust brightness | |
417 | |
418 5 or 6 adjust ? | |
419 | |
420 7 or 8 adjust saturation | |
421 | |
222 | 422 .IP |
423 .SH FILES AND DIRECTORIES | |
424 .TP | |
425 .I CONFIG FILES | |
426 Settings are stored system-wide in the /etc/mplayer.conf file, | |
427 and per-user in $HOME/.mplayer/config. The directory | |
428 $HOME/.mplayer and the 'config' are created if doesn't exist. | |
429 .TP | |
430 .I FONTS | |
431 Fonts are searched in $HOME/.mplayer/font. There must be a font.desc | |
432 file, and files with .RAW extension. | |
433 .TP | |
224 | 434 .I SUBTITLE FILES |
899 | 435 MPlayer currently supports 6 subtitle formats : MicroDVD, SubRip, unnamed, |
943 | 436 SAMI (smi), vplayer, RealMedia RT, ssa (Sub Station Alpha). |
899 | 437 Sub files are searched in this priority : (for example /mnt/cdrom/movie.avi) |
438 /mnt/cdrom/movie.sub | |
439 (SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT) | |
440 $HOME/.mplayer/sub/movie.sub | |
441 (SUB/srt/SRT/smi/SMI/rt/RT/txt/TXT) | |
442 $HOME/.mplayer/default.sub | |
222 | 443 .IP |
1 | 444 .SH "EXAMPLES" |
445 Just launch it! :) | |
446 .LP | |
447 .SH BUGS | |
96 | 448 Probably. Check DOCS. |
1 | 449 |
450 Bugreports should be addressed to the MPlayer-users mailing list | |
40 | 451 (mplayer-users@lists.sourceforge.net) ! If you want to submit a bugreport |
899 | 452 (which we love to receive!), please double-check the DOCS/BUGREPORTS, and |
1 | 453 tell us all that we need to know to identify your problem. |
454 | |
455 .LP | |
456 .SH AUTHORS | |
457 Check DOCS/AUTHORS ! | |
458 | |
459 MPlayer is (C) 2000-2001 | |
460 .I Arpad Gereoffy <arpi@thot.banki.hu> | |
461 | |
462 This manpage is maintained by | |
463 .I Gabucino. | |
464 .LP | |
465 .SH STANDARD DISCLAIMER | |
466 Use only at your own risk! There may be errors and inaccuracies that could | |
467 be damaging to your system or your eye. Proceed with caution, and although | |
468 this is highly unlikely, the author doesn't take any responsibility for that! | |
469 .\" end of file |