Mercurial > mplayer.hg
annotate etc/example.conf @ 32407:39e51e95d12b
in auto mode, enable internal libdvdcss only if it is actually available
in some scenarios it might make sense to redistribute a copy of the
mplayer sources that does not contain the internal libdvdcss copy. In
order to not require the configure parameter
--disable-libdvdcss-internal, this change checks that the libdvdcss
directory actually exists when no particular behavior has been
requested.
author | siretart |
---|---|
date | Fri, 15 Oct 2010 10:45:19 +0000 |
parents | 21ea15331e75 |
children | 563e0a1369a0 |
rev | line source |
---|---|
17412 | 1 # |
2 # MPlayer configuration file | |
3 # | |
4 # Configuration files are read system-wide from /usr/local/etc/mplayer.conf | |
5 # and per user from ~/.mplayer/config, where per-user settings override | |
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. | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
13 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
14 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
15 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
16 # video settings # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
17 ################## |
156 | 18 |
29945 | 19 # Specify vdpau codecs when using -vo vdpau. |
20 #[vo.vdpau] | |
21 #vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, | |
22 | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
23 # Specify default video driver (see -vo help for a list). |
17412 | 24 #vo=xv |
1037 | 25 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
26 # Use SDL video with the aalib subdriver by default. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
27 #vo = sdl:aalib |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
28 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
29 # FBdev driver: |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
30 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
31 # mode to use (read from fb.modes) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
32 #fbmode = 640x480-120 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
33 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
34 # location of the fb.modes file |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
35 #fbmodeconfig = /etc/fb.modes |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
36 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
37 # 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
|
38 # 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
|
39 # 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
|
40 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
41 # horizontal frequency range (k stands for 1000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
42 #monitor-hfreq = 31.5k-50k,70k |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
43 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
44 # vertical frequency range |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
45 #monitor-vfreq = 50-90 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
46 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
47 # dotclock (or pixelclock) range (m stands for 1000000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
48 #monitor-dotclock = 30M-300M |
156 | 49 |
17413 | 50 # Start in fullscreen mode by default. |
17412 | 51 #fs=yes |
390 | 52 |
17413 | 53 # Change to a different videomode when going fullscreen. |
17412 | 54 #vm=yes |
345 | 55 |
17413 | 56 # Override the autodetected color depth, may need 'vm=yes' as well. |
17412 | 57 #bpp=0 |
345 | 58 |
17413 | 59 # Enable software scaling (powerful CPU needed) for video output |
60 # drivers that do not support hardware scaling. | |
17412 | 61 #zoom=yes |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
62 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
63 # standard monitor size, with square pixels |
17412 | 64 #monitoraspect=4:3 |
1479 | 65 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
66 # Use this for a widescreen monitor, non-square pixels. |
17412 | 67 #monitoraspect=16:9 |
156 | 68 |
17413 | 69 # Keep the player window on top of all other windows. |
17412 | 70 #ontop=yes |
11542 | 71 |
17416
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 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
74 # audio settings # |
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 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
77 # 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
|
78 #ao=oss |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
79 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
80 # 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
|
81 #ao = sdl:esd |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
82 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
83 # Specify the mixer device. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
84 #mixer = /dev/mixer |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
85 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
86 # 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
|
87 #af=lavcresample=44100 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
88 |
29999 | 89 # Output audio to S/PDIF |
90 #ao=alsa:device=spdif | |
91 #ac=hwac3,hwdts,hwmpa, | |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
92 |
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 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
105 # Drop frames to preserve audio/video sync. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
106 #framedrop = yes |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
107 |
17413 | 108 # 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
|
109 # /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>). |
17412 | 110 #skin = Abyss |
1865 | 111 |
17415 | 112 # Resample the font alphamap. |
17412 | 113 # 0 plain white fonts |
114 # 0.75 very narrow black outline (default) | |
115 # 1 narrow black outline | |
116 # 10 bold black outline | |
117 #ffactor = 0.75 | |
222 | 118 |
17412 | 119 # cache settings |
120 # | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
121 # 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
|
122 #cache = 8192 |
12875
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 # 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
|
125 #cache-min = 20.0 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
126 # |
16296
e0a4ab62b469
1. -cache-prefil has not been renamed, it's been removed (-cache-seek-min
rathann
parents:
16278
diff
changeset
|
127 # 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
|
128 #cache-seek-min = 50 |
3289 | 129 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
130 # DVD: Display English subtitles if available. |
17412 | 131 #slang = en |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
132 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
133 # DVD: Play English audio tracks if available. |
17412 | 134 #alang = en |
3776 | 135 |
25823 | 136 ################### |
137 # DVDNAV Settings # | |
138 ################### | |
29783
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
139 [protocol.dvdnav] |
25823 | 140 #vc=ffmpeg12, |
29783
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
141 #mouse-movements=yes |
b8a8ebad6761
Add a profile example and (commented-out) useful defaults for dvdnav
reimar
parents:
25929
diff
changeset
|
142 #nocache=yes |
4680 | 143 |
17413 | 144 # You can also include other configuration files. |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
145 #include = /path/to/the/file/you/want/to/include |