Add mpv configs

I'm surprised this was never here before. Oh well, gives me an excuse to
clean these up and comment them too.
This commit is contained in:
Trysdyn Black 2022-05-14 18:32:25 -07:00
parent d23b6c2bc7
commit d508d5746a
2 changed files with 34 additions and 0 deletions

18
.config/mpv/input.conf Normal file
View file

@ -0,0 +1,18 @@
# Mouse wheel volume
WHEEL_UP add volume 5
WHEEL_DOWN add volume -5
# Arrow keys seek
RIGHT seek 5
LEFT seek -5
UP seek 60
DOWN seek -60
# The three controls I care about :)
Q quit
F cycle fullscreen
S screenshot
# If I leave a video on and go to bed, this dims the video feed significantly
n set brightness -40;set gamma -40;show-text "Night Mode On"
N set brightness 0;set gamma 0;show-text "Night Mode Off"

16
.config/mpv/mpv.conf Normal file
View file

@ -0,0 +1,16 @@
# 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
# 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