- 论坛徽章:
- 0
|
You can put all of the options in a configuration file which will be
read every time MPlayer is run. The system-wide configuration file
’mplayer.conf’ is in your configuration directory (e.g. /etc/mplayer or
/usr/local/etc/mplayer), the user specific one is ’~/.mplayer/config’.
User specific options override system-wide options and options given on
the command line override either. The syntax of the configuration
files is ’option=<value>’, everything after a ’#’ is considered a com-
ment. Options that work without values can be enabled by setting them
to ’yes’ or ’1’ or ’true’ and disabled by setting them to ’no’ or ’0’
or ’false’. Even suboptions can be specified in this way.
EXAMPLE:
# Use Matrox driver by default.
vo=xmga
# I love practicing handstands while watching videos.
flip=yes
# Decode/encode multiple files from png,
# start with mf://filemask
mf=type=png:fps=25
# Eerie negative images are cool.
vf=eq2=1.0:-0.8
You can also write file-specific configuration files. If you wish to
have a configuration file for a file called ’movie.avi’, create a file
named ’movie.avi.conf’ with the file-specific options in it and put it
in ~/.mplayer/ or in the same directory as the file. |
|