Skip to content

Instantly share code, notes, and snippets.

@JySzE
Last active May 2, 2024 16:38
Show Gist options
  • Save JySzE/ced7f506629c32f44adf4fe43a341189 to your computer and use it in GitHub Desktop.
Save JySzE/ced7f506629c32f44adf4fe43a341189 to your computer and use it in GitHub Desktop.
JySzE MPV input.conf for mpv-menu-plugin by tsl0922
# Version 1.3
# 05/02/2024
Ctrl+o script-message-to dialog open #menu: Open > Files...
Ctrl+O script-message-to dialog open-folder #menu: Open > Folder...
_ script-message-to dialog open append #menu: Open > Add To Playlist...
_ ignore #menu: Open > -
_ script-message-to dialog open bd-iso #menu: Open > Bluray ISO...
_ script-message-to dialog open dvd-iso #menu: Open > DVD ISO...
_ ignore #menu: -
Space cycle pause #menu: Play #@state=(idle_active and 'disabled' or (pause or 'hidden'))
Space cycle pause #menu: Pause #@state=((idle_active or pause) and 'hidden')
Ctrl+s stop #menu: Stop #@state=(idle_active and 'disabled')
_ ignore #menu: -
F12 playlist-next #menu: Navigate > Next File
F11 playlist-prev #menu: Navigate > Previous File
_ ignore #menu: Navigate > -
PGUP add chapter 1 #menu: Navigate > Next Chapter
PGDWN add chapter -1 #menu: Navigate > Previous Chapter
_ ignore #menu: Navigate > -
. frame-step #menu: Navigate > Jump Next Frame
, frame-back-step #menu: Navigate > Jump Previous Frame
_ ignore #menu: Navigate > -
Right seek 5 #menu: Navigate > Jump 5 sec forward
Left seek -5 #menu: Navigate > Jump 5 sec backward
_ ignore #menu: Navigate > -
Up seek 30 #menu: Navigate > Jump 30 sec forward
Down seek -30 #menu: Navigate > Jump 30 sec backward
_ ignore #menu: Navigate > -
Ctrl+Right seek 300 #menu: Navigate > Jump 5 min forward
Ctrl+Left seek -300 #menu: Navigate > Jump 5 min backward
_ ignore #menu: -
_ ignore #menu: Chapters #@chapters
_ ignore #menu: Playlist #@playlist
_ ignore #menu: -
_ ignore #menu: Tracks #@tracks
_ ignore #menu: -
_ cycle video #menu: Video > Next Track
Ctrl+1 add contrast -1 #menu: Video > Decrease Contrast
Ctrl+2 add contrast 1 #menu: Video > Increase Contrast
_ ignore #menu: Video > -
Ctrl+3 add brightness -1 #menu: Video > Decrease Brightness
Ctrl+4 add brightness 1 #menu: Video > Increase Brightness
_ ignore #menu: Video > -
Ctrl+5 add gamma -1 #menu: Video > Decrease Gamma
Ctrl+6 add gamma 1 #menu: Video > Increase Gamma
_ ignore #menu: Video > -
Ctrl+7 add saturation -1 #menu: Video > Decrease Saturation
Ctrl+8 add saturation 1 #menu: Video > Increase Saturation
_ ignore #menu: Video > -
Ctrl+s async screenshot #menu: Video > Take Screenshot #@state=(tonumber(vid) or 'disabled')
Ctrl+S async screenshot video #menu: Video > Take Screenshot (without subtitles) #@state=(tonumber(vid) or 'disabled')
_ ignore #menu: Video > -
_ set video-aspect-override 16:9 #menu: Video > Aspect Ratio > 16:9
_ set video-aspect-override 4:3 #menu: Video > Aspect Ratio > 4:3
_ set video-aspect-override 2.35:1 #menu: Video > Aspect Ratio > 2.35:1
_ set video-aspect-override -1 #menu: Video > Aspect Ratio > Reset
a cycle-values video-aspect-override 16:9 4:3 2.35:1 -1
Ctrl+r cycle-values video-rotate 90 180 270 0 #menu: Video > Rotate Video
d cycle deinterlace #menu: Video > Toggle Deinterlace #@state=(deinterlace and 'checked')
Ctrl+I cycle icc-profile-auto #menu: Video > Toggle Auto ICC Profile #@state=(icc_profile_auto and 'checked')
Ctrl+d add audio-delay 0.1 #menu: Audio > Delay +0.1
Ctrl+D add audio-delay -0.1 #menu: Audio > Delay -0.1
_ ignore #menu: Audio > -
_ ignore #menu: Audio > Devices #@audio-devices
v cycle sub-visibility #menu: Subtitle > Subtitle Options > Visibility #@state=(sub_visibility and 'checked')
_ ignore #menu: Subtitle > Subtitle Options > -
z add sub-delay -0.1 #menu: Subtitle > Subtitle Options > Delay -0.1
Z add sub-delay 0.1 #menu: Subtitle > Subtitle Options > Delay +0.1
_ ignore #menu: Subtitle > Subtitle Options > -
r add sub-pos -1 #menu: Subtitle > Subtitle Options > Move Up
R add sub-pos +1 #menu: Subtitle > Subtitle Options > Move Down
_ ignore #menu: Subtitle > -
F add sub-scale -0.1 #menu: Subtitle > Decrease Subtitle Font Size
G add sub-scale 0.1 #menu: Subtitle > Increase Subtitle Font Size
_ ignore #menu: -
Ctrl++ add video-zoom 0.1 #menu: Pan & Scan > Increase Size
Ctrl+- add video-zoom -0.1 #menu: Pan & Scan > Decrease Size
_ ignore #menu: Pan & Scan > -
Ctrl+KP4 add video-pan-x -0.01 #menu: Pan & Scan > Move Left
Ctrl+KP6 add video-pan-x 0.01 #menu: Pan & Scan > Move Right
_ ignore #menu: Pan & Scan > -
Ctrl+KP8 add video-pan-y -0.01 #menu: Pan & Scan > Move Up
Ctrl+KP2 add video-pan-y 0.01 #menu: Pan & Scan > Move Down
_ ignore #menu: Pan & Scan > -
w add panscan -0.1 #menu: Pan & Scan > Decrease Height
W add panscan 0.1 #menu: Pan & Scan > Increase Height
_ ignore #menu: Pan & Scan > -
Ctrl+BS set video-zoom 0; set video-pan-x 0; set video-pan-y 0 #menu: Pan & Scan > Reset
[ multiply speed 1/1.1 #menu: Speed > -10%
] multiply speed 1.1 #menu: Speed > +10%
_ ignore #menu: Speed > -
{ multiply speed 0.5 #menu: Speed > Half
} multiply speed 2.0 #menu: Speed > Double
_ ignore #menu: Speed > -
_ set speed 0.5 #menu: Speed > 0.5x
_ set speed 0.75 #menu: Speed > 0.75x
_ set speed 1.0 #menu: Speed > 1.0x
_ set speed 1.25 #menu: Speed > 1.25x
_ set speed 1.5 #menu: Speed > 1.5x
_ set speed 2.0 #menu: Speed > 2.0x
_ ignore #menu: Speed > -
BS set speed 1 #menu: Speed > Reset
+ add volume 2 #menu: Volume > Up
- add volume -2 #menu: Volume > Down
_ ignore #menu: Volume > -
m cycle mute #menu: Volume > Mute #@state=(mute and 'checked')
_ ignore #menu: -
Alt++ add window-scale 0.1 #menu: View > Zoom > Enlarge
Alt+- add window-scale -0.1 #menu: View > Zoom > Shrink
_ ignore #menu: View > Zoom > -
Alt+0 set window-scale 0.5 #menu: View > Zoom > 50 %
Alt+1 set window-scale 1.0 #menu: View > Zoom > 100 %
Alt+2 set window-scale 2.0 #menu: View > Zoom > 200 %
Alt+3 set window-scale 3.0 #menu: View > Zoom > 300 %
_ ignore #menu: View > -
t script-binding stats/display-stats-toggle #menu: View > Toggle Statistics
O no-osd cycle-values osd-level 3 1 #menu: View > Toggle Time OSD
Del script-binding osc/visibility #menu: View > Toggle OSC Visibility
_ ignore #menu: View > -
p show-progress #menu: View > Show Progress
` script-binding console/enable #menu: View > Show Console
b cycle border #menu: Window > Toggle Border #@state=(border and 'checked')
Ctrl+t cycle ontop #menu: Window > Toggle On Top #@ontop:check #@state=(ontop and 'checked')
_ script-message-to dialog set-clipboard ${path} #menu: Tools > Copy File Path
_ ignore #menu: Tools > -
_ playlist-shuffle #menu: Tools > Shuffle Playlist
_ script-message-to dialog save playlist #menu: Tools > Export Playlist
_ ignore #menu: Tools > -
l ab-loop #menu: Tools > Set/clear A-B loop points
L cycle-values loop-file inf no #menu: Tools > Toggle infinite file looping
_ ignore #menu: Tools > -
_ ignore #menu: Tools > -
Q quit-watch-later #menu: Tools > Exit Watch Later
_ ignore #menu: -
q quit #menu: Exit
Esc cycle fullscreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment