Guest User

input.conf

a guest
Dec 2nd, 2016
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. # mpv keybindings
  2. #
  3. # Location of user-defined bindings: ~/.config/mpv/input.conf
  4. #
  5. # Lines starting with # are comments. Use SHARP to assign the # key.
  6. # Copy this file and uncomment and edit the bindings you want to change.
  7. #
  8. # List of commands and further details: DOCS/man/input.rst
  9. # List of special keys: --input-keylist
  10. # Keybindings testing mode: mpv --input-test --force-window --idle
  11. #
  12. # Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
  13. #
  14. # Strings need to be quoted and escaped:
  15. # KEY show-text "This is a single backslash: \\ and a quote: \" !"
  16. #
  17. # You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
  18. # the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
  19. #
  20. # The default keybindings are hardcoded into the mpv binary.
  21. # You can disable them completely with: --no-input-default-bindings
  22.  
  23. # Developer note:
  24. # On compilation, this file is baked into the mpv binary, and all lines are
  25. # uncommented (unless '#' is followed by a space) - thus this file defines the
  26. # default key bindings.
  27.  
  28. # If this is enabled, treat all the following bindings as default.
  29. #default-bindings start
  30.  
  31. #MOUSE_BTN0 ignore # don't do anything
  32. #MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
  33. #MOUSE_BTN2 cycle pause # toggle pause on/off
  34. MOUSE_BTN3 add volume 2
  35. MOUSE_BTN4 add volume -2
  36. MOUSE_BTN5 add volume 2
  37. MOUSE_BTN6 add volume -2
  38.  
  39. # Mouse wheels, touchpad or other input devices that have axes
  40. # if the input devices supports precise scrolling it will also scale the
  41. # numeric value accordingly
  42. AXIS_UP add volume 2
  43. AXIS_DOWN add volume -2
  44. AXIS_LEFT add volume 2
  45. AXIS_RIGHT add volume -2
  46.  
  47. ## Seek units are in seconds, but note that these are limited by keyframes
  48. #RIGHT seek 5
  49. #LEFT seek -5
  50. #UP seek 60
  51. #DOWN seek -60
  52. # Do smaller, always exact (non-keyframe-limited), seeks with shift.
  53. # Don't show them on the OSD (no-osd).
  54. #Shift+RIGHT no-osd seek 1 exact
  55. #Shift+LEFT no-osd seek -1 exact
  56. #Shift+UP no-osd seek 5 exact
  57. #Shift+DOWN no-osd seek -5 exact
  58. # Skip to previous/next subtitle (subject to some restrictions; see manpage)
  59. #Ctrl+LEFT no-osd sub-seek -1
  60. #Ctrl+RIGHT no-osd sub-seek 1
  61. #PGUP add chapter 1 # skip to next chapter
  62. #PGDWN add chapter -1 # skip to previous chapter
  63. #Shift+PGUP seek 600
  64. #Shift+PGDWN seek -600
  65. #[ multiply speed 0.9091 # scale playback speed
  66. #] multiply speed 1.1
  67. #{ multiply speed 0.5
  68. #} multiply speed 2.0
  69. #BS set speed 1.0 # reset speed to normal
  70. #q quit
  71. #Q quit-watch-later
  72. #q {encode} quit 4
  73. #ESC set fullscreen no
  74. #ESC {encode} quit 4
  75. #p cycle pause # toggle pause/playback mode
  76. #. frame-step # advance one frame and pause
  77. #, frame-back-step # go back by one frame and pause
  78. #SPACE cycle pause
  79. #> playlist-next # skip to next file
  80. #ENTER playlist-next # skip to next file
  81. #< playlist-prev # skip to previous file
  82. #O no-osd cycle-values osd-level 3 1 # cycle through OSD mode
  83. #o show-progress
  84. #P show-progress
  85. #I show-text "${filename}" # display filename in osd
  86. #z add sub-delay -0.1 # subtract 100 ms delay from subs
  87. #x add sub-delay +0.1 # add
  88. #ctrl++ add audio-delay 0.100 # this changes audio/video sync
  89. #ctrl+- add audio-delay -0.100
  90. #9 add volume -2
  91. #/ add volume -2
  92. #0 add volume 2
  93. #* add volume 2
  94. #m cycle mute
  95. #1 add contrast -1
  96. #2 add contrast 1
  97. #3 add brightness -1
  98. #4 add brightness 1
  99. #5 add gamma -1
  100. #6 add gamma 1
  101. #7 add saturation -1
  102. #8 add saturation 1
  103. #Alt+0 set window-scale 0.5
  104. #Alt+1 set window-scale 1.0
  105. #Alt+2 set window-scale 2.0
  106. # toggle deinterlacer (automatically inserts or removes required filter)
  107. #d cycle deinterlace
  108. #r add sub-pos -1 # move subtitles up
  109. #t add sub-pos +1 # down
  110. #v cycle sub-visibility
  111. # stretch SSA/ASS subtitles with anamorphic videos to match historical
  112. #V cycle sub-ass-vsfilter-aspect-compat
  113. # switch between applying no style overrides to SSA/ASS subtitles, and
  114. # overriding them almost completely with the normal subtitle style
  115. #u cycle-values sub-ass-style-override "force" "no"
  116. #j cycle sub # cycle through subtitles
  117. #J cycle sub down # ...backwards
  118. #SHARP cycle audio # switch audio streams
  119. #_ cycle video
  120. #T cycle ontop # toggle video window ontop of other windows
  121. #f cycle fullscreen # toggle fullscreen
  122. s screenshot # take a screenshot
  123. #S screenshot video # ...without subtitles
  124. #Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
  125. #Alt+s screenshot each-frame # automatically screenshot every frame
  126. #w add panscan -0.1 # zoom out with -panscan 0 -fs
  127. #e add panscan +0.1 # in
  128. # cycle video aspect ratios; "-1" is the container aspect
  129. #A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
  130. #POWER quit
  131. #PLAY cycle pause
  132. #PAUSE cycle pause
  133. #PLAYPAUSE cycle pause
  134. #STOP quit
  135. #FORWARD seek 60
  136. #REWIND seek -60
  137. #NEXT playlist-next
  138. #PREV playlist-prev
  139. VOLUME_UP add volume 2
  140. VOLUME_DOWN add volume -2
  141. #MUTE cycle mute
  142. #CLOSE_WIN quit
  143. #CLOSE_WIN {encode} quit 4
  144. #E cycle edition # next edition
  145. #l ab-loop # Set/clear A-B loop points
  146. #L cycle-values loop "inf" "no" # toggle infinite looping
  147. #ctrl+c quit 4
  148.  
  149. # Apple Remote section
  150. #AR_PLAY cycle pause
  151. #AR_PLAY_HOLD quit
  152. #AR_CENTER cycle pause
  153. #AR_CENTER_HOLD quit
  154. #AR_NEXT seek 10
  155. #AR_NEXT_HOLD seek 120
  156. #AR_PREV seek -10
  157. #AR_PREV_HOLD seek -120
  158. #AR_MENU show-progress
  159. #AR_MENU_HOLD cycle mute
  160. #AR_VUP add volume 2
  161. #AR_VUP_HOLD add chapter 1
  162. #AR_VDOWN add volume -2
  163. #AR_VDOWN_HOLD add chapter -1
  164.  
  165. # For tv://
  166. #h cycle tv-channel -1 # previous channel
  167. #k cycle tv-channel +1 # next channel
  168.  
  169. # For dvb://
  170. #H cycle dvb-channel-name -1 # previous channel
  171. #K cycle dvb-channel-name +1 # next channel
  172.  
  173. #
  174. # Legacy bindings (may or may not be removed in the future)
  175. #
  176. #! add chapter -1 # skip to previous chapter
  177. #@ add chapter 1 # next
  178.  
  179. #
  180. # Not assigned by default
  181. # (not an exhaustive list of unbound commands)
  182. #
  183.  
  184. # ? add sub-scale +0.1 # increase subtitle font size
  185. # ? add sub-scale -0.1 # decrease subtitle font size
  186. # ? sub-step -1 # immediately display next subtitle
  187. # ? sub-step +1 # previous
  188. # ? cycle angle # switch DVD/Bluray angle
  189. # ? add balance -0.1 # adjust audio balance in favor of left
  190. # ? add balance 0.1 # right
  191. # ? cycle sub-forced-only # toggle DVD forced subs
  192. # ? cycle program # cycle transport stream programs
  193. # ? stop # stop playback (quit or enter idle mode)
  194.  
  195. # Startup commands
  196. # opengl-shaders="C:\Users\HTPC\AppData\Roaming\mpv\shaders\CrossBilateral\CrossBilateral.glsl"
  197.  
  198. # Custom Binds
  199. Alt+1 cycle border
  200. l cycle-values loop-file "inf" "no"
  201. V cycle-values window-scale .5 .25 1
Add Comment
Please, Sign In to add comment