daily pastebin goal
10%
SHARE
TWEET

[Archive] ~/.mplayer/input.conf

dqwyy Nov 30th, 2018 (edited) 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##
  2. ## MPlayer input control file
  3. ##
  4. ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
  5. ## add new ones here.
  6. ## See DOCS/tech/slave.txt for possible commands that can be bound.
  7. ## Also see mplayer -input cmdlist for other possible options.
  8. ## The file should be placed in the $HOME/.mplayer directory.
  9. ##
  10. ## If you wish to unbind a key, use key ignore.
  11. ## e.g. ENTER ignore
  12. ##
  13.  
  14. RIGHT seek +5
  15. LEFT seek -5
  16. DOWN volume -1
  17. UP volume 1
  18. PGUP ignore ##IGNORE##
  19. PGDWN ignore ##IGNORE##
  20. m mute
  21. # switch_audio          # switch audio streams
  22. + ignore ##IGNORE##
  23. = ignore ##IGNORE##
  24. - ignore ##IGNORE##
  25. [ speed_mult 0.9    # scale playback speed
  26. ] speed_mult 1.1
  27. { ignore ##IGNORE##
  28. } ignore ##IGNORE##
  29. BS speed_set 1.0    # reset speed to normal
  30. q quit
  31. ESC ignore ##IGNORE##
  32. ENTER ignore ##IGNORE##
  33. p pause
  34. . ignore ##IGNORE##
  35. SPACE pause
  36. MOUSE_BTN0 pause
  37. HOME ignore ##IGNORE##
  38. END ignore ##IGNORE##
  39. > pt_step 1             # skip to next file
  40. < pt_step -1            #         previous
  41. CTRL-RIGHT pt_step 1
  42. CTRL-LEFT pt_step -1
  43. s sub_select
  44. S sub_visibility
  45. INS ignore ##IGNORE##
  46. DEL ignore ##IGNORE##
  47. o ignore ##IGNORE##
  48. I ignore ##IGNORE##
  49. P ignore ##IGNORE##
  50. z ignore ##IGNORE##
  51. x ignore ##IGNORE##
  52. 9 ignore ##IGNORE##
  53. / ignore ##IGNORE##
  54. 0 ignore ##IGNORE##
  55. * ignore ##IGNORE##
  56. 1 ignore ##IGNORE##
  57. 2 ignore ##IGNORE##
  58. 3 ignore ##IGNORE##
  59. 4 ignore ##IGNORE##
  60. 5 ignore ##IGNORE##
  61. 6 ignore ##IGNORE##
  62. 7 ignore ##IGNORE##
  63. 8 ignore ##IGNORE##
  64. ( ignore ##IGNORE##
  65. ) ignore ##IGNORE##
  66. d ignore ##IGNORE##
  67. D ignore ##IGNORE##
  68. r ignore ##IGNORE##
  69. t ignore ##IGNORE##
  70. #? sub_step +1      # immediately display next subtitle
  71. #? sub_step -1      #                     previous
  72. #? sub_scale +0.1   # increase subtitle font size
  73. #? sub_scale -0.1   # decrease subtitle font size
  74. f vo_fullscreen
  75. F11 vo_fullscreen
  76. ESC vo_fullscreen 0
  77. MOUSE_BTN0_DBL vo_fullscreen
  78. T ignore ##IGNORE##
  79. w ignore ##IGNORE##
  80. e ignore ##IGNORE##
  81. c ignore ##IGNORE##
  82. #s ignore ##IGNORE##
  83.                         # S will take a png screenshot of every frame
  84.  
  85. h ignore ##IGNORE##
  86. l ignore ##IGNORE##
  87. n ignore ##IGNORE##
  88. b ignore ##IGNORE##
  89.  
  90. ##
  91. ## Joystick section
  92. ## WARNING: joystick support has to be explicitly enabled at
  93. ##          compiletime with --enable-joystick
  94. ##
  95.  
  96. JOY_RIGHT seek 10
  97. JOY_LEFT seek -10
  98. JOY_UP seek 60
  99. JOY_DOWN seek -60
  100. JOY_BTN0 pause
  101. JOY_BTN1 osd
  102. JOY_BTN2 volume 1
  103. JOY_BTN3 volume -1
  104. JOY_BTN4 set_menu main
  105.  
  106. ##
  107. ## Apple Remote section
  108. ##
  109. ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
  110. ## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
  111. ##
  112.  
  113. AR_PLAY pause
  114. AR_PLAY_HOLD quit
  115. AR_NEXT seek 30
  116. AR_NEXT_HOLD seek 120
  117. AR_PREV seek -10
  118. AR_PREV_HOLD seek -120
  119. AR_MENU menu up
  120. #AR_MENU menu cancel
  121. AR_MENU_HOLD mute
  122. AR_VUP volume 1
  123. AR_VDOWN volume -1
  124.  
  125. ##
  126. ## OSD Menu movement keys
  127. ##
  128. ## If you are using only the keyboard it is enough to define one command (like
  129. ## "menu up"), because then that single key will display the menu, which can
  130. ## then be navigated with the cursor keys and ENTER (defined in menu.conf).
  131. ##
  132. ## LIRC users should bind each "menu" command to a button on their remote.
  133. ##
  134. ## The set_menu command directly displays the (sub)menu specified as
  135. ## its argument. Usage should be self-explanatory (although not likely
  136. ## to be needed), after reading input.conf.
  137. ##
  138.  
  139. #MOUSE_BTN0 menu up
  140. #y menu down
  141. #y menu ok
  142. #y menu cancel
  143. #y menu hide
  144. #y set_menu general_pref
  145.  
  146. ##
  147. ## DVDNAV
  148. ## Requires dvdnav://
  149. ##
  150.  
  151. UP    {dvdnav} dvdnav up          # DVDNav UP
  152. DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
  153. LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
  154. RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
  155. ESC   {dvdnav} dvdnav menu        # DVDNav MENU
  156. ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
  157. BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)
  158.  
  159. AR_VUP    {dvdnav} dvdnav up      # DVDNav UP
  160. AR_VDOWN  {dvdnav} dvdnav down    # DVDNav DOWN
  161. AR_PREV   {dvdnav} dvdnav left    # DVDNav LEFT
  162. AR_NEXT   {dvdnav} dvdnav right   # DVDNav RIGHT
  163. AR_MENU   {dvdnav} dvdnav menu    # DVDNav MENU
  164. AR_PLAY   {dvdnav} dvdnav select  # DVDNav SELECT (ok)
  165.  
  166. #? seek_chapter -1      # skip to previous dvd chapter
  167. #? seek_chapter +1      #         next
  168.  
  169. ##
  170. ## Advanced seek
  171. ## Uncomment the following lines to be able to seek to n% of the media with
  172. ## the Fx keys.
  173. ##
  174. #F1 seek 10 1
  175. #F2 seek 20 1
  176. #F3 seek 30 1
  177. #F4 seek 40 1
  178. #F5 seek 50 1
  179. #F6 seek 60 1
  180. #F7 seek 70 1
  181. #F8 seek 80 1
  182. #F9 seek 90 1
  183. #
  184. ## Use - to combine multiple keys into a key combination
  185. ##
  186. #CTRL-. osd_show_property_text "Playing: ${filename}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top