dotfiles/.config/mpv/mpv.conf
Trysdyn Black 01a68c651c Make mpv not close if used to open an image
Like my Sway update last commit. This makes mpv not close if it was
explicitly used to open an image.
2022-05-26 00:53:14 -07:00

22 lines
723 B
Text

# I like normalizing at 100% volume and going up from there
# 1000% is excessive but at least I'll never cap out
volume-max=1000
# My mpv usage is either on-disk media, or streamlink which does its own
# caching, so we don't need to double cache.
cache=no
cache-pause=no
demuxer-readahead-secs=1
# Enable HW decoding. This should be safe on any system as failure falls back to SWDec
hwdec=auto
# Audio filter to try to normalize audio levels. Especially important for
# Twitch where there's no defacto normal level to target
af="dynaudnorm=g=5:f=250:r=0.9:p=0.5"
# Put screenshots in my bespoke screenshot dir
screenshot-directory=~/screenshot
# Make images opened in mpv not force-close it
image-display-duration=inf