Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit b5c9cd6

Browse files
authored
Add files via upload
1 parent 893ad51 commit b5c9cd6

File tree

2 files changed

+298
-51
lines changed

2 files changed

+298
-51
lines changed

mpv_v3/input.conf

+230-34
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,230 @@
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

mpv_v3/mpv.conf

+68-17
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,85 @@
11

2-
# MPV v3 Simplified Config
2+
# MPV v3 Config - version 1.0.10
3+
4+
# REF: https://github.com/Argon-/mpv-config/blob/master/mpv.conf
35

46
# ===== Terminal =====
57

6-
msg-color=yes # color log messages on terminal
7-
term-osd-bar=yes # displays a progress bar on the terminal
8-
cursor-autohide=400 # autohides the cursor after 400ms
8+
cursor-autohide=200 # autohides the cursor after 200ms
9+
cursor-autohide-fs-only=yes # don't autohide the cursor in window mode, only fullscreen
10+
msg-color=yes # color log messages on terminal
11+
msg-module=yes # prepend module name to log messages
12+
term-osd-bar=yes # displays a progress bar on the terminal
913

1014
# ===== OSD =====
1115

12-
# Sets a custom font
13-
# (comment out line if font change is undesired)
14-
osd-font='Iosevka'
16+
osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
17+
osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height
18+
osd-bar-w=99 # width of " " "
19+
osd-border-color='#DD322640' # ARGB format
20+
osd-border-size=2 # size for osd text and progress bar
21+
osd-color='#FFFFFFFF' # ARGB format
22+
osd-duration=2000 # hide the osd after x ms
23+
osd-font-size=32
24+
#osd-font='Arial' # sets a custom font (comment out line if font change is undesired)
25+
osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}'
1526

1627
# ===== Seeking =====
1728

18-
# Saves the seekbar position on exit
19-
save-position-on-quit=yes
29+
save-position-on-quit=yes # saves the seekbar position on exit
2030

2131
# ===== RAM =====
2232

23-
# Uses a large seekable RAM cache even for local input.
24-
cache=yes
25-
# cache-secs=300
26-
# Uses extra large RAM cache (needs cache=yes to make it useful).
27-
demuxer-max-bytes=100M
28-
demuxer-max-back-bytes=100M
33+
cache=yes # uses a large seekable RAM cache even for local input.
34+
# cache-secs=300 # uses extra large RAM cache (needs cache=yes to make it useful).
35+
demuxer-max-back-bytes=20M # sets fast seeking
36+
demuxer-max-bytes=20M # sets fast seeking
2937

3038
# ===== Audio =====
3139

32-
# Sets volume to 50%
33-
volume=50
40+
volume-max=100 # maximum volume in %, everything above 100 results in amplification
41+
volume=70 # default volume, 100 = unchanged
42+
43+
# ===== Subtitles =====
44+
45+
# Display English Subtitles if available
46+
#sub-ass-force-margins=yes
47+
#sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts
48+
#sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
49+
#sub-border-color="#FF262626"
50+
#sub-border-size=3.0
51+
#sub-color="#FFFFFFFF"
52+
#sub-shadow-color="#33000000"
53+
#sub-shadow-offset=1
54+
#sub-spacing=0.5
55+
#sub-use-margins=yes
56+
alang=en,eng # default audio languages
57+
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
58+
slang=en,eng # default subtitles languages
59+
sub-auto=all
60+
sub-color='#eaea27' # use yellow sub color (remove this line to make subtitles the default white colour)
61+
sub-file-paths-append='Subs/${filename/no-ext}' # search for external subs in these relative subdirectories
62+
sub-file-paths-append='Subs/${filename}'
63+
sub-file-paths-append='subs/${filename/no-ext}'
64+
sub-file-paths-append='subs/${filename}'
65+
sub-file-paths-append=ASS
66+
sub-file-paths-append=Ass
67+
sub-file-paths-append=SRT
68+
sub-file-paths-append=Srt
69+
sub-file-paths-append=Sub
70+
sub-file-paths-append=Subs
71+
sub-file-paths-append=Subtitles
72+
sub-file-paths-append=ass
73+
sub-file-paths-append=srt
74+
sub-file-paths-append=sub
75+
sub-file-paths-append=subs
76+
sub-file-paths-append=subtitles
77+
sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)
78+
sub-font-size=45
79+
sub-font="Arial"
80+
sub-scale-with-window=yes
3481

82+
force-seekable=yes # forces videos to be seekable
83+
hls-bitrate=max # uses max quality for HLS streams
84+
pause=yes # disables autoplay
85+
prefetch-playlist=yes # prefetches the playlist

0 commit comments

Comments
 (0)