Add mpv configuration

This commit is contained in:
Wiktor Zykubek 2020-05-19 13:04:58 +02:00
parent c1a576141a
commit afcd9a49e0
2 changed files with 51 additions and 1 deletions

41
.config/mpv/input.conf Normal file
View File

@ -0,0 +1,41 @@
# vim ft=conf
l seek 5
h seek -5
Shift+l seek 60
Shift+h seek -60
k cycle sub
j cycle sub down
v cycle sub-visibility
Shift+k add video-zoom 0.1
Shift+j add video-zoom -0.1
5 ignore
6 ignore
1 add contrast 1
Ctrl+1 add contrast -1
2 add brightness 1
Ctrl+2 add brightness -1
3 add gamma 1
Ctrl+3 add gamma -1
4 add saturation 1
Ctrl+4 add saturation -1
0 add volume 1
Ctrl+0 add volume -1
q quit
m cycle mute
? show-progress
> playlist-next
< playlist-prevs
s screenshot
S screenshot video
[ multiply speed 0.9091
] multiply speed 1.1
n set speed 1.0

View File

@ -1,2 +1,11 @@
hwdec = auto
# vim ft=conf
hwdec = auto # hardware decoding
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
fs=yes # start in full screen mode
slang=en # display english subtitles if available
save-position-on-quit