Mercurial > mplayer.hg
annotate etc/example.conf @ 17222:53cecc8ff55c
credits for Onur, patch by himself
author | diego |
---|---|
date | Sun, 18 Dec 2005 16:51:28 +0000 |
parents | a60cad55c3ad |
children | c01e292ae4a9 |
rev | line source |
---|---|
156 | 1 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
2 ## MPlayer configuration file |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
3 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
4 ## Configuration files are read system-wide from /usr/local/etc/mplayer.conf |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
5 ## and per user from ~/.mplayer/config, where per-user settings override |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
6 ## system-wide settings, all of which are overrriden by the command line. |
156 | 7 ## |
17060 | 8 ## The options are the same as on the command line without the preceding '-'. |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
9 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
10 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
11 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
12 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
13 ## video settings |
156 | 14 ## |
15 | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
16 # Specify default video driver (see -vo help for a list). |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
17 # vo=xv |
1037 | 18 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
19 # Specify default audio driver (see -ao help for a list). |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
20 # ao=oss |
156 | 21 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
22 # fullscreen mode |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
23 # fs=yes |
390 | 24 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
25 # Change to a different videomode when going fullscreen |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
26 # (dga, x11, sdl video output drivers only). |
17060 | 27 # vm=yes |
345 | 28 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
29 # Force changing display depth (valid settings are: 0, 15, 16, 24, 32). |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
30 # May need 'vm=yes' as well, only works with fbdev, dga, svga, vesa |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
31 # video output drivers. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
32 # bpp=0 |
345 | 33 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
34 # Enable software scaling (powerful CPU needed). |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
35 # Some video output drivers (svga, x11, vesa) do not support hardware scaling. |
17060 | 36 # zoom=yes |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
37 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
38 # standard monitor size, with square pixels |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
39 # monitoraspect=4:3 |
1479 | 40 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
41 # Use this for a widescreen monitor, non-square pixels. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
42 # monitoraspect=16:9 |
156 | 43 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
44 # Makes the player window stay on top of all other windows. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
45 # ontop=yes |
11542 | 46 |
156 | 47 ## |
1865 | 48 ## Specify your preferred default skin here |
17060 | 49 ## (skins are searched for in /usr/local/share/mplayer/Skin/ |
50 ## and ~/.mplayer/Skin/). | |
1865 | 51 ## |
17060 | 52 # skin = Abyss |
1865 | 53 |
54 ## | |
157 | 55 ## Multiple languages are available :) |
56 ## | |
57 ## Hungarian igen nem | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
58 ## English yes no |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
59 ## German ja nein |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
60 ## Spanish si no |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
61 ## Polish tak nie |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
62 ## Swedish ja nej |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
63 ## Binary 1 0 |
157 | 64 ## |
65 ## You can also use spaces and/or tabs. | |
156 | 66 ## |
67 | |
1917 | 68 # sound = 1 |
69 # nosound = nein | |
70 # mixer = /dev/mixer | |
156 | 71 |
72 ## | |
522 | 73 ## resample the fonts' alphamap |
74 ## 0 plain white fonts | |
75 ## 0.75 very narrow black outline (default) | |
76 ## 1 narrow black outline | |
77 ## 10 bold black outline | |
78 ## | |
1917 | 79 # ffactor = 0.75 |
222 | 80 |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
81 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
82 ## FBdev driver: |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
83 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
84 # mode to use (read from fb.modes) |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
85 # fbmode = 640x480-120 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
86 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
87 # location of the fb.modes file |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
88 # fbmodeconfig = /etc/fb.modes |
7651 | 89 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
90 ## VESA and FBdev driver: Specify your monitor's timings. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
91 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
92 ## (see /etc/X11/XF86Config for timings) |
428 | 93 ## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN |
94 ## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY! | |
95 ## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! ** | |
96 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
97 ## k, K: means multiply by 1000 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
98 ## m, M: means multiply by 1.000.000 |
428 | 99 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
100 # horizontal frequency range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
101 # monitor-hfreq = 31.5k-50k,70k |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
102 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
103 # vertical frequency range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
104 # monitor-vfreq = 50-90 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
105 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
106 # dotclock (or pixelclock) range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
107 # monitor-dotclock = 30M-300M |
428 | 108 |
109 ## | |
646 | 110 ## SDL driver |
111 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
112 # Use SDL video with the aalib subdriver by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
113 # vo = sdl:aalib |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
114 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
115 # Use SDL audio driver with the esd subdriver by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
116 # ao = sdl:esd |
629 | 117 |
1624 | 118 |
1364 | 119 ## |
120 ## Other (preferred to be default from configfile) switches | |
121 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
122 # Drop frames to preserve audio/video sync. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
123 framedrop = yes |
1200 | 124 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
125 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
126 ## cache settings |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
127 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
128 # Use 8MB input cache by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
129 cache = 8192 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
130 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
131 # Prefill 20% of the cache before starting playback. |
14893
faa87d404b0a
options in config file have been using '-' instead of '_' for ages
rathann
parents:
12875
diff
changeset
|
132 cache-min = 20.0 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
133 # |
16296
e0a4ab62b469
1. -cache-prefil has not been renamed, it's been removed (-cache-seek-min
rathann
parents:
16278
diff
changeset
|
134 # Prefill 50% of the cache before restarting playback after the cache emptied. |
e0a4ab62b469
1. -cache-prefil has not been renamed, it's been removed (-cache-seek-min
rathann
parents:
16278
diff
changeset
|
135 cache-seek-min = 50 |
3289 | 136 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
137 # DVD: Display English subtitles if available. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
138 # slang = en |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
139 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
140 # DVD: Play English audio tracks if available. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
141 # alang = en |
3776 | 142 |
4680 | 143 |
144 ## This is the correct way to use "subconfig" type options in the | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
145 ## configuration file. In the command line you use: |
17059 | 146 ## -af lavcresample=44100 , but here it is: |
147 # af=lavcresample=44100 | |
4680 | 148 |
629 | 149 ## |
345 | 150 ## You can also include other configfiles |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
151 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
152 #include = /path/to/the/file/you/want/to/include |