mirror of https://github.com/mpv-player/mpv
133 lines
3.1 KiB
Plaintext
133 lines
3.1 KiB
Plaintext
#
|
|
# mpv configuration file
|
|
#
|
|
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
|
|
# and per-user from ~/.mpv/config, where per-user settings override
|
|
# system-wide settings, all of which are overrriden by the command line.
|
|
#
|
|
# 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.
|
|
#
|
|
# Profiles should be placed at the bottom of the configuration file to ensure
|
|
# that settings wanted as defaults are not restricted to specific profiles.
|
|
|
|
|
|
##################
|
|
# video settings #
|
|
##################
|
|
|
|
# Specify default video driver (see -vo help for a list).
|
|
#vo=xv
|
|
|
|
# Use OpenGL video by default
|
|
#vo = gl
|
|
|
|
# Start in fullscreen mode by default.
|
|
#fs=yes
|
|
|
|
# Change to a different videomode when going fullscreen.
|
|
#vm=yes
|
|
|
|
# Override the autodetected color depth, may need 'vm=yes' as well.
|
|
#bpp=0
|
|
|
|
# Enable software scaling (powerful CPU needed) for video output
|
|
# drivers that do not support hardware scaling.
|
|
#zoom=yes
|
|
|
|
# standard monitor size, with square pixels
|
|
#monitoraspect=4:3
|
|
|
|
# Use this for a widescreen monitor, non-square pixels.
|
|
#monitoraspect=16:9
|
|
|
|
# Keep the player window on top of all other windows.
|
|
#ontop=yes
|
|
|
|
|
|
##################
|
|
# audio settings #
|
|
##################
|
|
|
|
# Specify default audio driver (see -ao help for a list).
|
|
#ao=alsa
|
|
|
|
# Specify the mixer device.
|
|
#mixer = /dev/mixer
|
|
|
|
# Resample the sound to 44100Hz with the lavcresample audio filter.
|
|
#af=lavcresample=44100
|
|
|
|
|
|
##################
|
|
# other settings #
|
|
##################
|
|
|
|
# Pretend to be Window Media Player.
|
|
# Fixes playback when playlist and media file use the same URL.
|
|
#user-agent=NSPlayer/4.1.0.3856
|
|
|
|
# Pretend to be Quicktime
|
|
# Fixes playback for apple.com/trailers redirects
|
|
#user-agent="QuickTime"
|
|
|
|
# Pretend to be Realplayer SP
|
|
# Fixes playback for some video streaming sites
|
|
#user-agent=RMA/1.0
|
|
|
|
# Pretend to have lots of bandwidth
|
|
# Speeds up realmedia rtsp:// streams
|
|
#bandwidth=2000000
|
|
|
|
# Pretend to be Winamp
|
|
# Fixes playback of some NSV streams
|
|
#user-agent="Winamp NSV Player/5.12 (ultravox/2.0)"
|
|
|
|
# Drop frames to preserve audio/video sync.
|
|
#framedrop = yes
|
|
|
|
# Resample the font alphamap.
|
|
# 0 plain white fonts
|
|
# 0.75 very narrow black outline (default)
|
|
# 1 narrow black outline
|
|
# 10 bold black outline
|
|
#ffactor = 0.75
|
|
|
|
# cache settings
|
|
#
|
|
# Use 8MB input cache by default.
|
|
#cache = 8192
|
|
#
|
|
# Prefill 20% of the cache before starting playback.
|
|
#cache-min = 20.0
|
|
#
|
|
# Prefill 50% of the cache before restarting playback after the cache emptied.
|
|
#cache-seek-min = 50
|
|
|
|
# DVD: Display English subtitles if available.
|
|
#slang = en
|
|
|
|
# DVD: Play English audio tracks if available.
|
|
#alang = en
|
|
|
|
|
|
############
|
|
# 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
|
|
|
|
|
|
|
|
# You can also include other configuration files.
|
|
#include = /path/to/the/file/you/want/to/include
|