Advertisement
Guest User

Untitled

a guest
May 20th, 2021
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.14 KB | None | 0 0
  1. mpv\portable_config\input.conf:
  2.  
  3. MOUSE_BTN0 ignore
  4. MOUSE_BTN0_DBL show-text "${time-pos} - ${duration} --- Volume: ${volume}" 2400
  5. MOUSE_BTN1 no-osd cycle_values osd-level 0 3
  6. MOUSE_BTN2 cycle fullscreen
  7. MOUSE_BTN3 no-osd add volume 2
  8. MOUSE_BTN4 no-osd add volume -2
  9. MOUSE_BTN5 ignore
  10. MOUSE_BTN6 ignore
  11.  
  12. AXIS_UP ignore
  13. AXIS_DOWN ignore
  14. AXIS_LEFT ignore
  15. AXIS_RIGHT ignore
  16.  
  17. ` no-osd cycle ontop
  18. TAB show-text "[${playlist-pos}/${playlist-count}] ---- ${media-title}" 3000
  19. RIGHT no-osd seek 5
  20. LEFT no-osd seek -5
  21. UP no-osd seek 60
  22. DOWN no-osd seek -60
  23. Shift+RIGHT ignore
  24. Shift+LEFT ignore
  25. Shift+UP ignore
  26. Shift+DOWN ignore
  27. Ctrl+LEFT ignore
  28. Ctrl+RIGHT ignore
  29. PGUP ignore
  30. PGDWN ignore
  31. Shift+PGUP ignore
  32. Shift+PGDWN ignore
  33. #[ multiply speed 0.9091
  34. #] multiply speed 1.1
  35. #{ multiply speed 0.5
  36. #} multiply speed 2.0
  37. #BS set speed 1.0
  38. #q quit
  39. #Q quit-watch-later
  40. #q {encode} quit 4
  41. #ESC set fullscreen no
  42. #ESC {encode} quit 4
  43. p show-progress
  44. #. frame-step # advance one frame and pause
  45. #, frame-back-step # go back by one frame and pause
  46. #SPACE cycle pause
  47. #> playlist-next # skip to next file
  48. #ENTER playlist-next # skip to next file
  49. #< playlist-prev # skip to previous file
  50. O ignore
  51. o no-osd cycle_values osd-level 3 0
  52. P ignore
  53. #I show-text "${filename}"
  54. z ignore
  55. x ignore
  56. ctrl++ ignore
  57. ctrl+- ignore
  58. 9 no-osd add volume -2
  59. / no-osd add volume -2
  60. 0 no-osd add volume 2
  61. * no-osd add volume 2
  62. m no-osd cycle mute
  63. 1 no-osd add contrast -1
  64. 2 no-osd add contrast 1
  65. 3 no-osd add brightness -1
  66. 4 no-osd add brightness 1
  67. 5 no-osd add gamma -1
  68. 6 no-osd add gamma 1
  69. 7 no-osd add saturation -1
  70. 8 no-osd add saturation 1
  71. d ignore
  72. r ignore
  73. t ignore
  74. #v cycle sub-visibility
  75. # stretch SSA/ASS subtitles with anamorphic videos to match historical
  76. #V cycle ass-vsfilter-aspect-compat
  77. # switch between applying no style overrides to SSA/ASS subtitles, and
  78. # overriding them almost completely with the normal subtitle style
  79. #u cycle-values ass-style-override "force" "no"
  80. #j cycle sub # cycle through subtitles
  81. #J cycle sub down # ...backwards
  82. #SHARP cycle audio # switch audio streams
  83. #_ cycle video
  84. #T cycle ontop # toggle video window ontop of other windows
  85. #f cycle fullscreen # toggle fullscreen
  86. #s screenshot # take a screenshot
  87. #S screenshot video # ...without subtitles
  88. #Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
  89. #Alt+s screenshot each-frame # automatically screenshot every frame
  90. #w add panscan -0.1 # zoom out with -panscan 0 -fs
  91. #e add panscan +0.1 # in
  92. # cycle video aspect ratios; "-1" is the container aspect
  93. #A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
  94. #POWER quit
  95. #PLAY cycle pause
  96. #PAUSE cycle pause
  97. #PLAYPAUSE cycle pause
  98. #STOP quit
  99. #FORWARD seek 60
  100. #REWIND seek -60
  101. #NEXT playlist-next
  102. #PREV playlist-prev
  103. #VOLUME_UP add volume 2
  104. #VOLUME_DOWN add volume -2
  105. #MUTE cycle mute
  106. #CLOSE_WIN quit
  107. #CLOSE_WIN {encode} quit 4
  108. #E cycle edition # next edition
  109. #l ab_loop # Set/clear A-B loop points
  110. #L cycle-values loop "inf" "no" # toggle infinite looping
  111. #ctrl+c quit 4
  112. F1 no-osd seek -300
  113. F2 no-osd seek 300
  114. F3 no-osd seek -600
  115. F4 no-osd seek 600
  116. F5 no-osd seek -1200
  117. F6 no-osd seek 1200
  118. F7 no-osd seek -1800
  119. F8 no-osd seek 1800
  120.  
  121. AR_PLAY ignore
  122. AR_PLAY_HOLD ignore
  123. AR_CENTER ignore
  124. AR_CENTER_HOLD ignore
  125. AR_NEXT ignore
  126. AR_NEXT_HOLD ignore
  127. AR_PREV ignore
  128. AR_PREV_HOLD ignore
  129. AR_MENU ignore
  130. AR_MENU_HOLD ignore
  131. AR_VUP ignore
  132. AR_VUP_HOLD ignore
  133. AR_VDOWN ignore
  134. AR_VDOWN_HOLD ignore
  135.  
  136. # For tv://
  137. #h cycle tv-channel -1 # previous channel
  138. #k cycle tv-channel +1 # next channel
  139.  
  140. #
  141. # Legacy bindings (may or may not be removed in the future)
  142. #
  143. #! add chapter -1 # skip to previous chapter
  144. #@ add chapter 1 # next
  145.  
  146. #
  147. # Not assigned by default
  148. # (not an exhaustive list of unbound commands)
  149. #
  150.  
  151. # ? add sub-scale +0.1 # increase subtitle font size
  152. # ? add sub-scale -0.1 # decrease subtitle font size
  153. # ? sub-step -1 # immediately display next subtitle
  154. # ? sub-step +1 # previous
  155. # ? cycle-values window-scale 0.5 2 1 # switch between 1/2, 2x, unresized window size
  156. # ? cycle colormatrix
  157. # ? add audio-delay 0.100 # this changes audio/video sync
  158. # ? add audio-delay -0.100
  159. # ? cycle angle # switch DVD/Bluray angle
  160. # ? add balance -0.1 # adjust audio balance in favor of left
  161. # ? add balance 0.1 # right
  162. # ? cycle sub-forced-only # toggle DVD forced subs
  163. # ? cycle program # cycle transport stream programs
  164. # ? stop # stop playback (quit or enter idle mode)
  165.  
  166. ------------------------------------------------------------------------------------------------------------------
  167. ------------------------------------------------------------------------------------------------------------------
  168. ------------------------------------------------------------------------------------------------------------------
  169. ------------------------------------------------------------------------------------------------------------------
  170. ------------------------------------------------------------------------------------------------------------------
  171. ------------------------------------------------------------------------------------------------------------------
  172.  
  173. Оригинальные бинды
  174.  
  175. # mpv keybindings
  176. #
  177. # Location of user-defined bindings: ~/.config/mpv/input.conf
  178. #
  179. # Lines starting with # are comments. Use SHARP to assign the # key.
  180. # Copy this file and uncomment and edit the bindings you want to change.
  181. #
  182. # List of commands and further details: DOCS/man/input.rst
  183. # List of special keys: --input-keylist
  184. # Keybindings testing mode: mpv --input-test --force-window --idle
  185. #
  186. # Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
  187. #
  188. # Strings need to be quoted and escaped:
  189. # KEY show-text "This is a single backslash: \\ and a quote: \" !"
  190. #
  191. # You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
  192. # the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
  193. #
  194. # The default keybindings are hardcoded into the mpv binary.
  195. # You can disable them completely with: --no-input-default-bindings
  196.  
  197. # Developer note:
  198. # On compilation, this file is baked into the mpv binary, and all lines are
  199. # uncommented (unless '#' is followed by a space) - thus this file defines the
  200. # default key bindings.
  201.  
  202. # If this is enabled, treat all the following bindings as default.
  203. #default-bindings start
  204.  
  205. #MOUSE_BTN0 ignore # don't do anything
  206. #MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
  207. #MOUSE_BTN2 cycle pause # toggle pause on/off
  208. #MOUSE_BTN3 seek 10
  209. #MOUSE_BTN4 seek -10
  210. #MOUSE_BTN5 add volume -2
  211. #MOUSE_BTN6 add volume 2
  212.  
  213. # Mouse wheels, touchpad or other input devices that have axes
  214. # if the input devices supports precise scrolling it will also scale the
  215. # numeric value accordingly
  216. #AXIS_UP seek 10
  217. #AXIS_DOWN seek -10
  218. #AXIS_LEFT seek 5
  219. #AXIS_RIGHT seek -5
  220.  
  221. ## Seek units are in seconds, but note that these are limited by keyframes
  222. #RIGHT seek 5
  223. #LEFT seek -5
  224. #UP seek 60
  225. #DOWN seek -60
  226. # Do smaller, always exact (non-keyframe-limited), seeks with shift.
  227. # Don't show them on the OSD (no-osd).
  228. #Shift+RIGHT no-osd seek 1 exact
  229. #Shift+LEFT no-osd seek -1 exact
  230. #Shift+UP no-osd seek 5 exact
  231. #Shift+DOWN no-osd seek -5 exact
  232. # Skip to previous/next subtitle (subject to some restrictions; see manpage)
  233. #Ctrl+LEFT no-osd sub-seek -1
  234. #Ctrl+RIGHT no-osd sub-seek 1
  235. #PGUP add chapter 1 # skip to next chapter
  236. #PGDWN add chapter -1 # skip to previous chapter
  237. #Shift+PGUP seek 600
  238. #Shift+PGDWN seek -600
  239. #[ multiply speed 0.9091 # scale playback speed
  240. #] multiply speed 1.1
  241. #{ multiply speed 0.5
  242. #} multiply speed 2.0
  243. #BS set speed 1.0 # reset speed to normal
  244. #q quit
  245. #Q quit-watch-later
  246. #q {encode} quit 4
  247. #ESC set fullscreen no
  248. #ESC {encode} quit 4
  249. #p cycle pause # toggle pause/playback mode
  250. #. frame-step # advance one frame and pause
  251. #, frame-back-step # go back by one frame and pause
  252. #SPACE cycle pause
  253. #> playlist-next # skip to next file
  254. #ENTER playlist-next # skip to next file
  255. #< playlist-prev # skip to previous file
  256. #O no-osd cycle_values osd-level 3 1 # cycle through OSD mode
  257. #o show-progress
  258. #P show-progress
  259. #I show-text "${filename}" # display filename in osd
  260. #z add sub-delay -0.1 # subtract 100 ms delay from subs
  261. #x add sub-delay +0.1 # add
  262. #ctrl++ add audio-delay 0.100 # this changes audio/video sync
  263. #ctrl+- add audio-delay -0.100
  264. #9 add volume -2
  265. #/ add volume -2
  266. #0 add volume 2
  267. #* add volume 2
  268. #m cycle mute
  269. #1 add contrast -1
  270. #2 add contrast 1
  271. #3 add brightness -1
  272. #4 add brightness 1
  273. #5 add gamma -1
  274. #6 add gamma 1
  275. #7 add saturation -1
  276. #8 add saturation 1
  277. # toggle deinterlacer (automatically inserts or removes required filter)
  278. #d cycle deinterlace
  279. #r add sub-pos -1 # move subtitles up
  280. #t add sub-pos +1 # down
  281. #v cycle sub-visibility
  282. # stretch SSA/ASS subtitles with anamorphic videos to match historical
  283. #V cycle ass-vsfilter-aspect-compat
  284. # switch between applying no style overrides to SSA/ASS subtitles, and
  285. # overriding them almost completely with the normal subtitle style
  286. #u cycle-values ass-style-override "force" "no"
  287. #j cycle sub # cycle through subtitles
  288. #J cycle sub down # ...backwards
  289. #SHARP cycle audio # switch audio streams
  290. #_ cycle video
  291. #T cycle ontop # toggle video window ontop of other windows
  292. #f cycle fullscreen # toggle fullscreen
  293. #s screenshot # take a screenshot
  294. #S screenshot video # ...without subtitles
  295. #Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
  296. #Alt+s screenshot each-frame # automatically screenshot every frame
  297. #w add panscan -0.1 # zoom out with -panscan 0 -fs
  298. #e add panscan +0.1 # in
  299. # cycle video aspect ratios; "-1" is the container aspect
  300. #A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
  301. #POWER quit
  302. #PLAY cycle pause
  303. #PAUSE cycle pause
  304. #PLAYPAUSE cycle pause
  305. #STOP quit
  306. #FORWARD seek 60
  307. #REWIND seek -60
  308. #NEXT playlist-next
  309. #PREV playlist-prev
  310. #VOLUME_UP add volume 2
  311. #VOLUME_DOWN add volume -2
  312. #MUTE cycle mute
  313. #CLOSE_WIN quit
  314. #CLOSE_WIN {encode} quit 4
  315. #E cycle edition # next edition
  316. #l ab_loop # Set/clear A-B loop points
  317. #L cycle-values loop "inf" "no" # toggle infinite looping
  318. #ctrl+c quit 4
  319.  
  320. # Apple Remote section
  321. #AR_PLAY cycle pause
  322. #AR_PLAY_HOLD quit
  323. #AR_CENTER cycle pause
  324. #AR_CENTER_HOLD quit
  325. #AR_NEXT seek 10
  326. #AR_NEXT_HOLD seek 120
  327. #AR_PREV seek -10
  328. #AR_PREV_HOLD seek -120
  329. #AR_MENU show-progress
  330. #AR_MENU_HOLD cycle mute
  331. #AR_VUP add volume 2
  332. #AR_VUP_HOLD add chapter 1
  333. #AR_VDOWN add volume -2
  334. #AR_VDOWN_HOLD add chapter -1
  335.  
  336. # For tv://
  337. #h cycle tv-channel -1 # previous channel
  338. #k cycle tv-channel +1 # next channel
  339.  
  340. #
  341. # Legacy bindings (may or may not be removed in the future)
  342. #
  343. #! add chapter -1 # skip to previous chapter
  344. #@ add chapter 1 # next
  345.  
  346. #
  347. # Not assigned by default
  348. # (not an exhaustive list of unbound commands)
  349. #
  350.  
  351. # ? add sub-scale +0.1 # increase subtitle font size
  352. # ? add sub-scale -0.1 # decrease subtitle font size
  353. # ? sub-step -1 # immediately display next subtitle
  354. # ? sub-step +1 # previous
  355. # ? cycle-values window-scale 0.5 2 1 # switch between 1/2, 2x, unresized window size
  356. # ? cycle colormatrix
  357. # ? add audio-delay 0.100 # this changes audio/video sync
  358. # ? add audio-delay -0.100
  359. # ? cycle angle # switch DVD/Bluray angle
  360. # ? add balance -0.1 # adjust audio balance in favor of left
  361. # ? add balance 0.1 # right
  362. # ? cycle sub-forced-only # toggle DVD forced subs
  363. # ? cycle program # cycle transport stream programs
  364. # ? stop # stop playback (quit or enter idle mode)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement