Mercurial > mplayer.hg
annotate etc/example.conf @ 14921:1f82d63df1cd
add a short note about how to use ttf fonts
author | attila |
---|---|
date | Sun, 06 Mar 2005 17:31:55 +0000 |
parents | faa87d404b0a |
children | 85dee82c8285 |
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 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
8 ## The options are the same as on the command line. |
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). |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
27 # vm=no |
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. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
36 # zoom=no |
390 | 37 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
38 # Doublebuffering can help remove flicker from subtitles/OSD. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
39 # double=yes |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
40 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
41 # standard monitor size, with square pixels |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
42 # monitoraspect=4:3 |
1479 | 43 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
44 # Use this for a widescreen monitor, non-square pixels. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
45 # monitoraspect=16:9 |
156 | 46 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
47 # Makes the player window stay on top of all other windows. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
48 # ontop=yes |
11542 | 49 |
156 | 50 ## |
1865 | 51 ## Specify your preferred default skin here |
52 ## (skins are searched in /usr/local/share/mplayer/Skin/yourskin | |
53 ## and ~/.mplayer/Skin/yourskin) | |
54 ## | |
55 # skin = default | |
56 | |
57 ## | |
157 | 58 ## Multiple languages are available :) |
59 ## | |
60 ## Hungarian igen nem | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
61 ## English yes no |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
62 ## German ja nein |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
63 ## Spanish si no |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
64 ## Polish tak nie |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
65 ## Swedish ja nej |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
66 ## Binary 1 0 |
157 | 67 ## |
68 ## You can also use spaces and/or tabs. | |
156 | 69 ## |
70 | |
1917 | 71 # sound = 1 |
72 # nosound = nein | |
73 # mixer = /dev/mixer | |
156 | 74 |
75 ## | |
522 | 76 ## resample the fonts' alphamap |
77 ## 0 plain white fonts | |
78 ## 0.75 very narrow black outline (default) | |
79 ## 1 narrow black outline | |
80 ## 10 bold black outline | |
81 ## | |
1917 | 82 # ffactor = 0.75 |
222 | 83 |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
84 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
85 ## FBdev driver: |
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 # framebuffer device to use |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
88 # fb = /dev/fb0 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
89 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
90 # mode to use (read from fb.modes) |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
91 # fbmode = 640x480-120 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
92 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
93 # location of the fb.modes file |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
94 # fbmodeconfig = /etc/fb.modes |
7651 | 95 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
96 ## VESA and FBdev driver: Specify your monitor's timings. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
97 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
98 ## (see /etc/X11/XF86Config for timings) |
428 | 99 ## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN |
100 ## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY! | |
101 ## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! ** | |
102 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
103 ## k, K: means multiply by 1000 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
104 ## m, M: means multiply by 1.000.000 |
428 | 105 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
106 # horizontal frequency range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
107 # monitor-hfreq = 31.5k-50k,70k |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
108 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
109 # vertical frequency range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
110 # monitor-vfreq = 50-90 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
111 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
112 # dotclock (or pixelclock) range |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
113 # monitor-dotclock = 30M-300M |
428 | 114 |
115 ## | |
646 | 116 ## SDL driver |
117 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
118 # Use SDL video with the aalib subdriver by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
119 # vo = sdl:aalib |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
120 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
121 # Use SDL audio driver with the esd subdriver by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
122 # ao = sdl:esd |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
123 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
124 # Turn off XVideo hardware acceleration. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
125 # noxv = no |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
126 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
127 # Force XVideo even if not detected. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
128 # forcexv = yes |
629 | 129 |
1624 | 130 |
1364 | 131 ## |
132 ## Other (preferred to be default from configfile) switches | |
133 ## | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
134 # Drop frames to preserve audio/video sync. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
135 framedrop = yes |
1200 | 136 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
137 ## |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
138 ## cache settings |
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 # Use 8MB input cache by default. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
141 cache = 8192 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
142 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
143 # 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
|
144 cache-min = 20.0 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
145 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
146 # Prefill 5% of the cache before restarting playback after the cache emptied. |
14893
faa87d404b0a
options in config file have been using '-' instead of '_' for ages
rathann
parents:
12875
diff
changeset
|
147 cache-prefill = 5.0 |
3289 | 148 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
149 # DVD: Display English subtitles if available. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
150 # slang = en |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
151 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
152 # DVD: Play English audio tracks if available. |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
153 # alang = en |
3776 | 154 |
4680 | 155 |
156 ## 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
|
157 ## configuration file. In the command line you use: |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
158 ## -aop list=resample:fout=44100 , but here it is: |
4680 | 159 # aop=list=resample:fout=44100 |
160 | |
629 | 161 ## |
345 | 162 ## You can also include other configfiles |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
163 ## |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
164 #include = /path/to/the/file/you/want/to/include |