168 lines
8.9 KiB
Plaintext
168 lines
8.9 KiB
Plaintext
# mpv keybindings
|
|
|
|
p cycle pause
|
|
m cycle mute; script-binding uosc/flash-volume
|
|
9 no-osd add volume -2; script-binding uosc/flash-volume
|
|
0 no-osd add volume 2; script-binding uosc/flash-volume
|
|
|
|
h cycle deband
|
|
t cycle-values target-trc "auto" "srgb" "gamma1.8" "gamma2.0" "gamma2.2" "gamma2.4" "gamma2.6" "gamma2.8"
|
|
x cycle-values audio-channels "auto-safe" "stereo"
|
|
o cycle video-unscaled
|
|
Y cycle sub-font-provider
|
|
y async run /bin/execlineb -Pc 'pipeline { echo ${path} } clipboard' ; show-text "path copied to clipboard"
|
|
Ctrl+y async run hikari -c '${path}' ; show-text "uploading ${path} to hikari"
|
|
² script-binding console/enable
|
|
: script-binding console/enable
|
|
P script-binding catch_up
|
|
Ctrl+p script-binding increase_catch_up
|
|
Ctrl+P script-binding decrease_catch_up
|
|
Ctrl+v cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
|
|
C script-binding add_chapter
|
|
|
|
# precise audio/sub delay
|
|
a add audio-delay +0.050
|
|
A add audio-delay -0.050
|
|
z add sub-delay +0.050
|
|
Z add sub-delay -0.050
|
|
Ctrl+BS set audio-delay 0.000 ; set sub-delay 0.000
|
|
|
|
# track reloading
|
|
R sub-reload
|
|
Ctrl+r script-binding quality_menu/reload
|
|
Alt+r rescan-external-files
|
|
|
|
# sub seeking
|
|
Ctrl+LEFT sub-seek -1
|
|
Ctrl+RIGHT sub-seek 1
|
|
Ctrl+DOWN sub-seek 0
|
|
|
|
# override subtitle style
|
|
Ctrl+u cycle-values sub-ass-force-style "" "FontName=Gandhi Sans,FontSize=74,PlayResY=1080,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=100,MarginR=100,MarginV=56,Outline=3.6,Shadow=1.5,AlphaLevel=1,Bold=1,Kerning=yes" "FontName=Gandhi Sans,FontSize=25,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=40,MarginR=40,MarginV=18,Outline=1.2,Shadow=0.5,AlphaLevel=1,Bold=1,Kerning=yes" "FontName=Gandhi Sans,FontSize=50,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=80,MarginR=80,MarginV=36,Outline=2.4,Shadow=1.0,AlphaLevel=1,Bold=1,Kerning=yes"
|
|
u cycle-values sub-ass-override no yes force
|
|
|
|
# hardware decoding
|
|
Ctrl+h cycle-values hwdec "no" "vulkan" "vulkan-copy"
|
|
|
|
# i am speed
|
|
k add speed 0.05
|
|
K add speed -0.05
|
|
Ctrl+k multiply speed 2.0
|
|
Ctrl+K multiply speed 0.5
|
|
BS set speed 1.0
|
|
|
|
# loop playlist
|
|
Ctrl+l cycle-values loop-playlist inf no
|
|
|
|
# move
|
|
Alt+h add video-pan-x 0.05
|
|
Alt+l add video-pan-x -0.05
|
|
Alt+k add video-pan-y 0.05
|
|
Alt+j add video-pan-y -0.05
|
|
Alt+J add video-zoom 0.1
|
|
Alt+K add video-zoom -0.1
|
|
|
|
# track control
|
|
j cycle sub # cycle through subtitles
|
|
J cycle sub down # ...backwards
|
|
Ctrl+j cycle audio
|
|
Ctrl+J cycle audio down
|
|
|
|
# poteto
|
|
Ctrl+s set screenshot-format png ; screenshot ; set screenshot-format webp
|
|
Ctrl+S set screenshot-format png ; screenshot video ; set screenshot-format webp
|
|
|
|
WHEEL_UP ignore
|
|
WHEEL_DOWN ignore
|
|
MBTN_RIGHT ignore
|
|
! ignore
|
|
@ ignore
|
|
NEXT ignore
|
|
PREV ignore
|
|
q ignore
|
|
|
|
O script-message-to uosc toggle-elements timeline,top_bar
|
|
Ctrl+o no-osd cycle-values osd-level 3 1
|
|
|
|
Ctrl+f script-binding quality_menu/video_formats_toggle
|
|
Alt+f script-binding quality_menu/audio_formats_toggle
|
|
|
|
M script-binding uosc/menu
|
|
SPACE script-binding uosc/menu
|
|
menu script-binding uosc/menu
|
|
mbtn_right script-binding uosc/menu
|
|
#
|
|
# script-binding uosc/open-file #! Open file
|
|
Alt+s script-binding uosc/subtitles #! Select subtitles
|
|
Alt+a script-binding uosc/audio #! Select audio
|
|
|
|
# #! ---
|
|
|
|
# #! Aspect ratio > Aspect ratio
|
|
# set video-aspect-override "-1" #! Aspect ratio > Default
|
|
# set video-aspect-override "16:9" #! Aspect ratio > 16:9
|
|
# set video-aspect-override "4:3" #! Aspect ratio > 4:3
|
|
# set video-aspect-override "2.35:1" #! Aspect ratio > 2.35:1
|
|
|
|
# groupwatch_sync
|
|
# #! Groupwatch > Groupwatch
|
|
Ctrl+Shift+g script-binding groupwatch_sync/groupwatch_set_time #! Groupwatch > Set start time
|
|
Ctrl+g script-binding groupwatch_sync/groupwatch_sync #! Groupwatch > Sync
|
|
# script-binding groupwatch_sync/groupwatch_jump #! Groupwatch > Jump
|
|
# script-binding groupwatch_sync/groupwatch_start_here #! Groupwatch > Start here
|
|
# script-binding groupwatch_sync/groupwatch_start #! Groupwatch > Start
|
|
|
|
# #! Scalers > Scalers
|
|
# set scale lanczos; set dscale hermite; set cscale bilinear #! Scalers > default scalers
|
|
b set scale bilinear; set cscale bilinear; set dscale bilinear #! Scalers > bilinear scaler
|
|
B set scale nearest; set cscale nearest; set dscale nearest #! Scalers > nearest scaler
|
|
# set scale bicubic_fast #! Scalers > bicubic_fast luma scaler
|
|
# set cscale sinc #! Scalers > sinc chroma scaler
|
|
# set cscale bilinear #! Scalers > bilinear chroma scaler
|
|
# set cscale nearest #! Scalers > nearest chroma scaler
|
|
|
|
# shaders
|
|
# #! Shaders > Shaders
|
|
g cycle-values deband-grain 48 24 0 #! Shaders > Deband grain
|
|
G change-list glsl-shaders toggle ~~/shaders/noise_static_luma.hook.glsl #! Shaders > Grain
|
|
r change-list glsl-shaders toggle ~~/shaders/ravu-lite-r4.hook #! Shaders > Ravu
|
|
# change-list glsl-shaders toggle ~~/shaders/SSimSuperRes.glsl ; change-list glsl-shaders toggle ~~/shaders/SSimDownscaler.glsl #! Shaders > SSimSuperRes
|
|
# change-list glsl-shaders toggle ~~/shaders/FSRCNNX_x2_8-0-4-1.glsl #! Shaders > FSRCNNX 8
|
|
# change-list glsl-shaders toggle ~~/shaders/FSRCNNX_x2_16-0-4-1.glsl #! Shaders > FSRCNNX 16
|
|
# change-list glsl-shaders toggle ~~/shaders/FSRCNNX_x2_56-16-4-1.glsl #! Shaders > FSRCNNX 56
|
|
# change-list glsl-shaders toggle ~~/shaders/KrigBilateral.glsl #! Shaders > KrigBilateral
|
|
# change-list glsl-shaders toggle ~~/shaders/nnedi3-nns32-win8x6.hook #! Shaders > NNEDI3 nns32
|
|
# change-list glsl-shaders toggle ~~/shaders/nnedi3-nns64-win8x6.hook #! Shaders > NNEDI3 nns64
|
|
# change-list glsl-shaders toggle ~~/shaders/nnedi3-nns256-win8x6.hook #! Shaders > NNEDI3 nns256
|
|
|
|
# override subtitle style
|
|
# #! Style overrides > Style overrides
|
|
# set sub-ass-force-style "" #! Style overrides > Default subtitle style
|
|
# set sub-ass-force-style "FontName=Gandhi Sans,FontSize=74,PlayResY=1080,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=100,MarginR=100,MarginV=56,Outline=3.6,Shadow=1.5,AlphaLevel=1,Bold=1,Kerning=yes" #! Style overrides > 1080p subtitle style
|
|
# set sub-ass-force-style "FontName=Gandhi Sans,FontSize=50,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=80,MarginR=80,MarginV=36,Outline=2.4,Shadow=1.0,AlphaLevel=1,Bold=1,Kerning=yes" #! Style overrides > 720p subtitle style
|
|
# set sub-ass-force-style "FontName=Gandhi Sans,FontSize=25,PrimaryColour=&HFFFFFF,SecondaryColour=&HFFFFFF,TertiaryColour=&H000000,OutlineColour=&H000000,BackColour=&H000000,MarginL=40,MarginR=40,MarginV=18,Outline=1.2,Shadow=0.5,AlphaLevel=1,Bold=1,Kerning=yes" #! Style overrides > 480p subtitle style
|
|
u cycle-values sub-ass-override no yes force
|
|
|
|
# audio filters
|
|
# #! Audio filters > Audio filters
|
|
# #! Audio filters > Downmix > Downmix
|
|
# set af "" ; set ad-lavc-downmix yes #! Audio filters > Downmix > Default downmix
|
|
# set af "lavfi=pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE" ; set ad-lavc-downmix no #! Audio filters > Downmix > pan downmix
|
|
# set af "lavfi=pan=stereo|FL=0.707*FC+0.5*FL+0.5*BL+0.1*LFE|FR=0.707*FC+0.5*FR+0.5*BR+0.1*LFE" #! Audio filters > Downmix > pan2 downmix
|
|
n change-list af toggle loudnorm=I=-16:LRA=11:TP=-1.5 #! Audio filters > Loudnorm
|
|
|
|
|
|
# skip silence
|
|
# script-message-to skipsilence enable no-osd; apply-profile skipsilence-default; show-text "skipsilence profile: default" #! Skip silence > Default
|
|
# script-message-to skipsilence enable no-osd; apply-profile skipsilence-smooth; show-text "skipsilence profile: default" #! Skip silence > Smooth
|
|
# script-message-to skipsilence enable no-osd; apply-profile skipsilence-extreme; show-text "skipsilence profile: default" #! Skip silence > Extreme
|
|
# script-message-to skipsilence enable no-osd; apply-profile skipsilence-patient; show-text "skipsilence profile: default" #! Skip silence > Patient
|
|
|
|
# #! ---
|
|
|
|
u script-message-to youtube_upnext menu #! Youtube recommendations
|
|
|
|
# script-binding uosc/keybinds #! Keybindings
|
|
|
|
tab script-binding uosc/playlist
|