-
Notifications
You must be signed in to change notification settings - Fork 126
/
input.conf
261 lines (186 loc) · 8.09 KB
/
input.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# vim: syntax=config
# Mouse
MOUSE_BTN0 ignore
MOUSE_BTN0_DBL cycle fullscreen
MOUSE_BTN2 cycle pause
MOUSE_BTN3 ignore
MOUSE_BTN4 ignore
MOUSE_BTN5 ignore
MOUSE_BTN6 ignore
# Trackpad
AXIS_UP ignore
AXIS_DOWN ignore
AXIS_LEFT ignore
AXIS_RIGHT ignore
# Arrow/navigation keys
RIGHT osd-msg-bar seek +5 relative+keyframes
LEFT osd-msg-bar seek -5 relative+keyframes
SHIFT+RIGHT osd-msg-bar seek +1 relative+exact
SHIFT+LEFT osd-msg-bar seek -1 relative+exact
CTRL+RIGHT frame-step ; show-text "Frame: ${estimated-frame-number} / ${estimated-frame-count}"
CTRL+LEFT frame-back-step ; show-text "Frame: ${estimated-frame-number} / ${estimated-frame-count}"
UP osd-msg-bar seek +30 relative+keyframes
DOWN osd-msg-bar seek -30 relative+keyframes
SHIFT+UP osd-msg-bar seek +120 relative+keyframes
SHIFT+DOWN osd-msg-bar seek -120 relative+keyframes
PGUP osd-msg-bar seek +600 relative+keyframes
PGDWN osd-msg-bar seek -600 relative+keyframes
ALT+RIGHT sub-seek +1 ; show-text "Sub Seek +1"
ALT+LEFT sub-seek -1 ; show-text "Sub Seek -1"
#ALT+RIGHT add video-pan-x -0.01
#ALT+LEFT add video-pan-x +0.01
#ALT+UP add video-pan-y +0.01
#ALT+DOWN add video-pan-y -0.01
#META+RIGHT add video-zoom +0.05
#META+LEFT add video-zoom -0.05
#META+UP add video-zoom +0.05
#META+DOWN add video-zoom -0.05
# ` [1] [2] [3] [4] [5] [6] [7] [8] [9] [0] - =
# ~ [!] @ # $ % ^ & * ( ) _ +
1 add contrast -1 ; show-text "Contrast: ${contrast}"
2 add contrast +1 ; show-text "Contrast: ${contrast}"
3 add brightness -1 ; show-text "Brightness: ${brightness}"
4 add brightness +1 ; show-text "Brightness: ${brightness}"
5 add gamma -1 ; show-text "Gamma: ${gamma}"
6 add gamma +1 ; show-text "Gamma: ${gamma}"
7 add saturation -1 ; show-text "Saturation: ${saturation}"
8 add saturation +1 ; show-text "Saturation: ${saturation}"
9 add volume -2 ; show-text "Volume: ${volume}"
0 add volume +2 ; show-text "Volume: ${volume}"
! cycle ontop
CTRL+1 show-text "Shaders: ${glsl-shaders}"
CTRL+2 change-list glsl-shaders toggle "~/.mpv/shaders/adaptive-sharpen.glsl"
CTRL+3 change-list glsl-shaders toggle "~/.mpv/shaders/SSimSuperRes.glsl"
CTRL+4 change-list glsl-shaders toggle "~/.mpv/shaders/SSimDownscaler.glsl"
CTRL+5 change-list glsl-shaders toggle "~/.mpv/shaders/KrigBilateral.glsl"
#CTRL+0 set glsl-shaders ""
` ignore
~ ignore
# ignore
$ ignore
% ignore
^ ignore
& ignore
* ignore
§ ignore
± ignore
# [q] [w] [e] [r] [t] [y] [u] [i] [o] [p] [ ]
# [Q] [W] E R [T] [Y] [U] [I] O [P] { }
Q quit
q script-binding auto_save_state/quit-watch-later-conditional
w script-message osc-playlist
W playlist-shuffle
e playlist-prev ; show-text "${playlist-pos-1}/${playlist-count}"
E ignore
r playlist-next ; show-text "${playlist-pos-1}/${playlist-count}"
R ignore
t cycle-values sub-use-margins "yes" "no"
T cycle-values ass-force-margins "yes" "no" # does not work with :blend-subtitles
CTRL+t cycle-values blend-subtitles "yes" "video" "no"
y cycle-values stretch-image-subs-to-screen "yes" "no"
Y cycle-values stretch-dvd-subs "yes" "no"
u cycle-values hwdec "auto" "no"
U cycle-values vf "format=colorlevels=full" "format=colorlevels=auto" "format=colorlevels=limited"
i script-binding stats/display-stats
I script-binding stats/display-stats-toggle
o cycle-values osd-level 3 1
O ignore
p cycle-values video-rotate 90 180 270 0
P cycle-values video-aspect "16:9" "4:3" "2.35:1" "16:10"
[ ignore
] ignore
{ ignore
} ignore
# [a] [s] [d] [f] [g] [h] [j] [k] [l]
# [A] [S] [D] [F] [G] [H] [J] [K] [L]
a cycle audio # switch audio streams
A cycle-values af "lavfi=[dynaudnorm=f=200:g=5:r=0.1]" "" # dynamic range compression
CTRL+a script-binding auto_audio_device/toggle-switching # toggle automatic audio device switching
s cycle sub # cycle through subtitles
S cycle sub-visibility
CTRL+s cycle secondary-sid
d cycle-values window-scale "1.5" "2.0" "3.0" "0.5" "1.0" ; show-text "Scale: ${window-scale}"
D cycle edition
CTRL+d cycle video
f cycle fullscreen ; show-text "Scale: ${window-scale}"
F vf clr "" ; show-text "Filters cleared"
g cycle-values video-sync display-resample audio ; cycle-values interpolation yes no ; show-text "Interpolation: ${interpolation} (${tscale})"
G cycle-values tscale "linear" "catmull_rom" "mitchell" "bicubic" "oversample" ; show-text "Interpolation: ${interpolation} (${tscale})"
CTRL+g cycle-values interpolation no yes ; show-text "Interpolation: ${interpolation} (${tscale})"
ALT+g vf toggle format=yuv420p,vapoursynth=~~/vs-scripts/motion-interpolation.py:4
h cycle deinterlace
H script-binding autodeint
j cycle deband
J vf toggle "lavfi=[hqdn3d=2.0]"
k vf toggle vapoursynth=~~/vs-scripts/decimate.py # fix 24FPS videos encoded at 30FPS
K ignore
l cycle-values loop-file yes no ; show-text "${?=loop-file==inf:Looping enabled (file)}${?=loop-file==no:Looping disabled (file)}"
L cycle-values loop-playlist yes no ; show-text "${?=loop-playlist==inf:Looping enabled}${?=loop-playlist==no:Looping disabled}"
CTRL+l ab-loop
# [z] [x] [c] [v] [b] [n] [m] [,] [.]
# [Z] X C V [B] [N] [M] [<] [>]
z script-binding betterchapters/chapterplaylist-next #; show-text "${?chapter:Chapter: ${chapter}}"
Z script-binding betterchapters/chapterplaylist-prev #; show-text "${?chapter:Chapter: ${chapter}}"
x script-message osc-chapterlist
X ignore
c script-message osc-playlist
C ignore
v script-message osc-tracklist
V ignore
b add speed +0.05
B add speed -0.05
CTRL+b set speed 1.0
n add audio-delay +0.10
N add audio-delay -0.10
CTRL+n set sub-delay 0
m add sub-delay +0.10
M add sub-delay -0.10
CTRL+m set sub-delay 0
, add sub-scale -0.05 # decrease subtitle font size
< add sub-scale +0.05 # increase subtitle font size
. add sub-pos -1 # move subtitles up
> add sub-pos +1 # move subtitles down
# Adjust timing so that next/prev subtitle is displayed now
/ sub-step +1 ; show-text "Sub Step +1 (timing adjustment)"
? sub-step -1 ; show-text "Sub Step -1 (timing adjustment)"
# [esc] [space] [backspace]
# [tab] [enter]
ESC cycle fullscreen
SPACE cycle pause
IDEOGRAPHIC_SPACE cycle pause
TAB cycle mute
ENTER show-progress
BS revert-seek
SHIFT+BS set speed 1.0 ; set gamma 0 ; set brightness 0 ; set contrast 0 ; set saturation 0 ; set hue 0 ; show-text "Speed/Gamma/Brightness/Contrast/Saturation/Hue resetted"
ALT+BS set video-pan-x 0 ; set video-pan-y 0 ; show-text "Pan resetted"
META+BS set video-zoom 0 ; show-text "Zoom resetted"
# [F1] [F2] F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
F1 script-binding console/enable
# Numpad
KP0 ignore
KP1 ignore
KP2 ignore
KP3 ignore
KP4 ignore
KP5 ignore
KP6 ignore
KP7 ignore
KP8 ignore
KP9 ignore
KP_DEC ignore
KP_ENTER ignore
# Media Keys
POWER script-binding auto_save_state/quit-watch-later-conditional
MENU show-progress
PLAY cycle pause
PAUSE cycle pause
PLAYPAUSE cycle pause
STOP script-binding auto_save_state/quit-watch-later-conditional
FORWARD osd-msg-bar seek +5 relative keyframes
REWIND osd-msg-bar seek -5 relative keyframes
NEXT script-binding betterchapters/chapterplaylist-next #; show-text "${?chapter:Chapter: ${chapter}}"
PREV script-binding betterchapters/chapterplaylist-prev #; show-text "${?chapter:Chapter: ${chapter}}"
VOLUME_UP add volume +2 ; show-text "Volume: ${volume}"
VOLUME_DOWN add volume -2 ; show-text "Volume: ${volume}"
MUTE cycle mute
CLOSE_WIN quit