Mercurial > mplayer.hg
annotate etc/example.conf @ 27836:bf7f14c6dfaa
Avoid useless casts of malloc results.
author | reimar |
---|---|
date | Fri, 31 Oct 2008 13:12:54 +0000 |
parents | fc27053e927b |
children | b8a8ebad6761 |
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 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
19 # Specify default video driver (see -vo help for a list). |
17412 | 20 #vo=xv |
1037 | 21 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
22 # Use SDL video with the aalib subdriver by default. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
23 #vo = sdl:aalib |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
24 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
25 # FBdev driver: |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
26 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
27 # mode to use (read from fb.modes) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
28 #fbmode = 640x480-120 |
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 # location of the fb.modes file |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
31 #fbmodeconfig = /etc/fb.modes |
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 # 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
|
34 # 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
|
35 # 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
|
36 # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
37 # horizontal frequency range (k stands for 1000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
38 #monitor-hfreq = 31.5k-50k,70k |
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 # vertical frequency range |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
41 #monitor-vfreq = 50-90 |
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 # dotclock (or pixelclock) range (m stands for 1000000) |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
44 #monitor-dotclock = 30M-300M |
156 | 45 |
17413 | 46 # Start in fullscreen mode by default. |
17412 | 47 #fs=yes |
390 | 48 |
17413 | 49 # Change to a different videomode when going fullscreen. |
17412 | 50 #vm=yes |
345 | 51 |
17413 | 52 # Override the autodetected color depth, may need 'vm=yes' as well. |
17412 | 53 #bpp=0 |
345 | 54 |
17413 | 55 # Enable software scaling (powerful CPU needed) for video output |
56 # drivers that do not support hardware scaling. | |
17412 | 57 #zoom=yes |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
58 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
59 # standard monitor size, with square pixels |
17412 | 60 #monitoraspect=4:3 |
1479 | 61 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
62 # Use this for a widescreen monitor, non-square pixels. |
17412 | 63 #monitoraspect=16:9 |
156 | 64 |
17413 | 65 # Keep the player window on top of all other windows. |
17412 | 66 #ontop=yes |
11542 | 67 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
68 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
69 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
70 # audio settings # |
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 # 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
|
74 #ao=oss |
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 # 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
|
77 #ao = sdl:esd |
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 # Specify the mixer device. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
80 #mixer = /dev/mixer |
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 # 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
|
83 #af=lavcresample=44100 |
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 |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
86 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
87 # other settings # |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
88 ################## |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
89 |
25929
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
90 # Pretend to be Window Media Player. |
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
91 # 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
|
92 #user-agent=NSPlayer/4.1.0.3856 |
fc27053e927b
example for setting WMP user-agent string, helps when playlists
reimar
parents:
25823
diff
changeset
|
93 |
17416
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
94 # Drop frames to preserve audio/video sync. |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
95 #framedrop = yes |
7de54f5d786d
Put settings into a more meaningful order, some cosmetics.
diego
parents:
17415
diff
changeset
|
96 |
17413 | 97 # 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
|
98 # /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>). |
17412 | 99 #skin = Abyss |
1865 | 100 |
17415 | 101 # Resample the font alphamap. |
17412 | 102 # 0 plain white fonts |
103 # 0.75 very narrow black outline (default) | |
104 # 1 narrow black outline | |
105 # 10 bold black outline | |
106 #ffactor = 0.75 | |
222 | 107 |
17412 | 108 # cache settings |
109 # | |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
110 # 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
|
111 #cache = 8192 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
112 # |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
113 # 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
|
114 #cache-min = 20.0 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
115 # |
16296
e0a4ab62b469
1. -cache-prefil has not been renamed, it's been removed (-cache-seek-min
rathann
parents:
16278
diff
changeset
|
116 # 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
|
117 #cache-seek-min = 50 |
3289 | 118 |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
119 # DVD: Display English subtitles if available. |
17412 | 120 #slang = en |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
121 |
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
122 # DVD: Play English audio tracks if available. |
17412 | 123 #alang = en |
3776 | 124 |
25823 | 125 ################### |
126 # DVDNAV Settings # | |
127 ################### | |
128 #vc=ffmpeg12, | |
4680 | 129 |
17413 | 130 # You can also include other configuration files. |
12875
32104203ddea
reorganized, reformatted, explanation improved, typos, wording
diego
parents:
12835
diff
changeset
|
131 #include = /path/to/the/file/you/want/to/include |