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