input.conf 4.6 KB

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