mpv.conf_bak 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. # Developer note:
  23. # On compilation, this file is baked into the mpv binary, and all lines are
  24. # uncommented (unless '#' is followed by a space) - thus this file defines the
  25. # default key bindings.
  26. # If this is enabled, treat all the following bindings as default.
  27. #default-bindings start
  28. #MOUSE_BTN0 ignore # don't do anything
  29. #MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
  30. #MOUSE_BTN2 cycle pause # toggle pause on/off
  31. #MOUSE_BTN3 seek 10
  32. #MOUSE_BTN4 seek -10
  33. #MOUSE_BTN5 add volume -2
  34. #MOUSE_BTN6 add volume 2
  35. # Mouse wheels, touchpad or other input devices that have axes
  36. # if the input devices supports precise scrolling it will also scale the
  37. # numeric value accordingly
  38. #AXIS_UP seek 10
  39. #AXIS_DOWN seek -10
  40. #AXIS_LEFT seek 5
  41. #AXIS_RIGHT seek -5
  42. ## Seek units are in seconds, but note that these are limited by keyframes
  43. RIGHT seek 5
  44. LEFT seek -5
  45. UP seek 60
  46. DOWN seek -60
  47. # Do smaller, always exact (non-keyframe-limited), seeks with shift.
  48. # Don't show them on the OSD (no-osd).
  49. #Shift+RIGHT no-osd seek 1 exact
  50. #Shift+LEFT no-osd seek -1 exact
  51. #Shift+UP no-osd seek 5 exact
  52. #Shift+DOWN no-osd seek -5 exact
  53. # Skip to previous/next subtitle (subject to some restrictions; see manpage)
  54. #Ctrl+LEFT no-osd sub-seek -1
  55. #Ctrl+RIGHT no-osd sub-seek 1
  56. . add chapter 1 # skip to next chapter
  57. , add chapter -1 # skip to previous chapter
  58. #Shift+PGUP seek 600
  59. #Shift+PGDWN seek -600
  60. [ multiply speed 0.9091 # scale playback speed
  61. ] multiply speed 1.1
  62. { multiply speed 0.5
  63. } multiply speed 2.0
  64. #BS set speed 1.0 # reset speed to normal
  65. q quit
  66. Q quit-watch-later
  67. #q {encode} quit 4
  68. #ESC set fullscreen no
  69. #ESC {encode} quit 4
  70. #p cycle pause # toggle pause/playback mode
  71. #. frame-step # advance one frame and pause
  72. #, frame-back-step # go back by one frame and pause
  73. SPACE cycle pause
  74. n playlist-next [weak] # skip to next file
  75. #ENTER playlist-next # skip to next file
  76. #< playlist-prev # skip to previous file
  77. #O no-osd cycle_values osd-level 3 1 # cycle through OSD mode
  78. #o show-progress
  79. #P show-progress
  80. #I show-text "${filename}" # display filename in osd
  81. #z add sub-delay -0.1 # subtract 100 ms delay from subs
  82. #x add sub-delay +0.1 # add
  83. #ctrl++ add audio-delay 0.100 # this changes audio/video sync
  84. #ctrl+- add audio-delay -0.100
  85. #9 add volume -2
  86. #/ add volume -2
  87. #0 add volume 2
  88. #* add volume 2
  89. #m cycle mute
  90. #1 add contrast -1
  91. #2 add contrast 1
  92. #3 add brightness -1
  93. #4 add brightness 1
  94. #5 add gamma -1
  95. #6 add gamma 1
  96. #7 add saturation -1
  97. #8 add saturation 1
  98. #d cycle framedrop # cycle through framedrop modes
  99. # toggle deinterlacer (automatically inserts or removes required filter)
  100. #D cycle deinterlace
  101. #r add sub-pos -1 # move subtitles up
  102. #t add sub-pos +1 # down
  103. #v cycle sub-visibility
  104. # stretch SSA/ASS subtitles with anamorphic videos to match historical
  105. #V cycle ass-vsfilter-aspect-compat
  106. # switch between applying no style overrides to SSA/ASS subtitles, and
  107. # overriding them almost completely with the normal subtitle style
  108. #u cycle-values ass-style-override "force" "no"
  109. #j cycle sub # cycle through subtitles
  110. #J cycle sub down # ...backwards
  111. #SHARP cycle audio # switch audio streams
  112. #_ cycle video
  113. #T cycle ontop # toggle video window ontop of other windows
  114. #f cycle fullscreen # toggle fullscreen
  115. #s screenshot # take a screenshot
  116. #S screenshot video # ...without subtitles
  117. #Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
  118. #Alt+s screenshot each-frame # automatically screenshot every frame
  119. #w add panscan -0.1 # zoom out with -panscan 0 -fs
  120. #e add panscan +0.1 # in
  121. # cycle video aspect ratios; "-1" is the container aspect
  122. #A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
  123. #POWER quit
  124. #PLAY cycle pause
  125. #PAUSE cycle pause
  126. #PLAYPAUSE cycle pause
  127. #STOP quit
  128. #FORWARD seek 60
  129. #REWIND seek -60
  130. #NEXT playlist-next
  131. #PREV playlist-prev
  132. #VOLUME_UP add volume 2
  133. #VOLUME_DOWN add volume -2
  134. #MUTE cycle mute
  135. #CLOSE_WIN quit
  136. #CLOSE_WIN {encode} quit 4
  137. #E cycle edition # next edition
  138. #l ab_loop # Set/clear A-B loop points
  139. #L cycle-values loop "inf" "no" # toggle infinite looping
  140. #ctrl+c quit 4
  141. # Apple Remote section
  142. #AR_PLAY cycle pause
  143. #AR_PLAY_HOLD quit
  144. #AR_CENTER cycle pause
  145. #AR_CENTER_HOLD quit
  146. #AR_NEXT seek 10
  147. #AR_NEXT_HOLD seek 120
  148. #AR_PREV seek -10
  149. #AR_PREV_HOLD seek -120
  150. #AR_MENU show-progress
  151. #AR_MENU_HOLD cycle mute
  152. #AR_VUP add volume 2
  153. #AR_VUP_HOLD add chapter 1
  154. #AR_VDOWN add volume -2
  155. #AR_VDOWN_HOLD add chapter -1
  156. # For dvdnav:// and bdnav://
  157. # navigation controls during playback
  158. #ENTER {discnav} discnav menu # DISCNAV MENU
  159. # BS {discnav} discnav prev # DISCNAV PREVIOUS menu (in the order chapter->title->root)
  160. # navigation controls when showing menu (additionally to the controls above)
  161. #UP {discnav-menu} discnav up # DISCNAV UP
  162. #DOWN {discnav-menu} discnav down # DISCNAV DOWN
  163. #LEFT {discnav-menu} discnav left # DISCNAV LEFT
  164. #RIGHT {discnav-menu} discnav right # DISCNAV RIGHT
  165. #ENTER {discnav-menu} discnav select # DISCNAV SELECT (ok)
  166. #MOUSE_BTN0 {discnav-menu} discnav mouse
  167. #MOUSE_MOVE {discnav-menu} discnav mouse_move
  168. # For tv://
  169. #h cycle tv-channel -1 # previous channel
  170. #k cycle tv-channel +1 # next channel
  171. #
  172. # Legacy bindings (may or may not be removed in the future)
  173. #
  174. #! add chapter -1 # skip to previous chapter
  175. #@ add chapter 1 # next
  176. #
  177. # Not assigned by default
  178. # (not an exhaustive list of unbound commands)
  179. #
  180. # ? add sub-scale +0.1 # increase subtitle font size
  181. # ? add sub-scale -0.1 # decrease subtitle font size
  182. # ? sub-step -1 # immediately display next subtitle
  183. # ? sub-step +1 # previous
  184. # ? cycle-values window-scale 0.5 2 1 # switch between 1/2, 2x, unresized window size
  185. # ? cycle colormatrix
  186. # ? add audio-delay 0.100 # this changes audio/video sync
  187. # ? add audio-delay -0.100
  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)