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

# taken from the default config
ESC set fullscreen no
f cycle fullscreen
SPACE cycle pause
m cycle mute

# ARROW KEY BINDINGS
RIGHT seek  10  # skip ahead
LEFT  seek -10  # skip back
UP    seek  60
DOWN  seek -60

HOME    seek 0 absolute-percent
END     seek 100 absolute-percent

Shift+RIGHT     playlist-next
Shift+LEFT      playlist-prev
Alt+RIGHT       frame-step
Alt+LEFT        frame-back-step

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

PGUP            add chapter 1    # Fn-UP; skip to next chapter
PGDWN           add chapter -1   # Fn-DOWN; skip to previous chapter
# Meta+UP         add chapter 1
# Meta+DOWN       add chapter -1
Shift+PGUP      seek 600
Shift+PGDWN     seek -600
Alt+PGUP        add sub-pos -1
Alt+PGDWN      add sub-pos +1

C script_binding autocrop   # crop black bars from movies (should be activated on scenes with max. contrast to the black bars)
Ctrl+c script_binding slicing/slicing_mark
Ctrl+a script_binding slicing/slicing_audio
W ignore
Ctrl+W script_binding webm/display-webm-encoder

# A/V/S BINDINGS
a cycle audio
v cycle video
Y cycle-values vf stereo3d=sbs2l:mono stereo3d=ab2l:mono "" # cycle methods to display 3d movie as 2d
D cycle deinterlace

s cycle sub
S cycle sub down
e add sub-scale +0.1                  # increase subtitle font size
w add sub-scale -0.1                  # decrease subtitle font size
t add sub-pos -1
r add sub-pos +1

z add sub-delay -0.1
Z add audio-delay -0.100
x add sub-delay +0.1
X add audio-delay 0.100

u cycle-values sub-ass-override "force" "strip" "no"
U cycle sub-visibility
Meta+s cycle sub-ass-force-margins

# PLAYER BINDINGS
O cycle osc
i script-binding stats/display-stats-toggle
g screenshot                    # take a screenshot
G screenshot video        # ...without subtitles

T cycle ontop
H cycle-values hwdec auto no
A cycle-values video-aspect "16:9" "4:3" "21:9" "2.35:1" "-1"
c cycle-values audio-channels "auto-safe" "auto" "stereo"

q quit
Q quit-watch-later  # saves playback position to resume later

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

> frame-step
< frame-back-step

l cycle-values loop-file yes no

# VAPOURSYNTH/FILTER BINDINGS
# banding
b cycle deband
B vf toggle gradfun
# interpolation
P vf toggle format=yuv420p,vapoursynth=~/.dotfiles/scripts/motioninterpolation.vpy:4:4
# binaural correction
h cycle-values af lavfi=[bs2b=profile=default] lavfi=[bs2b=profile=jmeier] lavfi=[bs2b=profile=cmoy] lavfi=[earwax] ""

WHEEL_UP seek -5
WHEEL_DOWN seek 5

0 script_binding mouse_coords
# 8 script_binding mouse_coords/set
# 9 script_binding mouse_coords/measure

: script-message-to console type ""