-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinput.conf
More file actions
273 lines (252 loc) · 16.1 KB
/
input.conf
File metadata and controls
273 lines (252 loc) · 16.1 KB
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
262
263
264
265
266
267
268
269
270
271
272
273
# mpv input control file by snad
# https://github.com/thisisshihan/mpv-player-config-snad
# mouse
# -----
MBTN_LEFT ignore #; show-text "no keybindings" # ignore
MBTN_LEFT_DBL cycle fullscreen
MBTN_RIGHT cycle ontop
MBTN_RIGHT_DBL ignore ; show-text "no keybindings" # ignore
# trackpad, mouse wheels
# ----------------------
AXIS_UP add volume -1
AXIS_DOWN add volume +1
AXIS_LEFT osd-msg-bar seek +1
AXIS_RIGHT osd-msg-bar seek -1
MOUSE_WHEEL_UP add volume +1
MOUSE_WHEEL_DOWN add volume -1
MOUSE_WHEEL_LEFT osd-msg-bar seek +1
MOUSE_WHEEL_RIGHT osd-msg-bar seek -1
MOUSE_BTN1_DBL quit-watch-later
MOUSE_BTN1 script-binding pause-minimize
# keybord
# -------
# [esc] [space] [backspace]
# [tab] [enter]
TAB script-binding toggle-playlist #show-text "${playlist}"
CTRL+TAB script-binding toggle-playlist #show-text "${playlist}"
ENTER quit
SHIFT+ENTER cycle-values video-aspect "4:3" "16:9" "16:10" "2.35:1" "-1" ; show-text "Video Aspect: ${video-aspect}"
CTRL+ENTER cycle-values video-rotate 90 180 270 0 ; show-text "Video Rotion: ${video-rotate}"
BS set vf ""; set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 ; set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; set sharpen 0 ; set balance 0 ; set video-rotate 0 ; set speed 1.0 ; set video-aspect -1 ; set sub-scale 1 ; set sub-delay 0 ; set audio-delay 0 ; show-text "Reset: zoom | pan | rotation | aspect | color | sharp | audio | speed | sub"
ESC quit
SPACE cycle pause; show-text "${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)\n\n[${playlist-pos-1}/${playlist-count}] ▶ ${filename} \n${?chapter:Chapter: ${chapter}}"
# [ins] [home] [pgup]
# [del] [end] [pgdwn]
INS ignore ; show-text "no keybindings" # ignore
DEL ignore ; show-text "no keybindings" # ignore
PGUP ignore ; show-text "no keybindings" # ignore
PGDWN quit-watch-later # script-binding pause-minimize
HOME set time-pos 0 ; show-text "${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)\n\n[${playlist-pos-1}/${playlist-count}] ▶ ${filename} \n${?chapter:Chapter: ${chapter}}"
END ignore ; show-text "no keybindings" # ignore
# [arrow keys]
RIGHT osd-msg-bar seek +3
LEFT osd-msg-bar seek -3
UP osd-msg-bar seek +6
DOWN osd-msg-bar seek -6
CTRL+RIGHT osd-msg-bar seek +30
CTRL+LEFT osd-msg-bar seek -30
CTRL+UP osd-msg-bar seek +60
CTRL+DOWN osd-msg-bar seek -60
SHIFT+RIGHT osd-msg-bar seek +300
SHIFT+LEFT osd-msg-bar seek -300
SHIFT+UP osd-msg-bar seek +600
SHIFT+DOWN osd-msg-bar seek -600
ALT+RIGHT add chapter +1
ALT+LEF add chapter -1
ALT+UP add sub-pos -1
ALT+DOWN add sub-pos +1
# numpad
# [N] [/] [*] [-]
# [7] [8] [9] [+]
# [4] [5] [6]
# [1] [2] [3] [ENTER]
# [0] [DEC]
KP_DIVIDE add volume -1
KP_MULTIPLY add volume +1
ALT+KP_DIVIDE add sub-pos +1
ALT+KP_MULTIPLY add sub-pos -1
KP0 add video-aspect -0.005
KP1 add video-zoom -0.05
KP2 add video-pan-y +0.01
KP3 add video-zoom 0.05
KP4 add video-pan-x -0.01
KP5 set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 ; set video-aspect 0 ; show-text "Reset: zoom | pan | aspect"
KP6 add video-pan-x +0.01
KP7 add video-zoom -0.05
KP8 add video-pan-y -0.01
KP9 add video-zoom 0.05
KP_DEC add video-aspect +0.005
KP_ENTER quit
KP_ADD add audio-delay +0.10
KP_SUBTRACT add audio-delay -0.10
CTRL+KP_ADD add sub-delay +1
CTRL+KP_SUBTRACT add sub-delay -1
ALT+KP_ADD add sub-scale +0.1
ALT+KP_SUBTRACT add sub-scale -0.1
ALT+KP_ENTER set audio-delay 0 ; set sub-delay 0 ; show-text "Reset: sub-delay | audio-delay"
CTRL+KP0 set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; show-text "All Colors: 0"
CTRL+KP1 add brightness -1
CTRL+KP2 add brightness +1
CTRL+KP3 add contrast -1
CTRL+KP4 add contrast +1
CTRL+KP5 add gamma -1
CTRL+KP6 add gamma +1
CTRL+KP7 add saturation -1
CTRL+KP8 add saturation +1
CTRL+KP9 add hue -1
CTRL+KP_DEC add hue +1
CTRL+KP_ENTER cycle-values video-rotate 90 180 270 0 ; show-text "Video Rotion: ${video-rotate}"
SHIFT+KP0 set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; show-text "All Colors: 0"
SHIFT+KP1 add brightness -1
SHIFT+KP2 add brightness +1
SHIFT+KP3 add contrast -1
SHIFT+KP4 add contrast +1
SHIFT+KP5 add gamma -1
SHIFT+KP6 add gamma +1
SHIFT+KP7 add saturation -1
SHIFT+KP8 add saturation +1
SHIFT+KP9 add hue -1
SHIFT+KP_DEC add hue +1
SHIFT+KP_ENTER cycle-values video-aspect "4:3" "16:9" "16:10" "2.35:1" "-1" ; show-text "Video Aspect: ${video-aspect}"
# [F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10] [F11] [F12]
F1 add brightness -1
F2 add brightness +1
F3 add contrast -1
F4 add contrast +1
F5 add gamma -1
F6 add gamma +1
F7 add saturation -1
F8 add saturation +1
F9 add hue -1
F10 add hue +1
F11 set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; show-text "All Colors: 0 - (change [F1] -> [F10])"
F12 set vf ""; set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 ; set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; set sharpen 0 ; set balance 0 ; set video-rotate 0 ; set speed 1.0 ; set video-aspect -1 ; set sub-scale 1 ; set sub-delay 0 ; set audio-delay 0 ; set sub-pos 100 ; show-text "Reset: zoom | pan | rotation | aspect | color | sharp | audio | speed | sub"
# [1] [2] [3] [4] [5] [6] [7] [8] [9] [0] [-] [=]
# [!] [@] [#] [$] [%] [^] [&] [*] [(] [)] [_] [+]
1 set brightness 0 ; show-text "Brightness: 0 - (change [F1], [F2])"
2 set contrast 0 ; show-text "Contrast: 0 - (change [F3], [F4])"
3 set gamma 0 ; show-text "Gamma: 0 - (change [F5], [F6])"
4 set saturation 0 ; show-text "Saturation: 0 - (change [F7], [F8])"
5 set hue 0 ; show-text "Hue: 0 - (change [F9], [F10])"
6 set contrast 0 ; set brightness 0 ; set saturation 0 ; set gamma 0 ; set hue 0 ; show-text "All Colors: 0 - (change [F1] -> [F10])"
7 ignore ; show-text "no keybindings" # ignore
8 ignore ; show-text "no keybindings" # ignore
9 ignore ; show-text "no keybindings" # ignore
0 set audio-delay +0.00
_ add audio-delay -0.10
= add audio-delay +0.10
! ignore ; show-text "no keybindings" # ignore
@ ignore ; show-text "no keybindings" # ignore
$ ignore ; show-text "no keybindings" # ignore
% ignore ; show-text "no keybindings" # ignore
^ ignore ; show-text "no keybindings" # ignore
& ignore ; show-text "no keybindings" # ignore
( ignore ; show-text "no keybindings" # ignore
) set audio-delay +0.00
` script-message osc-chapterlist
~ script-message osc-chapterlist
CTRL+1 set contrast +08 ; set brightness -6 ; set saturation +15 ; set gamma -6 ; set sharpen +1.0 ; show-text "Video Filter (1) Applied"
CTRL+2 set contrast +08 ; set brightness -6 ; set saturation +15 ; set gamma -4 ; set sharpen +1.0 ; show-text "Video Filter (2) Applied"
CTRL+3 set contrast +08 ; set brightness -6 ; set saturation +15 ; set gamma -2 ; set sharpen +1.0 ; show-text "Video Filter (3) Applied"
CTRL+4 set contrast +08 ; set brightness -6 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (4) Applied"
CTRL+5 set contrast +08 ; set brightness -4 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (5) Applied"
CTRL+6 set contrast +08 ; set brightness -2 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (6) Applied"
CTRL+7 set contrast +08 ; set brightness -0 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (7) Applied"
CTRL+8 set contrast +00 ; set brightness -0 ; set saturation +00 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (8) Applied"
CTRL+9 set contrast +00 ; set brightness -0 ; set saturation +00 ; set gamma -0 ; set sharpen +0.0 ; show-text "Video Filter Removed"
# [Q] [W] [E] [R] [T] [Y] [U] [I] [O] [P] [{] [}]
# [q] [w] [e] [r] [t] [y] [u] [i] [o] [p] [[] []]
Q quit-watch-later
q quit-watch-later
W script-binding show-clock
w script-binding show-clock
E ignore ; show-text "no keybindings" # ignore
e ignore ; show-text "no keybindings" # ignore
R cycle-values video-rotate 90 180 270 0 ; show-text "Video Rotion: ${video-rotate}"
r cycle-values video-rotate 90 180 270 0 ; show-text "Video Rotion: ${video-rotate}"
T cycle ontop
t cycle ontop
Y ignore ; show-text "no keybindings" # ignore
y ignore ; show-text "no keybindings" # ignore
U ignore ; show-text "no keybindings" # ignore
u ignore ; show-text "no keybindings" # ignore
I script-binding stats/display-stats
i script-binding stats/display-stats
O cycle-values osd-level 3 1 # always show osd
o show-progress
P script-binding toggle-playlist #script-message osc-playlist
p script-binding toggle-playlist #script-message osc-playlist
CTRL+p script-binding save-playlist
CTRL+P script-binding save-playlist
[ add speed -0.01
] add speed +0.01
{ add speed -0.2
} add speed +0.2
\ set speed +1.0
| set speed +1.0
# [A] [S] [D] [F] [G] [H] [J] [K] [L] [:] ["]
# [a] [s] [d] [f] [g] [h] [j] [k] [l] [;] [']
A cycle-values video-aspect-override "4:3" "16:9" "16:10" "2.35:1" "-1" ; show-text "Video Aspect Ratio: ${video-aspect-override}"
a cycle-values video-aspect-override "4:3" "16:9" "16:10" "2.35:1" "-1" ; show-text "Video Aspect Ratio: ${video-aspect-override}"
S screenshot
s screenshot
D cycle deinterlace # ignore #frame_drop
d cycle deinterlace # ignore #frame_drop
F cycle fullscreen
f cycle fullscreen
G add sharpen -0.1 #add sharpen -0.1 #cycle sws-scaler
g add sharpen -0.1 #add sharpen -0.1 #cycle sws-scaler
H add sharpen +0.1
h add sharpen +0.1
J cycle sub ; script-message osc-tracklist ;show-text "" # sub-select
j cycle sub ; script-message osc-tracklist ;show-text "" # sub-select
CTRL+J add sub-scale +0.1
CTRL+j add sub-scale +0.1
ALT+J add sub-scale -0.1
ALT+j add sub-scale -0.1
K cycle audio ; script-message osc-tracklist ;show-text "" # audio-select
k cycle audio ; script-message osc-tracklist ;show-text "" # audio-select
L cycle-values loop-playlist "inf" "no" ; show-text "Loop ☰ Playlist [${loop-playlist}] / Loop ▶ File [${loop-file}]"
l cycle-values loop-playlist "inf" "no" ; show-text "Loop ☰ Playlist [${loop-playlist}] / Loop ▶ File [${loop-file}]"
: cycle-values loop-file "inf" "no" ; show-text "Loop ☰ Playlist [${loop-playlist}] / Loop ▶ File [${loop-file}]"
; cycle-values loop-file "inf" "no" ; show-text "Loop ☰ Playlist [${loop-playlist}] / Loop ▶ File [${loop-file}]"
" add volume +1 # cycle-values vf "format=colorlevels=full" "format=colorlevels=auto" "format=colorlevels=limited"
' add volume +1 # cycle-values vf "format=colorlevels=full" "format=colorlevels=auto" "format=colorlevels=limited"
# [Z] [X] [C] [V] [B] [N] [M] [<] [>] [?]
# [z] [x] [c] [v] [b] [n] [m] [,] [.] []
Z cycle-values keepaspect "yes" "no" # keep aspect ratio while resizing window / stretch video on fullscreen
z cycle-values keepaspect "yes" "no" # keep aspect ratio while resizing window / stretch video on fullscreen
X script-binding auto-crop # ignore #sub-step +1
x script-binding auto-crop # ignore #sub-step -1
C script-binding easycrop ;show-text "Draw Crop Area" # Crop the video by defining the target rectangle with the cursor #handled with scripts>easycrop.lua
c script-binding easycrop ;show-text "Draw Crop Area" # Crop the video by defining the target rectangle with the cursor #handled with scripts>easycrop.lua
#V cycle-values sharpen "0.901" "0.902" "0.903" "0.9" "0"; cycle-values vf "lavfi=[colorlevels=rimin=0.058:gimin=0.058:bimin=0.058]" "lavfi=[colorlevels=rimin=0.039:gimin=0.039:bimin=0.039:rimax=0.96:gimax=0.96:bimax=0.96:aimax=0.96]" "lavfi=[colorlevels=rimax=0.902:gimax=0.902:bimax=0.902]" "lavfi=[colorlevels=rimin=0.0:gimin=0.0:bimin=0.0]" ""
V set contrast +08 ; set brightness -2 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (6) Applied"
v set contrast +08 ; set brightness -2 ; set saturation +15 ; set gamma -0 ; set sharpen +1.0 ; show-text "Video Filter (6) Applied"
B cycle border # sub-pos +1
b cycle border # sub-pos +1
N cycle sub-ass-override ; show-text "Sub ASS Style Override: ${sub-ass-override}" # ignore #add sub-scale -0.1
n cycle sub-ass-override ; show-text "Sub ASS Style Override: ${sub-ass-override}" # ignore #add sub-scale +0.1
M cycle mute
m cycle mute
> playlist-next ; script-binding show-playlist #script-message osc-playlist
. playlist-next ; script-binding show-playlist #script-message osc-playlist
< playlist-prev ; script-binding show-playlist #script-message osc-playlist
, playlist-prev ; script-binding show-playlist #script-message osc-playlist
VOLUME_UP add volume 2
VOLUME_DOWN add volume -2
# gamepad
# -------
JOY_RIGHT seek 10
JOY_LEFT seek -10
JOY_UP seek 60
JOY_DOWN seek -60
JOY_BTN0 pause
JOY_BTN1 osd
JOY_BTN2 volume 1
JOY_BTN3 volume -1
# AMD FidelityFX FSR/CAS and NVIDIA Image Scaling
# -----------------------------------------------
CTRL+a no-osd change-list glsl-shaders set "~~/shaders/FSR.glsl"; show-text "AMD FidelityFX FSR 1.0"
CTRL+n no-osd change-list glsl-shaders set "~~/shaders/NVScaler.glsl"; show-text "NVIDIA Image Scaling (NIS)"
CTRL+z no-osd change-list glsl-shaders clr ""; show-text "FSR/NIS cleared"