2006-01-17 00:58:37 +01:00
|
|
|
#
|
2012-10-11 02:04:08 +02:00
|
|
|
# mpv configuration file
|
2006-01-17 00:58:37 +01:00
|
|
|
#
|
2012-10-11 02:04:08 +02:00
|
|
|
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
|
|
|
|
# and per-user from ~/.mpv/config, where per-user settings override
|
2013-09-07 22:43:31 +02:00
|
|
|
# system-wide settings, all of which are overridden by the command line.
|
2006-01-17 00:58:37 +01:00
|
|
|
#
|
2013-09-07 22:43:31 +02:00
|
|
|
# Configuration file settings and the command line options use the same
|
|
|
|
# underlying mechanisms. Most options can be put into the configuration file
|
|
|
|
# by dropping the preceding '--'. See the man page for a complete list of
|
|
|
|
# options.
|
|
|
|
#
|
|
|
|
# Lines starting with '#' are comments and are ignored.
|
2006-01-17 01:18:21 +01:00
|
|
|
#
|
|
|
|
# See the CONFIGURATION FILES section in the man page
|
|
|
|
# for a detailed description of the syntax.
|
2010-12-12 18:16:59 +01:00
|
|
|
#
|
2011-01-05 15:55:45 +01:00
|
|
|
# Profiles should be placed at the bottom of the configuration file to ensure
|
|
|
|
# that settings wanted as defaults are not restricted to specific profiles.
|
2013-09-07 22:43:31 +02:00
|
|
|
#
|
|
|
|
# Note that the commented example options usually do _not_ set the default
|
|
|
|
# values. Calling mpv with --list-options is a nice way to see the default
|
|
|
|
# values for most options.
|
2006-01-17 01:36:52 +01:00
|
|
|
|
|
|
|
##################
|
|
|
|
# video settings #
|
|
|
|
##################
|
2004-07-20 20:02:22 +02:00
|
|
|
|
2013-09-07 22:43:31 +02:00
|
|
|
# Specify default video driver (see --vo=help for a list).
|
2012-11-11 18:05:43 +01:00
|
|
|
#vo=vdpau
|
2001-06-05 18:52:51 +02:00
|
|
|
|
2006-01-17 01:18:21 +01:00
|
|
|
# Start in fullscreen mode by default.
|
2006-01-17 00:58:37 +01:00
|
|
|
#fs=yes
|
2001-03-19 08:45:35 +01:00
|
|
|
|
2012-11-11 18:05:43 +01:00
|
|
|
# force starting with centered window
|
2012-11-14 10:55:38 +01:00
|
|
|
#geometry=50%:50%
|
2001-03-19 08:45:35 +01:00
|
|
|
|
2013-01-23 10:56:36 +01:00
|
|
|
# don't allow a new window to have a size larger than 90% of the screen size
|
|
|
|
#autofit-larger=90%x90%
|
|
|
|
|
2013-10-14 23:42:53 +02:00
|
|
|
# Disable the On Screen Controller (OSC).
|
|
|
|
#osc=no
|
|
|
|
|
2006-01-17 01:18:21 +01:00
|
|
|
# Keep the player window on top of all other windows.
|
2006-01-17 00:58:37 +01:00
|
|
|
#ontop=yes
|
|
|
|
|
2006-01-17 01:36:52 +01:00
|
|
|
|
|
|
|
##################
|
|
|
|
# audio settings #
|
|
|
|
##################
|
|
|
|
|
2013-09-07 22:43:31 +02:00
|
|
|
# Specify default audio driver (see --ao=help for a list).
|
2012-09-01 20:02:15 +02:00
|
|
|
#ao=alsa
|
2006-01-17 00:58:37 +01:00
|
|
|
|
2012-11-11 18:05:43 +01:00
|
|
|
# Disable softvol usage, and always use the system mixer if available.
|
|
|
|
#softvol=no
|
2006-01-17 01:36:52 +01:00
|
|
|
|
2011-01-05 15:55:45 +01:00
|
|
|
|
2006-01-17 01:36:52 +01:00
|
|
|
##################
|
|
|
|
# other settings #
|
|
|
|
##################
|
|
|
|
|
2013-09-07 22:43:31 +02:00
|
|
|
# Pretend to be a web browser. Might fix playback with some streaming sites.
|
|
|
|
#user-agent="Mozilla/5.0"
|
2006-01-17 01:36:52 +01:00
|
|
|
|
2006-01-17 00:58:37 +01:00
|
|
|
# cache settings
|
|
|
|
#
|
2013-09-07 22:43:31 +02:00
|
|
|
# Use 8MB input cache by default. The cache is enabled for network streams only.
|
|
|
|
#cache-default = 8192
|
|
|
|
#
|
|
|
|
# Use 8MB input cache for everything, even local files.
|
2006-01-17 00:24:02 +01:00
|
|
|
#cache = 8192
|
2004-07-20 20:02:22 +02:00
|
|
|
#
|
|
|
|
# Prefill 20% of the cache before starting playback.
|
2006-01-17 00:24:02 +01:00
|
|
|
#cache-min = 20.0
|
2004-07-20 20:02:22 +02:00
|
|
|
#
|
2005-08-23 19:03:30 +02:00
|
|
|
# Prefill 50% of the cache before restarting playback after the cache emptied.
|
2006-01-17 00:24:02 +01:00
|
|
|
#cache-seek-min = 50
|
2001-06-23 17:40:47 +02:00
|
|
|
|
2013-09-07 22:43:31 +02:00
|
|
|
# Display English subtitles if available.
|
2006-01-17 00:58:37 +01:00
|
|
|
#slang = en
|
2001-12-03 18:10:02 +01:00
|
|
|
|
2013-09-07 22:43:31 +02:00
|
|
|
# Play Finnish audio if available, fall back to English otherwise.
|
|
|
|
#alang = fi,en
|
2012-11-11 18:05:43 +01:00
|
|
|
|
2013-08-11 23:23:12 +02:00
|
|
|
# Enable hardware decoding if available. Often, this requires using an certain
|
|
|
|
# video output, otherwise no hardware decoding will be used.
|
|
|
|
#hwdec = auto
|
2011-01-05 15:55:45 +01:00
|
|
|
|
|
|
|
############
|
|
|
|
# Profiles #
|
|
|
|
############
|
|
|
|
|
|
|
|
# The options declared as part of profiles override global default settings,
|
|
|
|
# but only take effect when the profile is active.
|
|
|
|
|
2013-08-11 23:23:12 +02:00
|
|
|
# The following profile can be enabled on the command line with: --profile=vdpau
|
|
|
|
|
|
|
|
#[vdpau]
|
|
|
|
# The profile forces the vdpau VO.
|
|
|
|
#vo=vdpau
|
2012-12-11 18:16:42 +01:00
|
|
|
# Use hardware decoding (this might break playback of some h264 files)
|
|
|
|
#hwdec=vdpau
|
2011-01-05 15:55:45 +01:00
|
|
|
# Most video filters do not work with vdpau.
|
|
|
|
#vf-clr=yes
|
|
|
|
|
|
|
|
|
2006-01-17 01:18:21 +01:00
|
|
|
# You can also include other configuration files.
|
2004-07-20 20:02:22 +02:00
|
|
|
#include = /path/to/the/file/you/want/to/include
|