## MPV INPUT BINDINGS
## ==================
# Custom MPV Mapping to Match keybinds of VLC
# See this:
mpv/input.conf at master · mpv-player/mpv · GitHub
# and this:
http://www.abload.de/img/mpbindingsq2o02.png
UP ignore # ignore keybinds for
DOWN ignore # directional keys
LEFT ignore
RIGHT ignore
SPACE cycle pause # toggle pause
ENTER cycle pause # toggle pause
META+UP add volume 5 # change volume (OSX)
META+DOWN add volume -5
META+RIGHT seek 60 # 1 minute seeks (OSX)
META+LEFT seek -60
CTRL+UP add volume 5 # change volume (Linux/Windows)
CTRL+DOWN add volume -5
CTRL+RIGHT seek 60 # 1 minute seeks (Linux/Windows)
CTRL+LEFT seek -60
SHIFT+UP ignore
SHIFT+DOWN ignore
SHIFT+RIGHT seek 3 - exact # 3 second seeks
SHIFT+LEFT seek -3 - exact
SHIFT+n add chapter 1 # skip to next chapter
CTRL+SHIFT+n add chapter -1 # skip to previous chapter
ALT+UP ignore
ALT+DOWN ignore
ALT+RIGHT seek 10 - exact # 10 second seeks
ALT+LEFT seek -10 - exact
AXIS_UP add volume 5 # mouse scrolls
AXIS_DOWN add volume -5
AXIS_RIGHT seek -5
AXIS_LEFT seek 5
# special character key maps
~ cycle ontop # keep mpv window on top of others
[ add speed -0.25 # change playback speed
] add speed +0.25
{ multiply speed 0.5
} multiply speed 2.0
\ cycle-values speed 1.25 1.0
# numeric key maps
1 add contrast -1
2 add contrast 1
3 add brightness -1
4 add brightness 1
5 add gamma -1
6 add gamma 1
7 add saturation -1
8 add saturation 1
9 add volume -2
0 add volume 2
# alphabet keymaps
g add sub-delay -0.1 # subtitle delays (100ms)
h add sub-delay +0.1
j add audio-delay -0.1 # audio delays (100ms)
k add audio-delay +0.1
l ab-loop # set/clear A-B loop points
L cycle-values loop-file "inf" "no" # toggle infinite looping
o cycle video-unscaled # scale/unscale video
O cycle video-unscaled
a cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
t show_progress # show video progress bar
T osd # cycle through osd mode
v cycle sub # cycle through subs
b cycle audio # cycle through audio streams
m cycle mute # toggle mute
i script-binding stats/display-stats