Advertisement
EmpirixDZ

input.conf

Aug 25th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.45 KB | None | 0 0
  1.  
  2. # This file defines the key and mouse bindings and the context menu of mpv.net.
  3.  
  4. # A input and config editor can be found in the context menu under 'Settings'.
  5.  
  6. # The mpv.conf defaults of mpv.net contain: 'input-default-bindings = no'
  7. # which disables the input defaults of mpv.
  8.  
  9. # Every line in this file begins with a space character to make search easier,
  10. # if you want to know if 'o' has already a binding you can search for ' o '.
  11.  
  12. # input test mode:
  13. # mpvnet --input-test
  14.  
  15. # The input key list can be found in the context menu under: View > Show Keys
  16.  
  17. # mpv.net input.conf defaults:
  18. # https://github.com/stax76/mpv.net/blob/master/src/Resources/input.conf.txt
  19.  
  20. # mpv input.conf defaults:
  21. # https://github.com/mpv-player/mpv/blob/master/etc/input.conf
  22.  
  23. # mpv input commands:
  24. # https://mpv.io/manual/master/#list-of-input-commands
  25.  
  26. # mpv input options:
  27. # https://mpv.io/manual/master/#input
  28.  
  29. o script-message mpv.net open-files #menu: Open > Open Files...
  30. u script-message mpv.net open-url #menu: Open > Open URL or file path from clipboard
  31. _ script-message mpv.net open-optical-media #menu: Open > Open DVD/Blu-ray Drive/Folder...
  32. _ ignore #menu: Open > -
  33. Alt+a script-message mpv.net load-audio #menu: Open > Load external audio files...
  34. Alt+s script-message mpv.net load-sub #menu: Open > Load external subtitle files...
  35. _ ignore #menu: Open > -
  36. _ script-message mpv.net open-files append #menu: Open > Add files to playlist...
  37. F3 script-message mpv.net show-media-search #menu: Open > Show media search...
  38. _ ignore #menu: Open > -
  39. _ ignore #menu: Open > Recent
  40. _ ignore #menu: -
  41. Space cycle pause #menu: Play/Pause
  42. s stop #menu: Stop
  43. _ ignore #menu: -
  44. Enter cycle fullscreen #menu: Toggle Fullscreen
  45. F11 playlist-prev #menu: Navigate > Previous File
  46. F12 playlist-next #menu: Navigate > Next File
  47. _ ignore #menu: Navigate > -
  48. Home script-message mpv.net playlist-first #menu: Navigate > First File
  49. End script-message mpv.net playlist-last #menu: Navigate > Last File
  50. _ ignore #menu: Navigate > -
  51. PGUP add chapter 1 #menu: Navigate > Next Chapter
  52. PGDWN add chapter -1 #menu: Navigate > Previous Chapter
  53. _ ignore #menu: Navigate > -
  54. ; frame-step #menu: Navigate > Jump Next Frame
  55. , frame-back-step #menu: Navigate > Jump Previous Frame
  56. _ ignore #menu: Navigate > -
  57. Right seek 7 #menu: Navigate > Jump 7 sec forward
  58. Left seek -7 #menu: Navigate > Jump 7 sec backward
  59. _ ignore #menu: Navigate > -
  60. Up seek 40 #menu: Navigate > Jump 40 sec forward
  61. Down seek -40 #menu: Navigate > Jump 40 sec backward
  62. _ ignore #menu: Navigate > -
  63. Ctrl+Right seek 300 #menu: Navigate > Jump 5 min forward
  64. Ctrl+Left seek -300 #menu: Navigate > Jump 5 min backward
  65. _ ignore #menu: Navigate > -
  66. _ ignore #menu: Navigate > Titles
  67. _ ignore #menu: Navigate > Chapters
  68. Ctrl++ add video-zoom 0.1 #menu: Pan & Scan > Increase Size
  69. Ctrl+- add video-zoom -0.1 #menu: Pan & Scan > Decrease Size
  70. _ ignore #menu: Pan & Scan > -
  71. Ctrl+KP4 add video-pan-x -0.01 #menu: Pan & Scan > Move Left
  72. Ctrl+KP6 add video-pan-x 0.01 #menu: Pan & Scan > Move Right
  73. _ ignore #menu: Pan & Scan > -
  74. Ctrl+KP8 add video-pan-y -0.01 #menu: Pan & Scan > Move Up
  75. Ctrl+KP2 add video-pan-y 0.01 #menu: Pan & Scan > Move Down
  76. _ ignore #menu: Pan & Scan > -
  77. w add panscan -0.1 #menu: Pan & Scan > Decrease Height
  78. W add panscan 0.1 #menu: Pan & Scan > Increase Height
  79. _ ignore #menu: Pan & Scan > -
  80. Ctrl+BS set video-zoom 0; set video-pan-x 0; set video-pan-y 0 #menu: Pan & Scan > Reset
  81. Ctrl+1 add contrast -1 #menu: Video > Decrease Contrast
  82. Ctrl+2 add contrast 1 #menu: Video > Increase Contrast
  83. _ ignore #menu: Video > -
  84. Ctrl+3 add brightness -1 #menu: Video > Decrease Brightness
  85. Ctrl+4 add brightness 1 #menu: Video > Increase Brightness
  86. _ ignore #menu: Video > -
  87. Ctrl+5 add gamma -1 #menu: Video > Decrease Gamma
  88. Ctrl+6 add gamma 1 #menu: Video > Increase Gamma
  89. _ ignore #menu: Video > -
  90. Ctrl+7 add saturation -1 #menu: Video > Decrease Saturation
  91. Ctrl+8 add saturation 1 #menu: Video > Increase Saturation
  92. _ ignore #menu: Video > -
  93. F5 async screenshot #menu: Video > Take Screenshot
  94. d cycle deinterlace #menu: Video > Toggle Deinterlace
  95. a cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1" #menu: Video > Cycle Aspect Ratio
  96. KP7 script-message mpv.net cycle-audio #menu: Audio > Cycle/Next
  97. _ ignore #menu: Audio > -
  98. KP6 add audio-delay 0.1 #menu: Audio > Delay +0.1
  99. KP9 add audio-delay -0.1 #menu: Audio > Delay -0.1
  100. KP8 cycle sub #menu: Subtitle > Cycle/Next
  101. v cycle sub-visibility #menu: Subtitle > Toggle Visibility
  102. _ ignore #menu: Subtitle > -
  103. z add sub-delay -0.1 #menu: Subtitle > Delay -0.1
  104. Z add sub-delay 0.1 #menu: Subtitle > Delay +0.1
  105. _ ignore #menu: Subtitle > -
  106. r add sub-pos -1 #menu: Subtitle > Move Up
  107. R add sub-pos +1 #menu: Subtitle > Move Down
  108. _ ignore #menu: Subtitle > -
  109. _ add sub-scale -0.1 #menu: Subtitle > Decrease Subtitle Font Size
  110. _ add sub-scale 0.1 #menu: Subtitle > Increase Subtitle Font Size
  111. _ ignore #menu: Track
  112. + add volume 10 #menu: Volume > Up
  113. - add volume -10 #menu: Volume > Down
  114. _ ignore #menu: Volume > -
  115. m cycle mute #menu: Volume > Mute
  116. [ multiply speed 1/1.1 #menu: Speed > -10%
  117. ] multiply speed 1.1 #menu: Speed > +10%
  118. _ ignore #menu: Speed > -
  119. { multiply speed 0.5 #menu: Speed > Half
  120. } multiply speed 2.0 #menu: Speed > Double
  121. _ ignore #menu: Speed > -
  122. BS set speed 1 #menu: Speed > Reset
  123. KP0 script-message rate-file 0 #menu: Extensions > Rating > 0stars
  124. KP1 script-message rate-file 1 #menu: Extensions > Rating > 1stars
  125. KP2 script-message rate-file 2 #menu: Extensions > Rating > 2stars
  126. KP3 script-message rate-file 3 #menu: Extensions > Rating > 3stars
  127. KP4 script-message rate-file 4 #menu: Extensions > Rating > 4stars
  128. KP5 script-message rate-file 5 #menu: Extensions > Rating > 5stars
  129. _ ignore #menu: Extensions > Rating > -
  130. _ script-message rate-file about #menu: Extensions > Rating > About
  131. Ctrl+t set ontop yes #menu: View > On Top > Enable
  132. Ctrl+T set ontop no #menu: View > On Top > Disable
  133. Alt++ no-osd set window-scale 1.2 #menu: View > Window Size > Enlarge
  134. Alt+- no-osd set window-scale 0.8 #menu: View > Window Size > Shrink
  135. b cycle border #menu: View > Toggle Border
  136. i script-message mpv.net show-info #menu: View > File/Stream Info
  137. t script-binding stats/display-stats #menu: View > Show Statistics
  138. T script-binding stats/display-stats-toggle #menu: View > Toggle Statistics
  139. Del script-binding osc/visibility #menu: View > Toggle OSC Visibility
  140. F8 script-binding show-playlist #menu: View > Show Playlist
  141. F9 show-text ${track-list} 5000 #menu: View > Show Tracks
  142. p show-progress #menu: View > Show Progress
  143. Ctrl+p script-message mpv.net show-profiles #menu: View > Show Profiles
  144. Shift+p script-message mpv.net show-properties #menu: View > Show Properties
  145. Shift+c script-message mpv.net show-commands #menu: View > Show Commands
  146. _ script-message mpv.net show-keys #menu: View > Show Keys
  147. ` script-binding console/enable #menu: View > Show Console
  148. c script-message mpv.net show-conf-editor #menu: Settings > Show Config Editor
  149. Ctrl+i script-message mpv.net show-input-editor #menu: Settings > Show Input Editor
  150. Ctrl+f script-message mpv.net open-conf-folder #menu: Settings > Open Config Folder
  151. F1 script-message mpv.net show-command-palette #menu: Tools > Show All Commands
  152. h script-message mpv.net show-history #menu: Tools > Show History
  153. l ab-loop #menu: Tools > Set/clear A-B loop points
  154. L cycle-values loop-file "inf" "no" #menu: Tools > Toggle infinite file looping
  155. _ playlist-shuffle #menu: Tools > Shuffle Playlist
  156. Ctrl+h cycle-values hwdec "auto" "no" #menu: Tools > Toggle Hardware Decoding
  157. _ script-message mpv.net show-setup-dialog #menu: Tools > Setup...
  158. _ script-message mpv.net shell-execute https://mpv.io #menu: Help > Website mpv
  159. _ script-message mpv.net shell-execute https://github.com/stax76/mpv.net #menu: Help > Website mpv.net
  160. _ ignore #menu: Help > -
  161. _ script-message mpv.net shell-execute https://mpv.io/manual/stable/ #menu: Help > Manual mpv
  162. _ script-message mpv.net shell-execute https://github.com/stax76/mpv.net/blob/master/Manual.md #menu: Help > Manual mpv.net
  163. _ ignore #menu: Help > -
  164. _ script-message mpv.net update-check #menu: Help > Check for Updates
  165. _ script-message mpv.net show-about #menu: Help > About mpv.net
  166. _ ignore #menu: -
  167. Esc quit #menu: Exit
  168. Q quit-watch-later #menu: Exit Watch Later
  169. Power quit
  170. Play cycle pause
  171. Pause cycle pause
  172. PlayPause cycle pause
  173. MBTN_Mid cycle pause
  174. Stop stop
  175. Forward seek 60
  176. Rewind seek -60
  177. Wheel_Up add volume 10
  178. Wheel_Down add volume -10
  179. Wheel_Left add volume -10
  180. Wheel_Right add volume 10
  181. Prev playlist-prev
  182. Next playlist-next
  183. MBTN_Forward playlist-next
  184. MBTN_Back playlist-prev
  185. > playlist-next
  186. < playlist-prev
  187. Ctrl+Wheel_Up no-osd seek 7
  188. Ctrl+Wheel_Down no-osd seek -7
  189. MBTN_Left_DBL cycle fullscreen
  190. KP_Enter cycle fullscreen
  191.  
  192. SHIFT+1 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_Moderate_VL.glsl"; show-text "Anime4K: Modern 1080p (HQ)"
  193. SHIFT+2 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_Light_VL.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_L.glsl"; show-text "Anime4K: Modern 720p->1080p (HQ)"
  194. SHIFT+3 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl;~~/shaders/Anime4K_Restore_CNN_Moderate_M.glsl"; show-text "Anime4K: Modern SD->1080p (HQ)"
  195. SHIFT+4 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl;~~/shaders/Anime4K_Restore_CNN_Light_VL.glsl;~~/shaders/Anime4K_Upscale_CNN_x2_L.glsl;~~/shaders/Anime4K_Restore_CNN_Moderate_M.glsl"; show-text "Anime4K: Old SD->1080p (HQ)"
  196.  
  197. SHIFT+0 no-osd change-list glsl-shaders clr ""; show-text "GLSL shaders cleared"
  198.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement