input.conf 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. RIGHT seek +10
  14. LEFT seek -10
  15. DOWN seek -60
  16. UP seek +60
  17. PGUP seek 600
  18. PGDWN seek -600
  19. m mute
  20. # switch_audio # switch audio streams
  21. + audio_delay 0.100
  22. - audio_delay -0.100
  23. [ speed_mult 0.9091 # scale playback speed
  24. ] speed_mult 1.1
  25. { speed_mult 0.5
  26. } speed_mult 2.0
  27. BS speed_set 1.0 # reset speed to normal
  28. q quit
  29. ESC quit
  30. ENTER pt_step 1 1 # skip to next file
  31. p pause
  32. . frame_step # advance one frame and pause
  33. SPACE pause
  34. HOME pt_up_step 1
  35. END pt_up_step -1
  36. > pt_step 1 # skip to next file
  37. < pt_step -1 # previous
  38. INS alt_src_step 1
  39. DEL alt_src_step -1
  40. o osd
  41. I osd_show_property_text "${filename}" 2500 # display filename in osd
  42. z sub_delay -0.1 # subtract 100 ms delay from subs
  43. x sub_delay +0.1 # add
  44. 9 volume -1
  45. / volume -1
  46. 0 volume 1
  47. * volume 1
  48. 1 contrast -1
  49. 2 contrast 1
  50. 3 brightness -1
  51. 4 brightness 1
  52. 5 hue -1
  53. 6 hue 1
  54. 7 saturation -1
  55. 8 saturation 1
  56. ( balance -0.1 # adjust audio balance in favor of left
  57. ) balance +0.1 # right
  58. d frame_drop
  59. D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
  60. r sub_pos -1 # move subtitles up
  61. t sub_pos +1 # down
  62. #? sub_step +1 # immediately display next subtitle
  63. #? sub_step -1 # previous
  64. #? sub_scale +0.1 # increase subtitle font size
  65. #? sub_scale -0.1 # decrease subtitle font size
  66. f vo_fullscreen
  67. #T vo_ontop # toggle video window ontop of other windows
  68. w panscan -0.1 # zoom out with -panscan 0 -fs
  69. e panscan +0.1 # in
  70. s screenshot # take a png screenshot with -vf screenshot
  71. # S will take a png screenshot of every frame
  72. h tv_step_channel 1
  73. l tv_step_channel -1
  74. n tv_step_norm
  75. b tv_step_chanlist
  76. ##
  77. ## GUI
  78. ##
  79. #l gui_loadfile
  80. #t gui_loadsubtitle
  81. #a gui_about
  82. #s gui_stop
  83. #p gui_playlist
  84. #r gui_preferences
  85. #c gui_skinbrowser
  86. ##
  87. ## Joystick section
  88. ## WARNING: joystick support has to be explicitly enabled at
  89. ## compiletime with --enable-joystick
  90. ##
  91. JOY_RIGHT seek 10
  92. JOY_LEFT seek -10
  93. JOY_UP seek 60
  94. JOY_DOWN seek -60
  95. JOY_BTN0 pause
  96. JOY_BTN1 osd
  97. JOY_BTN2 volume 1
  98. JOY_BTN3 volume -1
  99. JOY_BTN4 set_menu main
  100. ##
  101. ## Apple Remote section
  102. ##
  103. ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
  104. ## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
  105. ##
  106. # AR_PLAY pause
  107. # AR_PLAY_HOLD quit
  108. # AR_NEXT seek 30
  109. # AR_NEXT_HOLD seek 120
  110. # AR_PREV seek -10
  111. # AR_PREV_HOLD seek -120
  112. # AR_MENU menu up
  113. # #AR_MENU menu cancel
  114. # AR_MENU_HOLD mute
  115. # AR_VUP volume 1
  116. # AR_VDOWN volume -1
  117. ##
  118. ## OSD Menu movement keys
  119. ##
  120. ## If you are using only the keyboard it is enough to define one command (like
  121. ## "menu up"), because then that single key will display the menu, which can
  122. ## then be navigated with the cursor keys and ENTER.
  123. ##
  124. ## LIRC users should bind each "menu" command to a button on their remote.
  125. ##
  126. ## The set_menu command directly displays the (sub)menu specified as
  127. ## its argument. Usage should be self-explanatory (although not likely
  128. ## to be needed), after reading input.conf.
  129. ##
  130. #MOUSE_BTN0 menu up
  131. #y menu down
  132. #y menu ok
  133. #y menu cancel
  134. #y menu hide
  135. #y set_menu general_pref
  136. F1 menu up
  137. ##
  138. ## DVDNAV
  139. ## Requires dvdnav://
  140. ##
  141. # these are old style keys
  142. # KP8 dvdnav 1 # DVDNav UP
  143. # KP2 dvdnav 2 # DVDNav DOWN
  144. # KP4 dvdnav 3 # DVDNav LEFT
  145. # KP6 dvdnav 4 # DVDNav RIGHT
  146. # KP5 dvdnav 5 # DVDNav MENU
  147. # KP_ENTER dvdnav 6 # DVDNav SELECT (ok)
  148. # KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root)
  149. UP {dvdnav} dvdnav up # DVDNav UP
  150. DOWN {dvdnav} dvdnav down # DVDNav DOWN
  151. LEFT {dvdnav} dvdnav left # DVDNav LEFT
  152. RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
  153. ESC {dvdnav} dvdnav menu # DVDNav MENU
  154. ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
  155. BS {dvdnav} dvdnav prev # DVDNav PREVIOUS menu (in the order chapter->title->root)
  156. # AR_VUP {dvdnav} dvdnav up # DVDNav UP
  157. # AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
  158. # AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
  159. # AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
  160. # AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
  161. # AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
  162. #? seek_chapter -1 # skip to previous dvd chapter
  163. #? seek_chapter +1 # next