summary refs log tree commit diff
path: root/.config/mpv/input.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2023-09-29 07:09:17 +0200
committerRobert Günzler <r@gnzler.io>2023-09-29 07:09:17 +0200
commit237a091e44908615df0955243412d50cf49ecf2e (patch)
treebf8325a7fd09ebef96450fdb43bf1d4910bf5869 /.config/mpv/input.conf
parentf5c219983c0f60a07f1bd52b6f6071e86f35455e (diff)
update mpv config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/mpv/input.conf')
-rw-r--r--.config/mpv/input.conf110
1 files changed, 67 insertions, 43 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf
index 76b3e25..3cb6e76 100644
--- a/.config/mpv/input.conf
+++ b/.config/mpv/input.conf
@@ -3,8 +3,9 @@
 # taken from the default config
 ESC set fullscreen no
 f cycle fullscreen
-SPACE cycle pause  #! controls > pause/play
-m cycle mute  #! controls > mute
+
+SPACE cycle pause  #! pause/play
+m cycle mute       #! controls > mute
 
 # ARROW KEY BINDINGS
 LEFT  seek -10 exact
@@ -12,6 +13,11 @@ RIGHT seek  10 exact
 DOWN  seek -60 exact
 UP    seek  60 exact
 
+WHEEL_UP         seek -10 exact
+WHEEL_DOWN       seek  10 exact
+Shift+WHEEL_UP   seek -60 exact
+Shift+WHEEL_DOWN seek  60 exact
+
 h seek -10 keyframes
 j seek -60 keyframes
 k seek  60 keyframes
@@ -34,23 +40,18 @@ p playlist-prev  #! controls > playlist prev
 Ctrl+< seek -1 keyframes
 Ctrl+> seek  1 keyframes
 
-Shift+UP        add volume 10
-Shift+DOWN      add volume -10
-Alt+UP          add volume 5
-Alt+DOWN        add volume -5
-
-PGUP            add chapter 1  #! controls > chapter next
-PGDWN           add chapter -1  #! controls > chapter prev
-Shift+PGUP      seek  600 keyframes
-Shift+PGDWN     seek -600 keyframes
-Alt+PGUP        add sub-pos -1
-Alt+PGDWN       add sub-pos +1
+Shift+UP   add volume 10
+Shift+DOWN add volume -10
+Alt+UP     add volume 5
+Alt+DOWN   add volume -5
 
-WHEEL_UP seek -5
-WHEEL_DOWN seek 5
+L           add chapter 1  #! controls > chapter next
+H           add chapter -1  #! controls > chapter prev
+PGUP        add chapter 1
+PGDWN       add chapter -1
 
 a cycle audio
-A script-binding uosc/audio               #! select > audio
+A script-binding uosc/audio #! select > audio
 D cycle deinterlace
 
 v ignore
@@ -68,8 +69,10 @@ 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
+Ctrl+z sub-step -1                        #! delay > sub-step -1
+Ctrl+x sub-step 1                         #! delay > sub-step +1
 
-Ctrl+Shift+u cycle-values sub-ass-override "force" "strip" "no"  #! sub > ass override
+u cycle-values sub-ass-override "scale" "force" "strip" "no"  #! sub > ass override
 V cycle sub-visibility  #! sub > visibility
 # Meta+s cycle sub-ass-force-margins
 
@@ -87,45 +90,66 @@ q stop
 Shift+q quit
 Q quit-watch-later  #! watch later
 
+Ctrl+BS revert-seek mark-permanent
+
 = add volume 10
 Shift+= add volume 5
 - add volume -10
 Shift+- add volume -5
 
-[ multiply speed 1/1.1          #! utils > speed > -10%
-] multiply speed 1.1            #! utils > speed > +10%
-{ multiply speed 0.5            #! utils > speed > -50%
-} multiply speed 2.0            #! utils > speed > +50%
-BS set speed 1.0                #! utils > speed > reset
+[ multiply speed 1/1.1          #! utils > speed > -10%%
+] multiply speed 1.1            #! utils > speed > +10%%
+{ multiply speed 0.5            #! utils > speed > -50%%
+} multiply speed 2.0            #! utils > speed > +50%%
+Alt+BS set speed 1.0                #! utils > speed > reset
 
 M cycle-values vf setpts=(2/1)*PTS setpts=(4/1)*PTS setpts=(1/2)*PTS setpts=(1/4)*PTS setpts=(1/8)*PTS ""
 
-L cycle-values loop-file yes no #! loop > file
-Ctrl+l ab-loop                  #! loop > A-B
+Alt+l-f cycle-values loop-file yes no #! loop > file
+Alt+l-l ab-loop                       #! loop > A-B
 
 # VAPOURSYNTH/FILTER BINDINGS
 # banding
-b cycle deband      #! fx > deband
-B vf toggle gradfun #! fx > gradfun
-# binaural correction
-H cycle-values af lavfi=[bs2b=profile=default] lavfi=[bs2b=profile=jmeier] lavfi=[bs2b=profile=cmoy] lavfi=[earwax] ""  #! fx > bs2b
-
-MBTN_RIGHT script_binding uosc/menu
-; script_binding uosc/menu
+b ignore
+B ignore
+F1 af toggle asubcut   #! fx > a:subcut
+F2 af toggle loudnorm  #! fx > a:loudnorm
+F3 af toggle earwax    #! fx > a:earwax
+F4 vf toggle bwdif     #! fx > v:deinterlace
+
+# uosc
+Ctrl+SPACE script_binding uosc/toggle-ui
+MBTN_RIGHT_DBL script_binding uosc/menu
+: script_binding uosc/menu
 Enter script_binding uosc/menu
-P script-binding uosc/playlist  #! select > playlist
+P script-binding uosc/items     #! select > playlist
 C script-binding uosc/chapters  #! select > chapters
-Tab script-binding uosc/peek-timeline
-
-Alt+w script-binding webm/display-webm-encoder #! utils > webm encoder
-Alt+e script-binding slicing/slicing_audio     #! utils > slicing > audio
-Alt+r script-binding slicing/slicing_mark      #! utils > slicing > mark
-Alt+t script-binding autodeint                 #! utils > autodeint
-Alt+y script-binding autocrop/toggle_crop      #! utils > autocrop
-Alt+m script-binding mouse_coords              #! utils > mouse coords
-g script-message contact-sheet-close; script-message playlist-view-toggle #! utils > playlist view
-c script-message playlist-view-close; script-message contact-sheet-toggle #! utils > contact sheet
-y-y script_binding yanktime/yanktime  #! utils > yanktime
+o script-binding uosc/open-file #! select > file...
+
+# various
+Alt+w script-binding webm/display-webm-encoder   #! utils > webm encoder
+Alt+s-a script-binding slicing/slicing_audio     #! utils > slicing > audio
+Alt+s-m script-binding slicing/slicing_mark      #! utils > slicing > mark
+Alt+a-d script-binding autodeint                 #! utils > autodeint
+Alt+a-c script-binding autocrop/toggle_crop      #! utils > autocrop
+Alt+m-c script-binding mouse_coords              #! utils > mouse coords
+
+# gallery
+# g script-message contact-sheet-close; script-message playlist-view-toggle #! utils > playlist view
+# c script-message playlist-view-close; script-message contact-sheet-toggle #! utils > contact sheet
+
+# yanktime
+y-y script_binding yanky/yanktime  #! utils > yanktime
+y-p script_binding yanky/yankpath  #! utils > yankpath
+y-s script_binding yanky/yanksubs  #! utils > yanksubs
+
+# sponsorblock
+Alt+b-g script_binding sponsorblock/set_segment         #! sponsorblock > set
+Alt+b-G script_binding sponsorblock/submit_segment      #! sponsorblock > submit
+Alt+b-u script_binding sponsorblock/upvote_segment      #! sponsorblock > upvote
+Alt+b-UP script_binding sponsorblock/upvote_segment     #! sponsorblock > upvote
+Alt+b-d script_binding sponsorblock/downvote_segment    #! sponsorblock > downvote
+Alt+b-DOWN script_binding sponsorblock/downvote_segment #! sponsorblock > downvote
 
 # 1 ignore
 # 2 ignore