Mercurial > mplayer.hg
annotate etc/example.conf @ 35151:13a97c60f6d8
Hint how to use old gdb versions.
author | cehoyos |
---|---|
date | Sat, 13 Oct 2012 09:47:52 +0000 |
parents | daa5747a88bb |
children |
rev | line source |
---|---|
17412 | 1 # |
2 # MPlayer configuration file | |
3 # | |
4 # Configuration files are read system-wide from /usr/local/etc/mplayer.conf | |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
5 # and per-user from ~/.mplayer/config, where per-user settings override |
17412 | 6 # system-wide settings, all of which are overrriden by the command line. |
7 # | |
17413 | 8 # The configuration file settings are the same as the command line |
9 # options without the preceding '-'. | |
10 # | |
11 # See the CONFIGURATION FILES section in the man page | |
12 # for a detailed description of the syntax. | |
32622 | 13 # |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
14 # Profiles should be placed at the bottom of the configuration file to ensure |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
15 # that settings wanted as defaults are not restricted to specific profiles. |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
16 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
17 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
18 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
19 # video settings # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
20 ################## |
156 | 21 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
22 # Specify default video driver (see -vo help for a list). |
17412 | 23 #vo=xv |
1037 | 24 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
25 # Use SDL video with the aalib subdriver by default. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
26 #vo = sdl:aalib |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
27 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
28 # FBdev driver: |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
29 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
30 # mode to use (read from fb.modes) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
31 #fbmode = 640x480-120 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
32 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
33 # location of the fb.modes file |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
34 #fbmodeconfig = /etc/fb.modes |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
35 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
36 # Specify your monitor timings for the vesa and fbdev video output drivers. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
37 # See /etc/X11/XF86Config for timings. Be careful; if you specify settings |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
38 # that exceed the capabilities of your monitor, you may damage it. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
39 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
40 # horizontal frequency range (k stands for 1000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
41 #monitor-hfreq = 31.5k-50k,70k |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
42 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
43 # vertical frequency range |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
44 #monitor-vfreq = 50-90 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
45 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
46 # dotclock (or pixelclock) range (m stands for 1000000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
47 #monitor-dotclock = 30M-300M |
156 | 48 |
17413 | 49 # Start in fullscreen mode by default. |
17412 | 50 #fs=yes |
390 | 51 |
17413 | 52 # Change to a different videomode when going fullscreen. |
17412 | 53 #vm=yes |
345 | 54 |
17413 | 55 # Override the autodetected color depth, may need 'vm=yes' as well. |
17412 | 56 #bpp=0 |
345 | 57 |
17413 | 58 # Enable software scaling (powerful CPU needed) for video output |
59 # drivers that do not support hardware scaling. | |
17412 | 60 #zoom=yes |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
61 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
62 # standard monitor size, with square pixels |
17412 | 63 #monitoraspect=4:3 |
1479 | 64 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
65 # Use this for a widescreen monitor, non-square pixels. |
17412 | 66 #monitoraspect=16:9 |
156 | 67 |
17413 | 68 # Keep the player window on top of all other windows. |
17412 | 69 #ontop=yes |
11542 | 70 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
71 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
72 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
73 # audio settings # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
74 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
75 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
76 # Specify default audio driver (see -ao help for a list). |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
77 #ao=oss |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
78 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
79 # Use SDL audio driver with the esd subdriver by default. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
80 #ao = sdl:esd |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
81 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
82 # Specify the mixer device. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
83 #mixer = /dev/mixer |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
84 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
85 # Resample the sound to 44100Hz with the lavcresample audio filter. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
86 #af=lavcresample=44100 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
87 |
29999 | 88 # Output audio to S/PDIF |
89 #ao=alsa:device=spdif | |
90 #ac=hwac3,hwdts,hwmpa, | |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
91 |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
92 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
93 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
94 # other settings # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
95 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
96 |
25929
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
97 # Pretend to be Window Media Player. |
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
98 # Fixes playback when playlist and media file use the same URL. |
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
99 #user-agent=NSPlayer/4.1.0.3856 |
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
100 |
29925 | 101 # Pretend to be Quicktime |
102 # Fixes playback for apple.com/trailers redirects | |
29933 | 103 #user-agent="QuickTime" |
29925 | 104 |
32625 | 105 # Pretend to be Realplayer SP |
106 # Fixes playback for some video streaming sites | |
107 #user-agent=RMA/1.0 | |
108 | |
34694 | 109 # Pretend to have lots of bandwidth |
110 # Speeds up realmedia rtsp:// streams | |
111 #bandwidth=2000000 | |
112 | |
32626 | 113 # Pretend to be Winamp |
114 # Fixes playback of some NSV streams | |
115 #user-agent="Winamp NSV Player/5.12 (ultravox/2.0)" | |
116 | |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
117 # Drop frames to preserve audio/video sync. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
118 #framedrop = yes |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
119 |
17413 | 120 # Specify your preferred skin here (skins are searched for in |
17974
9a5a62f480e6
Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents:
17416
diff
changeset
|
121 # /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>). |
17412 | 122 #skin = Abyss |
1865 | 123 |
17415 | 124 # Resample the font alphamap. |
17412 | 125 # 0 plain white fonts |
126 # 0.75 very narrow black outline (default) | |
127 # 1 narrow black outline | |
128 # 10 bold black outline | |
129 #ffactor = 0.75 | |
222 | 130 |
17412 | 131 # cache settings |
132 # | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
133 # Use 8MB input cache by default. |
17410
c01e292ae4a9
Comment out default settings. MPlayer should behave the same w/ or w/o
diego
parents:
17060
diff
changeset
|
134 #cache = 8192 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
135 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
136 # Prefill 20% of the cache before starting playback. |
17410
c01e292ae4a9
Comment out default settings. MPlayer should behave the same w/ or w/o
diego
parents:
17060
diff
changeset
|
137 #cache-min = 20.0 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
138 # |
16296
e0a4ab62b469
1. -cache-prefil has not been renamed, it's been removed (-cache-seek-min
rathann
parents:
16278
diff
changeset
|
139 # Prefill 50% of the cache before restarting playback after the cache emptied. |
17410
c01e292ae4a9
Comment out default settings. MPlayer should behave the same w/ or w/o
diego
parents:
17060
diff
changeset
|
140 #cache-seek-min = 50 |
3289 | 141 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
142 # DVD: Display English subtitles if available. |
17412 | 143 #slang = en |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
144 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
145 # DVD: Play English audio tracks if available. |
17412 | 146 #alang = en |
3776 | 147 |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
148 |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
149 ############ |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
150 # Profiles # |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
151 ############ |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
152 |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
153 # The options declared as part of profiles override global default settings, |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
154 # but only take effect when the profile is active. |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
155 |
29783
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
156 [protocol.dvdnav] |
25823 | 157 #vc=ffmpeg12, |
29783
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
158 #mouse-movements=yes |
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
159 #nocache=yes |
4680 | 160 |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
161 #[vo.vdpau] |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
162 #vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
163 # Most video filters do not work with vdpau. |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
164 #vf-clr=yes |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
165 |
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
166 |
34686 | 167 # OSD progress bar vertical alignment |
168 #progbar-align=50 | |
32667
e47b15813eba
Disambiguate remarks about profiles in configuration files.
diego
parents:
32626
diff
changeset
|
169 |
17413 | 170 # You can also include other configuration files. |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
171 #include = /path/to/the/file/you/want/to/include |