1# 2# mpv configuration file 3# 4# Warning: 5# 6# The commented example options usually do _not_ set the default values. Call 7# mpv with --list-options to see the default values for most options. There is 8# no builtin or example mpv.conf with all the defaults. 9# 10# 11# Configuration files are read system-wide from /usr/local/etc/mpv.conf 12# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override 13# system-wide settings, all of which are overridden by the command line. 14# 15# Configuration file settings and the command line options use the same 16# underlying mechanisms. Most options can be put into the configuration file 17# by dropping the preceding '--'. See the man page for a complete list of 18# options. 19# 20# Lines starting with '#' are comments and are ignored. 21# 22# See the CONFIGURATION FILES section in the man page 23# for a detailed description of the syntax. 24# 25# Profiles should be placed at the bottom of the configuration file to ensure 26# that settings wanted as defaults are not restricted to specific profiles. 27 28################## 29# video settings # 30################## 31 32# Start in fullscreen mode by default. 33#fs=yes 34 35# force starting with centered window 36#geometry=50%:50% 37 38# don't allow a new window to have a size larger than 90% of the screen size 39#autofit-larger=90%x90% 40 41# Do not close the window on exit. 42#keep-open=yes 43 44# Do not wait with showing the video window until it has loaded. (This will 45# resize the window once video is loaded. Also always shows a window with 46# audio.) 47#force-window=immediate 48 49# Disable the On Screen Controller (OSC). 50#osc=no 51 52# Keep the player window on top of all other windows. 53#ontop=yes 54 55# Specify high quality video rendering preset (for --vo=gpu only) 56# Can cause performance problems with some drivers and GPUs. 57#profile=gpu-hq 58 59# Force video to lock on the display's refresh rate, and change video and audio 60# speed to some degree to ensure synchronous playback - can cause problems 61# with some drivers and desktop environments. 62#video-sync=display-resample 63 64# Enable hardware decoding if available. Often, this does not work with all 65# video outputs, but should work well with default settings on most systems. 66# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs 67# may or may not help. 68hwdec=rkmpp 69 70# Specify default video output. 71vo=xv 72 73################## 74# audio settings # 75################## 76 77# Specify default audio device. You can list devices with: --audio-device=help 78# The option takes the device string (the stuff between the '...'). 79#audio-device=alsa/default 80 81# Do not filter audio to keep pitch when changing playback speed. 82#audio-pitch-correction=no 83 84# Output 5.1 audio natively, and upmix/downmix audio with a different format. 85#audio-channels=5.1 86# Disable any automatic remix, _if_ the audio output accepts the audio format. 87# of the currently played file. See caveats mentioned in the manpage. 88# (The default is "auto-safe", see manpage.) 89#audio-channels=auto 90 91################## 92# other settings # 93################## 94 95# Pretend to be a web browser. Might fix playback with some streaming sites, 96# but also will break with shoutcast streams. 97#user-agent="Mozilla/5.0" 98 99# cache settings 100# 101# Use 150MB input cache by default. The cache is enabled for network streams only. 102#cache-default=153600 103# 104# Use 150MB input cache for everything, even local files. 105#cache=153600 106# 107# Disable the behavior that the player will pause if the cache goes below a 108# certain fill size. 109#cache-pause=no 110# 111# Read ahead about 5 seconds of audio and video packets. 112#demuxer-readahead-secs=5.0 113# 114# Raise readahead from demuxer-readahead-secs to this value if a cache is active. 115#cache-secs=50.0 116 117# Display English subtitles if available. 118#slang=en 119 120# Play Finnish audio if available, fall back to English otherwise. 121#alang=fi,en 122 123# Change subtitle encoding. For Arabic subtitles use 'cp1256'. 124# If the file seems to be valid UTF-8, prefer UTF-8. 125# (You can add '+' in front of the codepage to force it.) 126#sub-codepage=cp1256 127 128# You can also include other configuration files. 129#include=/path/to/the/file/you/want/to/include 130 131############ 132# Profiles # 133############ 134 135# The options declared as part of profiles override global default settings, 136# but only take effect when the profile is active. 137 138# The following profile can be enabled on the command line with: --profile=eye-cancer 139 140#[eye-cancer] 141#sharpen=5 142