-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.conf
89 lines (70 loc) · 3.62 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
# mpv keybindings
## cheatsheet " ----------------------------------------------------------{{{1
? script-binding stats/display-page-4-toggle
## osd " -----------------------------------------------------------------{{{1
p cycle osd-bar
## Mouse wheels " --------------------------------------------------------{{{1
WHEEL_UP seek -3
WHEEL_DOWN seek 3
Shift+WHEEL_UP add volume 2
Shift+WHEEL_DOWN add volume -2
## vim-like seek " -------------------------------------------------------{{{1
g-g seek 0 absolute-percent # vim-like
j no-osd sub-seek 1 # vim-like subtitle
k no-osd sub-seek -1 # vim-like subtitle
# . frame-step
# , frame-back-step
ctrl+h no-osd seek -1 exact # vim-like
ctrl+l no-osd seek 1 exact # vim-like
ctrl+j no-osd seek 5 exact # vim-like
ctrl+k no-osd seek -5 exact # vim-like
ctrl+d seek 30 # vim-like
ctrl+u seek -30 # vim-like
ctrl+f seek 60 # vim-like
ctrl+b seek -60 # vim-like
## seek-to.lua " ---------------------------------------------------------{{{1
t script-message-to seek_to toggle-seeker
## subtitle " ------------------------------------------------------------{{{1
J cycle sub # subtitle
K cycle secondary-sid # subtitle
## play " ----------------------------------------------------------------{{{1
ENTER cycle fullscreen # 进入全屏状态 [回车键]
b set pause yes ; set window-minimized "yes" # boss key
L cycle-values loop-file "inf" "no" # 恢复 mpv 关于 loop-file 的默认配置
## Window " --------------------------------------------------------------{{{1
Alt+0 cycle-values current-window-scale "0.5" "1.0" "1.5" # 快速缩放窗口大小
Alt+- add current-window-scale -0.1 # 窗口 -
Alt+= add current-window-scale 0.1 # 窗口 +
## cycle-profiles.lua " --------------------------------------------------{{{1
F11 script-binding cycle-profiles-forward
F12 script-binding cycle-profiles-backward
## srt-resegment.lua " ---------------------------------------------------{{{1
Ctrl+r script-binding srt_resegment # subtitle srt_resegment
## srt-to-word-level-json.lua " ------------------------------------------{{{1
Ctrl+e script-binding srt_to_word_level_json # subtitle
## ab-loop-set-points.lua " ----------------------------------------------{{{1
Alt+l script-binding ab-loop-toggle
## Clock.lua " -----------------------------------------------------------{{{1
Alt+c script-binding clock-show-hide # clock-show-hide
## chapters.lua " --------------------------------------------------------{{{1
Ctrl+n script-binding chapters/add_chapter
Alt+n script-binding chapters/edit_chapter
Ctrl+. script-binding chapters/write_chapters
Ctrl+Alt+, script-binding chapters/remove_chapter
Ctrl+Alt+. script-binding chapters/bake_chapters
## chapter-converter.lua " -----------------------------------------------{{{1
Ctrl+y script-binding youtube-to-mpv # chapter
Ctrl+Alt+y script-binding mpv-to-youtube # chapter
## dualsubs-creat.lua " --------------------------------------------------{{{1
Shift+b script-binding create-bilingual-subtitles
## crop.lua " ------------------------------------------------------------{{{1
c script-message-to crop start-crop hard
C script-message-to crop toggle-crop hard
x script-message-to crop start-crop delogo
## encode.lua " ----------------------------------------------------------{{{1
# use default profile (makes vp8 webms), 没有声音和字幕
# e script-message-to encode set-timestamp
# use custom webm profile (script-opts/encode_xxx.conf), 包括声音和字幕
e script-message-to encode set-timestamp encode_mkv
E script-message-to encode set-timestamp encode_webm
# vim: foldmethod=marker