Advertisement
Guest User

Untitled

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