radix/files/mpv/input.conf

106 lines
7.4 KiB
Plaintext
Raw Normal View History

2023-08-06 02:30:22 +00:00
# mpv keybindings
#
# Location of user-defined bindings: ~/.config/mpv/input.conf
#
# List of commands and further details: DOCS/man/input.rst
# List of special keys: --input-keylist
# Keybindings testing mode: mpv --input-test --force-window --idle
#
# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
#
# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
#
# The default keybindings are hardcoded into the mpv binary.
# You can disable them completely with: --no-input-default-bindings
h no-osd seek -5 # seek 5 seconds backward
l no-osd seek 5 # seek 5 seconds forward
Ctrl+h no-osd sub-seek -1 # seek to the previous subtitle
Ctrl+l no-osd sub-seek 1 # seek to the next subtitle
Ctrl+ESC revert-seek # undo the previous (or marked) seek
j add sub-pos +1 # move subtitles down
k add sub-pos -1 # move subtitles up
Shift+l add chapter -1 # seek to the previous chapter
Shift+h add chapter 1 # seek to the next chapter
Ctrl+Shift+h sub-step -1 # change subtitle timing such that the previous subtitle is displayed
Ctrl+Shift+l sub-step 1 # change subtitle timing such that the next subtitle is displayed
Alt+h add video-pan-x 0.1 # move the video right
Alt+l add video-pan-x -0.1 # move the video left
Alt+k add video-pan-y 0.1 # move the video down
Alt+j add video-pan-y -0.1 # move the video up
Alt++ add video-zoom 0.1 # zoom in
Alt+- add video-zoom -0.1 # zoom out
Alt+ESC set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
[ add speed 0.25 # decrease the playback speed
] add speed 0.25 # increase the playback speed
ESC set speed 1.0 # reset the speed to normal
#XF86_PLAY cycle pause # toggle pause/playback mode
#XF86_PAUSE cycle pause # toggle pause/playback mode
#Xf86_NEXT playlist-next # skip to the next file
#Xf86_PREV playlist-prev # skip to the previous file
VOLUME_UP add volume 1
VOLUME_DOWN add volume -1
m cycle mute # toggle mute
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
SPACE cycle pause # toggle pause/playback mode
q quit # Are u kidding me?
Q quit-watch-later # exit and remember the playback position
. frame-step # advance one frame and pause
, frame-back-step # go back by one frame and pause
ENTER script-binding console/enable # open the console
i script-binding stats/display-stats-toggle # toggle displaying information and statistics
> add sub-delay -0.1 # shift subtitles 100 ms earlier
< add sub-delay +0.1 # delay subtitles by 100 ms
Ctrl+Shift++ add sub-scale +0.1 # increase the subtitle font size
Ctrl+Shift+- add sub-scale -0.1 # decrease the subtitle font size
#j cycle sub # switch subtitle track
#J cycle sub down # switch subtitle track backwards
#v cycle sub-visibility # hide or show the subtitles
#Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles
#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
s screenshot # take a screenshot of the video in its original resolution with subtitles
S screenshot window # take a screenshot of the window with OSD and subtitles
Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots
#d cycle deinterlace # toggle the deinterlacing filter
#V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer
#u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles
#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect)
a vf toggle hflip # Flip video like a mirror
#E cycle edition # switch edition
#l ab-loop # set/clear A-B loop points
#L cycle-values loop-file "inf" "no" # toggle infinite looping
#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding
F8 show-text ${playlist} # show the playlist
F9 show-text ${track-list} # show the list of video, audio and sub tracks