Mercurial > mplayer.hg
annotate etc/example.conf @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author | rfelker |
---|---|
date | Tue, 12 Aug 2003 08:24:24 +0000 |
parents | d651256e66b2 |
children | 31b9d82b07de |
rev | line source |
---|---|
156 | 1 ## |
2 ## MPlayer config file | |
3 ## | |
8398 | 4 ## This file can be copied to /usr/local/etc/mplayer.conf and/or ~/.mplayer/config . |
156 | 5 ## If both exist, the ~/.mplayer/config's settings override the |
8398 | 6 ## /usr/local/etc/mplayer.conf ones. And, of course command line overrides all. |
156 | 7 ## The options are the same as in the command line, but they can be specified |
8 ## more flexibly here. See below. | |
9 ## | |
10 | |
3573 | 11 # vo=xv # To specify default video driver (see -vo help for |
1037 | 12 # list) |
13 | |
3573 | 14 # ao=oss # To specify default audio driver (see -ao help for |
1037 | 15 # list) |
156 | 16 |
390 | 17 fs=yes # Enlarges movie window to your desktop's size. |
18 # Used by drivers: all | |
19 | |
1917 | 20 # vm=no # Tries to change to a different videomode |
522 | 21 # Used by drivers: dga2, x11, sdl |
345 | 22 |
1917 | 23 # bpp=0 # Force changing display depth. |
390 | 24 # Valid settings are: 0, 15, 16, 24, 32 |
522 | 25 # may need 'vm=yes' too. |
2334 | 26 # Used by drivers: fbdev, dga2, svga, vesa |
345 | 27 |
1917 | 28 # zoom=no # Enable software scaling (powerful CPU needed) |
2299 | 29 # Used by drivers: svga, x11, vesa |
390 | 30 |
1479 | 31 # double=yes # use double-buffering (recommended for xv with |
32 # SUB/OSD usage) | |
33 | |
2240
5d476d03e2b3
ide vmi nagy hulyeseget akartam irni de elfelejtettem
gabucino
parents:
2211
diff
changeset
|
34 # monitoraspect=4:3 # standard monitor size, with square pixels |
5d476d03e2b3
ide vmi nagy hulyeseget akartam irni de elfelejtettem
gabucino
parents:
2211
diff
changeset
|
35 # monitoraspect=16:9 # use this for widescreen monitor! non-square pixels |
156 | 36 |
37 ## | |
1865 | 38 ## Specify your preferred default skin here |
39 ## (skins are searched in /usr/local/share/mplayer/Skin/yourskin | |
40 ## and ~/.mplayer/Skin/yourskin) | |
41 ## | |
42 | |
43 # skin = default | |
44 | |
45 ## | |
157 | 46 ## Multiple languages are available :) |
47 ## | |
48 ## Hungarian igen nem | |
49 ## English yes no | |
50 ## German ja nein | |
165 | 51 ## Spanish si no |
157 | 52 ## Binary 1 0 |
53 ## | |
54 ## You can also use spaces and/or tabs. | |
156 | 55 ## |
56 | |
1917 | 57 # sound = 1 |
58 # nosound = nein | |
59 # mixer = /dev/mixer | |
156 | 60 |
61 ## | |
522 | 62 ## resample the fonts' alphamap |
63 ## 0 plain white fonts | |
64 ## 0.75 very narrow black outline (default) | |
65 ## 1 narrow black outline | |
66 ## 10 bold black outline | |
67 ## | |
68 | |
1917 | 69 # ffactor = 0.75 |
222 | 70 |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
71 ## |
7651 | 72 ## FBdev driver: |
73 | |
74 # fb = /dev/fb0 # framebuffer device to use | |
75 # fbmode = 640x480-120 # use this mode (read from fb.modes!) | |
76 # fbmodeconfig = /etc/fb.modes # the fb.modes file | |
77 | |
78 ## VESA and FBdev driver: specify your monitor's timings | |
79 ## | |
428 | 80 ## (see for example /etc/X11/XF86Config for timings!) |
81 ## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN | |
82 ## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY! | |
83 ## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! ** | |
84 ## | |
85 ## k, K : means multiply by 1000 | |
86 ## m, M : means multiply by 1.000.000 | |
87 ## | |
88 # monitor_hfreq = 31.5k-50k,70k # horizontal frequency range | |
89 # monitor_vfreq = 50-90 # vertical frequency range | |
90 # monitor_dotclock = 30M-300M # dotclock (or pixelclock) range | |
91 | |
92 ## | |
646 | 93 ## SDL driver |
94 ## | |
95 | |
1208 | 96 # vo = sdl:aalib # use SDL video driver by default |
1205 | 97 # use "vo = sdl:aalib" or "vo sdl:dga" and so on, |
98 # for specifying SDL subdrivers | |
1208 | 99 # ao = sdl:esd # use SDL audio driver by default |
1205 | 100 # use "ao = sdl:esd" to use SDL's ESD driver |
1037 | 101 # noxv = no # whether to use XVideo hardware acceleration or not |
646 | 102 # forcexv = yes # force XVideo even if not detected |
629 | 103 |
1624 | 104 |
1364 | 105 ## |
106 ## Other (preferred to be default from configfile) switches | |
107 ## | |
108 | |
109 framedrop = yes # drop frames, when not in sync (slow CPU, videocard, | |
1215 | 110 # etc) |
1200 | 111 |
3289 | 112 cache = 8192 # use 8Mb input cache by default |
113 | |
3814 | 114 # slang = en # DVD : display english subtitles if available |
115 # alang = en # DVD : play english audio tracks if available | |
3776 | 116 |
4680 | 117 |
118 ## This is the correct way to use "subconfig" type options in the | |
119 ## configuration file. In the command line you use : | |
120 ## -aop list=resample:fout=44100 , but here it is : | |
121 # aop=list=resample:fout=44100 | |
122 | |
629 | 123 ## |
345 | 124 ## You can also include other configfiles |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
125 ## Specify full path! |
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
126 ## |
1917 | 127 ## Delete this default :) |
128 ## | |
164
2790235db59f
even more updates :) about time to crack a joke, eh? :))
gabucino
parents:
157
diff
changeset
|
129 |
1917 | 130 include = /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough... |