summary refs log tree commit diff
path: root/.config/mpv/input.conf
blob: d55414a3e5c4449a2b26eb7733535a188ce8872d (plain) (blame)
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
# MPV INPUT CONFIG

# taken from the default config
ESC set fullscreen no
f cycle fullscreen

SPACE cycle pause  #! pause/play
m cycle mute       #! controls > mute

# ARROW KEY BINDINGS
LEFT  seek -10 exact
RIGHT seek  10 exact
DOWN  seek -60 exact
UP    seek  60 exact

WHEEL_UP         seek -10 exact
WHEEL_DOWN       seek  10 exact
Shift+WHEEL_UP   seek -60 exact
Shift+WHEEL_DOWN seek  60 exact

h seek -10 keyframes
j seek -60 keyframes
k seek  60 keyframes
l seek  10 keyframes

HOME    seek 0 absolute-percent
0 seek 0 absolute-percent

END     seek 100 absolute-percent
$ seek 100 absolute-percent

Shift+RIGHT     playlist-next
n playlist-next  #! controls > playlist next
Shift+LEFT      playlist-prev
p playlist-prev  #! controls > playlist prev
#Alt+RIGHT       frame-step
#Alt+LEFT        frame-back-step
> frame-step
< frame-back-step
Ctrl+< seek -1 keyframes
Ctrl+> seek  1 keyframes

Shift+UP   add volume 10
Shift+DOWN add volume -10
Alt+UP     add volume 5
Alt+DOWN   add volume -5

L           add chapter 1  #! controls > chapter next
H           add chapter -1  #! controls > chapter prev
PGUP        add chapter 1
PGDWN       add chapter -1

a cycle audio
A script-binding uosc/audio #! select > audio
D cycle deinterlace
v script-binding uosc/video #! select > video

s cycle sub
S script-binding uosc/subtitles           #! select > sub
Ctrl+s script-binding uosc/load-subtitles #! select > load sub...
e add sub-scale +0.1                      #! sub > scale up
w add sub-scale -0.1                      #! sub > scale down
r add sub-pos +1                          #! sub > pos up
t add sub-pos -1                          #! sub > pos down

z add sub-delay -0.1                      #! delay > sub -0.1
x add sub-delay +0.1                      #! delay > sub +0.1
Z add audio-delay -0.1                    #! delay > audio -0.1
X add audio-delay +0.1                    #! delay > audio +0.1
Ctrl+z sub-step -1                        #! delay > sub-step -1
Ctrl+x sub-step 1                         #! delay > sub-step +1

U cycle-values sub-ass-override "scale" "force" "strip" "no"  #! sub > ass override
V cycle sub-visibility  #! sub > visibility
# Meta+s cycle sub-ass-force-margins

# PLAYER BINDINGS
i script-binding stats/display-stats-toggle                   #! stats
Ctrl+g screenshot                                             #! utils > screenshot > default
Alt+g screenshot video                                        #! utils > screenshot > video

Ctrl+a cycle-values video-aspect-override "16:9" "4:3" "21:9" "2.35:1" "-1" #! controls > aspect-ratio
Alt+s cycle-values audio-channels "auto-safe" "auto" "stereo" #! controls > audio channels
Alt+a cycle-values video-rotate 0 90 180 270                  #! controls > video-rotate
# T cycle ontop

q stop
Q quit-watch-later  #! watch later

# Ctrl+BS revert-seek mark-permanent

] script-binding skip2silence #! utils > skip2silence
} script-binding skip2scene #! utils > skip2scene
u revert-seek mark-permanent #! controls > undo/revert seek

= add volume 10
Shift+= add volume 5
- add volume -10
Shift+- add volume -5

Alt+[ cycle-values speed 0.75 0.5 0.25  #! controls > speed > slower
Alt+] cycle-values speed 1.25 1.5 2.0   #! controls > speed > faster
Alt+BS set speed 1.0                    #! utils > speed > reset

M cycle-values vf setpts=(2/1)*PTS setpts=(4/1)*PTS setpts=(1/2)*PTS setpts=(1/4)*PTS setpts=(1/8)*PTS ""

Alt+l-f cycle-values loop-file yes no #! loop > file
Alt+l-l ab-loop                       #! loop > A-B

# VAPOURSYNTH/FILTER BINDINGS
b ignore # debanding
B ignore
F1 af toggle asubcut   #! fx > a:subcut
F2 af toggle loudnorm  #! fx > a:loudnorm
F3 af toggle earwax    #! fx > a:earwax
F6 af toggle @skip-silence   #! fx > a:@skip-silence
F4 vf toggle bwdif     #! fx > v:deinterlace
F5 vf toggle @deband   #! fx > v:@deband
F7 vf toggle @no-3d    #! fx > v:@no-3d

# uosc
? script-binding uosc/keybinds
Ctrl+SPACE script-binding uosc/toggle-ui
MBTN_MID script-binding uosc/menu
: script-binding uosc/menu
Enter script-binding uosc/menu
P script-binding uosc/items     #! select > playlist
C script-binding uosc/chapters  #! select > chapters
o script-binding uosc/open-file #! select > file...
Ctrl+o script-binding openuri/openuri #! select > uri...
Ctrl+Shift+o script-binding openuri/pasteuri #! select > paste
Ctrl+n script-binding uosc/next-file
Ctrl+p script-binding uosc/prev-file

# various
Alt+w script-binding webm/display-webm-encoder   #! utils > webm encoder
# Alt+s-a script-binding slicing/slicing_audio     #! utils > slicing > audio
# Alt+s-m script-binding slicing/slicing_mark      #! utils > slicing > mark
Alt+a-d script-binding autodeint                 #! utils > autodeint
Alt+a-c script-binding autocrop/toggle_crop      #! utils > autocrop
Alt+m-c script-binding mouse_coords              #! utils > mouse coords
Alt+b script-binding blur/toggle-blur            #! utils > blur

# gallery
# g script-message contact-sheet-close; script-message playlist-view-toggle #! utils > playlist view
# c script-message playlist-view-close; script-message contact-sheet-toggle #! utils > contact sheet

# yanktime
y-y script_binding yanky/yanktime  #! utils > yank > time
y-p script_binding yanky/yankpath  #! utils > yank > path
y-s script_binding yanky/yanksubs  #! utils > yank > subs

# sponsorblock
Alt+b-g script_binding sponsorblock/set_segment         #! sponsorblock > set
Alt+b-G script_binding sponsorblock/submit_segment      #! sponsorblock > submit
Alt+b-u script_binding sponsorblock/upvote_segment      #! sponsorblock > upvote
Alt+b-UP script_binding sponsorblock/upvote_segment     #! sponsorblock > upvote
Alt+b-d script_binding sponsorblock/downvote_segment    #! sponsorblock > downvote
Alt+b-DOWN script_binding sponsorblock/downvote_segment #! sponsorblock > downvote

# mpvacious
Alt+a   script-binding mpvacious-menu-open #! mpvacious > open
Ctrl+n  script-binding mpvacious-export-note #! mpvacious > export note

# 1 ignore
# 2 ignore
3 ignore
4 ignore
# 5 ignore
6 ignore
7 ignore
8 ignore
9 ignore

5 cycle-values gamma-factor 1.0 1.1 1.2

I apply-profile interpolate   #! profiles > interpolate

Ctrl+Shift+0 apply-profile reset         #! profiles > reset
Ctrl+Shift+1 apply-profile interpolate   #! profiles > interpolate
Ctrl+Shift+2 apply-profile cache         #! profiles > cache
Ctrl+Shift+3 apply-profile scale         #! profiles > scale