2006-01-16 23:58:37 +00:00
|
|
|
#
|
2012-10-11 00:04:08 +00:00
|
|
|
# mpv configuration file
|
2006-01-16 23:58:37 +00:00
|
|
|
#
|
2012-10-11 00:04:08 +00:00
|
|
|
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
|
|
|
|
# and per-user from ~/.mpv/config, where per-user settings override
|
2006-01-16 23:58:37 +00:00
|
|
|
# system-wide settings, all of which are overrriden by the command line.
|
|
|
|
#
|
2006-01-17 00:18:21 +00:00
|
|
|
# The configuration file settings are the same as the command line
|
|
|
|
# options without the preceding '-'.
|
|
|
|
#
|
|
|
|
# See the CONFIGURATION FILES section in the man page
|
|
|
|
# for a detailed description of the syntax.
|
2010-12-12 17:16:59 +00:00
|
|
|
#
|
2011-01-05 14:55:45 +00: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.
|
2004-07-20 18:02:22 +00:00
|
|
|
|
2006-01-17 00:36:52 +00:00
|
|
|
|
|
|
|
##################
|
|
|
|
# video settings #
|
|
|
|
##################
|
2004-07-20 18:02:22 +00:00
|
|
|
|
|
|
|
# Specify default video driver (see -vo help for a list).
|
2006-01-16 23:58:37 +00:00
|
|
|
#vo=xv
|
2001-03-19 07:45:35 +00:00
|
|
|
|
2012-09-01 18:02:15 +00:00
|
|
|
# Use OpenGL video by default
|
|
|
|
#vo = gl
|
2001-06-05 16:52:51 +00:00
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# Start in fullscreen mode by default.
|
2006-01-16 23:58:37 +00:00
|
|
|
#fs=yes
|
2001-03-19 07:45:35 +00:00
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# Change to a different videomode when going fullscreen.
|
2006-01-16 23:58:37 +00:00
|
|
|
#vm=yes
|
2001-04-11 10:10:12 +00:00
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# Override the autodetected color depth, may need 'vm=yes' as well.
|
2006-01-16 23:58:37 +00:00
|
|
|
#bpp=0
|
2001-04-11 10:10:12 +00:00
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# Enable software scaling (powerful CPU needed) for video output
|
|
|
|
# drivers that do not support hardware scaling.
|
2006-01-16 23:58:37 +00:00
|
|
|
#zoom=yes
|
2001-04-13 17:34:18 +00:00
|
|
|
|
2004-07-20 18:02:22 +00:00
|
|
|
# standard monitor size, with square pixels
|
2006-01-16 23:58:37 +00:00
|
|
|
#monitoraspect=4:3
|
2001-08-10 16:21:46 +00:00
|
|
|
|
2004-07-20 18:02:22 +00:00
|
|
|
# Use this for a widescreen monitor, non-square pixels.
|
2006-01-16 23:58:37 +00:00
|
|
|
#monitoraspect=16:9
|
2001-03-19 07:45:35 +00:00
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# Keep the player window on top of all other windows.
|
2006-01-16 23:58:37 +00:00
|
|
|
#ontop=yes
|
|
|
|
|
2006-01-17 00:36:52 +00:00
|
|
|
|
|
|
|
##################
|
|
|
|
# audio settings #
|
|
|
|
##################
|
|
|
|
|
|
|
|
# Specify default audio driver (see -ao help for a list).
|
2012-09-01 18:02:15 +00:00
|
|
|
#ao=alsa
|
2006-01-16 23:58:37 +00:00
|
|
|
|
2006-01-17 00:36:00 +00:00
|
|
|
# Specify the mixer device.
|
2006-01-16 23:58:37 +00:00
|
|
|
#mixer = /dev/mixer
|
|
|
|
|
2006-01-17 00:36:52 +00:00
|
|
|
# Resample the sound to 44100Hz with the lavcresample audio filter.
|
|
|
|
#af=lavcresample=44100
|
|
|
|
|
2011-01-05 14:55:45 +00:00
|
|
|
|
2006-01-17 00:36:52 +00:00
|
|
|
##################
|
|
|
|
# other settings #
|
|
|
|
##################
|
|
|
|
|
2008-02-08 18:33:39 +00:00
|
|
|
# Pretend to be Window Media Player.
|
|
|
|
# Fixes playback when playlist and media file use the same URL.
|
|
|
|
#user-agent=NSPlayer/4.1.0.3856
|
|
|
|
|
2009-11-26 18:01:13 +00:00
|
|
|
# Pretend to be Quicktime
|
|
|
|
# Fixes playback for apple.com/trailers redirects
|
2009-12-03 21:04:53 +00:00
|
|
|
#user-agent="QuickTime"
|
2009-11-26 18:01:13 +00:00
|
|
|
|
2010-12-12 17:16:59 +00:00
|
|
|
# Pretend to be Realplayer SP
|
|
|
|
# Fixes playback for some video streaming sites
|
|
|
|
#user-agent=RMA/1.0
|
|
|
|
|
2012-03-03 11:07:04 +00:00
|
|
|
# Pretend to have lots of bandwidth
|
|
|
|
# Speeds up realmedia rtsp:// streams
|
|
|
|
#bandwidth=2000000
|
|
|
|
|
2010-12-12 17:16:59 +00:00
|
|
|
# Pretend to be Winamp
|
|
|
|
# Fixes playback of some NSV streams
|
|
|
|
#user-agent="Winamp NSV Player/5.12 (ultravox/2.0)"
|
|
|
|
|
2006-01-17 00:36:52 +00:00
|
|
|
# Drop frames to preserve audio/video sync.
|
|
|
|
#framedrop = yes
|
|
|
|
|
2006-01-17 00:36:00 +00:00
|
|
|
# Resample the font alphamap.
|
2006-01-16 23:58:37 +00:00
|
|
|
# 0 plain white fonts
|
|
|
|
# 0.75 very narrow black outline (default)
|
|
|
|
# 1 narrow black outline
|
|
|
|
# 10 bold black outline
|
|
|
|
#ffactor = 0.75
|
|
|
|
|
|
|
|
# cache settings
|
|
|
|
#
|
2004-07-20 18:02:22 +00:00
|
|
|
# Use 8MB input cache by default.
|
2006-01-16 23:24:02 +00:00
|
|
|
#cache = 8192
|
2004-07-20 18:02:22 +00:00
|
|
|
#
|
|
|
|
# Prefill 20% of the cache before starting playback.
|
2006-01-16 23:24:02 +00:00
|
|
|
#cache-min = 20.0
|
2004-07-20 18:02:22 +00:00
|
|
|
#
|
2005-08-23 17:03:30 +00:00
|
|
|
# Prefill 50% of the cache before restarting playback after the cache emptied.
|
2006-01-16 23:24:02 +00:00
|
|
|
#cache-seek-min = 50
|
2001-06-23 15:40:47 +00:00
|
|
|
|
2004-07-20 18:02:22 +00:00
|
|
|
# DVD: Display English subtitles if available.
|
2006-01-16 23:58:37 +00:00
|
|
|
#slang = en
|
2001-12-03 17:10:02 +00:00
|
|
|
|
2004-07-20 18:02:22 +00:00
|
|
|
# DVD: Play English audio tracks if available.
|
2006-01-16 23:58:37 +00:00
|
|
|
#alang = en
|
2001-12-26 22:57:22 +00:00
|
|
|
|
2011-01-05 14:55:45 +00:00
|
|
|
|
|
|
|
############
|
|
|
|
# Profiles #
|
|
|
|
############
|
|
|
|
|
|
|
|
# The options declared as part of profiles override global default settings,
|
|
|
|
# but only take effect when the profile is active.
|
|
|
|
|
|
|
|
#[vo.vdpau]
|
|
|
|
#vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,
|
|
|
|
# Most video filters do not work with vdpau.
|
|
|
|
#vf-clr=yes
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-17 00:18:21 +00:00
|
|
|
# You can also include other configuration files.
|
2004-07-20 18:02:22 +00:00
|
|
|
#include = /path/to/the/file/you/want/to/include
|