dotfiles/.config/mpv/mpv.conf

159 lines
3.9 KiB
Plaintext

#
# mpv configuration file
#
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
# system-wide settings, all of which are overridden by the command line.
#
# 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.
#
# 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.
#
# 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.
##################
# video settings #
##################
no-border
no-osd-bar
osd-level=0
osd-fractions
# Specify default video driver (see --vo=help for a list).
#vo=vdpau
# Start in fullscreen mode by default.
#fs=yes
# force starting with centered window
#geometry=50%:50%
# don't allow a new window to have a size larger than 90% of the screen size
#autofit-larger=90%x90%
# Disable the On Screen Controller (OSC).
#osc=no
# 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
# Disable softvol usage, and always use the system mixer if available.
#softvol=no
# Scale audio tempo by playback speed without altering pitch. (By default does
# nothing if playback speed is not changed. May introduce artifacts.)
#af=scaletempo
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
#audio-channels=5.1
# Disable any automatic remix, _if_ the audio output accepts the audio format.
# of the currently played file.
#audio-channels=empty
audio-normalize-downmix=yes
##################
# other settings #
##################
# Pretend to be a web browser. Might fix playback with some streaming sites,
# but also will break with shoutcast streams.
#user-agent="Mozilla/5.0"
# cache settings
#
# 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.
#cache=8192
#
# If a seek is issued, and the target is 1024KB past the cached range, then
# keep reading until the seek target is hit, instead of doing a real seek.
#cache-seek-min=1024
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
#cache-pause=no
#
# Read ahead about 5 seconds of audio and video packets.
#demuxer-readahead-secs=5.0
# Display English subtitles if available.
slang=en
# Play Finnish audio if available, fall back to English otherwise.
alang=jpn,en
# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
# If the file seems to be valid UTF-8, prefer UTF-8.
#sub-codepage=utf8:cp1256
# Configure playback GPU settings.
vo=gpu-next
profile=high-quality
gpu-context=auto
gpu-api=vulkan
hwdec=no
interpolation=yes
tscale=box
tscale-window=sphinx
tscale-radius=1.0
tscale-clamp=0.0
scale=ewa_lanczos
scale-blur=0.981251
dscale=catmull_rom
scale-antiring=0.5
dscale-antiring=0.5
cscale-antiring=0.5
deband=yes
deband-iterations=4
deband-threshold=35
deband-range=16
deband-grain=4
dither=error-diffusion
dither-depth=auto
sigmoid-upscaling=yes
correct-downscaling=yes
video-sync=display-resample
framedrop=vo
# glsl-shader="~~/shaders/ArtCNN_C4F16.glsl"
#vf=dejudder
#vf=format=yuv420p,vapoursynth=~~/motioninterpolation.vpy:4:4
# You can also include other configuration files.
#include=/path/to/the/file/you/want/to/include
screenshot-format=png
screenshot-template="~/Desktop/%tF %tH-%tM-%tS screenshot"
fullscreen