summary refs log tree commit diff
path: root/.config/mpv
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-02 19:07:50 +0100
committerRobert Günzler <r@gnzler.io>2021-11-02 19:08:11 +0100
commitfc26959ddea2b8c39fe1183e1be8f8acaf893bc1 (patch)
tree6618e83b3ffb8269f9146ec8c582b43a51230634 /.config/mpv
parentf27a1f7141769a82b9f5925fd4c239ecd522d0f2 (diff)
mpv: update config
Diffstat (limited to '.config/mpv')
-rw-r--r--.config/mpv/config9
-rw-r--r--.config/mpv/input.conf14
2 files changed, 16 insertions, 7 deletions
diff --git a/.config/mpv/config b/.config/mpv/config
index 0e2eda3..d9791d7 100644
--- a/.config/mpv/config
+++ b/.config/mpv/config
@@ -9,7 +9,7 @@ script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
 #
 # framedrop=decoder+vo
 video-sync=display-resample
-interpolation
+# interpolation
 window-maximized=yes # prevent wayland problems with buffer resize
 hwdec=auto
 # color stuff
@@ -17,6 +17,11 @@ hwdec=auto
 # tone-mapping=mobius
 # target-peak=500
 
+# colour shit
+gamma-factor=1.1
+hdr-compute-peak=no
+gamut-clipping=no
+
 #
 # Audio
 #
@@ -96,7 +101,7 @@ ytdl-raw-options=cookies=~/Downloads/cookies.balena_google_drive.txt
 
 [hq]
 profile-desc="Optimized for HQ rendering"
-profile-cond=height <= 1440
+# profile-cond=height <= 1440
 profile=gpu-hq
 
 [anime]
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf
index d517350..7005d0f 100644
--- a/.config/mpv/input.conf
+++ b/.config/mpv/input.conf
@@ -65,7 +65,7 @@ V cycle sub-visibility  #! sub > visibility
 
 # PLAYER BINDINGS
 i script-binding stats/display-stats-toggle                   #! stats
-G screenshot                                                  #! utils > screenshot > default
+Ctrl+g screenshot                                                  #! utils > screenshot > default
 Alt+g screenshot video                                        #! utils > screenshot > video
 
 A cycle-values video-aspect "16:9" "4:3" "21:9" "2.35:1" "-1" #! utils > aspect-ratio
@@ -91,6 +91,8 @@ Shift+- add volume -5
 } multiply speed 2.0            #! utils > speed > -50%
 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
 
@@ -102,7 +104,7 @@ B vf toggle gradfun #! fx > gradfun
 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
-U script_binding uosc/menu
+; script_binding uosc/menu
 Enter script_binding uosc/menu
 P script-binding uosc/playlist  #! select > playlist
 C script-binding uosc/chapters  #! select > chapters
@@ -114,19 +116,21 @@ 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
+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
 
 # 1 ignore
 # 2 ignore
 3 ignore
 4 ignore
-5 ignore
+# 5 ignore
 6 ignore
 7 ignore
 8 ignore
 9 ignore
 
+5 cycle-values gamma-factor 1.0 1.1 1.2
+
 Ctrl+Shift+0 apply-profile reset         #! profiles > reset
 Ctrl+Shift+4 apply-profile interpolate   #! profiles > interpolate
 Ctrl+Shift+2 apply-profile cache         #! profiles > cache