diff options
| author | Robert Günzler <r@gnzler.io> | 2020-05-19 21:46:56 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-05-19 21:46:56 +0200 |
| commit | c37b56c0ce7e4d4e7c9c2e13c18f211020ae2af1 (patch) | |
| tree | 781704d41f38cc7ce18094854d19ed669f713345 /.config/mpv/input.conf | |
| parent | bf853f3609033112401524085bb3e6cae35e5136 (diff) | |
mpv: use uosc
Diffstat (limited to '.config/mpv/input.conf')
| -rw-r--r-- | .config/mpv/input.conf | 73 |
1 files changed, 38 insertions, 35 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf index 99958ba..2af90bc 100644 --- a/.config/mpv/input.conf +++ b/.config/mpv/input.conf @@ -16,7 +16,9 @@ HOME seek 0 absolute-percent END seek 100 absolute-percent Shift+RIGHT playlist-next +n playlist-next #! playlist > next Shift+LEFT playlist-prev +p playlist-prev #! playlist > prev Alt+RIGHT frame-step Alt+LEFT frame-back-step @@ -25,8 +27,8 @@ 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 +PGUP add chapter 1 #! chapter > next +PGDWN add chapter -1 #! chapter > prev # Meta+UP add chapter 1 # Meta+DOWN add chapter -1 Shift+PGUP seek 600 @@ -34,11 +36,13 @@ Shift+PGDWN seek -600 Alt+PGUP add sub-pos -1 Alt+PGDWN add sub-pos +1 +MBTN_RIGHT script_binding uosc/menu + 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 +Ctrl+c script_binding slicing/slicing_mark #! slicing > mark +Ctrl+a script_binding slicing/slicing_audio #! slicing > audio W ignore -Ctrl+W script_binding webm/display-webm-encoder +Ctrl+W script_binding webm/display-webm-encoder #! ... > webm encoder # A/V/S BINDINGS a cycle audio @@ -46,35 +50,34 @@ 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 #! sub > cycle 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 +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 + +u cycle-values sub-ass-override "force" "strip" "no" #! sub > ass override +U cycle sub-visibility #! sub > hide 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 +i script-binding stats/display-stats-toggle #! ... > stats +g screenshot #! screenshot +G screenshot video -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" +# T cycle ontop +# H cycle-values hwdec auto no +A cycle-values video-aspect "16:9" "4:3" "21:9" "2.35:1" "-1" #! aspect-ratio +c cycle-values audio-channels "auto-safe" "auto" "stereo" #! audio channels q quit -Q quit-watch-later # saves playback position to resume later +Q quit-watch-later #! watch later = add volume 10 Shift+= add volume 5 @@ -84,22 +87,22 @@ Shift+- add volume -5 > frame-step < frame-back-step -l cycle-values loop-file yes no +l cycle-values loop-file yes no #! loop > file +L ab-loop #! loop > A-B # VAPOURSYNTH/FILTER BINDINGS # banding -b cycle deband -B vf toggle gradfun +b cycle deband #! ... > deband +B vf toggle gradfun #! ... > gradfun # interpolation -P vf toggle format=yuv420p,vapoursynth=~/.dotfiles/scripts/motioninterpolation.vpy:4:4 +P vf toggle format=yuv420p,vapoursynth=~~/interpolate.vpy:4:4 #! ... > 60fps +# P cycle-values profile svp, # binaural correction -h cycle-values af lavfi=[bs2b=profile=default] lavfi=[bs2b=profile=jmeier] lavfi=[bs2b=profile=cmoy] lavfi=[earwax] "" +h cycle-values af lavfi=[bs2b=profile=default] lavfi=[bs2b=profile=jmeier] lavfi=[bs2b=profile=cmoy] lavfi=[earwax] "" #! ... > bs2b WHEEL_UP seek -5 WHEEL_DOWN seek 5 -0 script_binding mouse_coords +0 script_binding mouse_coords #! ... > mouse coords # 8 script_binding mouse_coords/set # 9 script_binding mouse_coords/measure - -: script-message-to console type "" |