mpv input setup
This commit is contained in:
parent
7c1ee15ab9
commit
c9bf213963
@ -28,70 +28,83 @@
|
|||||||
# If this is enabled, treat all the following bindings as default.
|
# If this is enabled, treat all the following bindings as default.
|
||||||
#default-bindings start
|
#default-bindings start
|
||||||
|
|
||||||
#MOUSE_BTN0 ignore # don't do anything
|
#MBTN_LEFT ignore # don't do anything
|
||||||
#MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
|
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen
|
||||||
#MOUSE_BTN2 cycle pause # toggle pause on/off
|
#MBTN_RIGHT cycle pause # toggle pause/playback mode
|
||||||
#MOUSE_BTN3 seek 10
|
#MBTN_BACK playlist-prev # skip to the previous file
|
||||||
#MOUSE_BTN4 seek -10
|
#MBTN_FORWARD playlist-next # skip to the next file
|
||||||
#MOUSE_BTN5 add volume -2
|
|
||||||
#MOUSE_BTN6 add volume 2
|
|
||||||
|
|
||||||
# Mouse wheels, touchpad or other input devices that have axes
|
# Mouse wheels, touchpad or other input devices that have axes
|
||||||
# if the input devices supports precise scrolling it will also scale the
|
# if the input devices supports precise scrolling it will also scale the
|
||||||
# numeric value accordingly
|
# numeric value accordingly
|
||||||
#AXIS_UP seek 10
|
#WHEEL_UP seek 10 # seek 10 seconds forward
|
||||||
#AXIS_DOWN seek -10
|
#WHEEL_DOWN seek -10 # seek 10 seconds backward
|
||||||
#AXIS_LEFT seek 5
|
#WHEEL_LEFT add volume -2
|
||||||
#AXIS_RIGHT seek -5
|
#WHEEL_RIGHT add volume 2
|
||||||
|
|
||||||
## Seek units are in seconds, but note that these are limited by keyframes
|
## Seek units are in seconds, but note that these are limited by keyframes
|
||||||
#RIGHT seek 5
|
#RIGHT seek 5 # seek 5 seconds forward
|
||||||
#LEFT seek -5
|
#LEFT seek -5 # seek 5 seconds backward
|
||||||
#UP seek 60
|
#UP seek 60 # seek 1 minute forward
|
||||||
#DOWN seek -60
|
#DOWN seek -60 # seek 1 minute backward
|
||||||
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
||||||
# Don't show them on the OSD (no-osd).
|
# Don't show them on the OSD (no-osd).
|
||||||
#Shift+RIGHT no-osd seek 1 exact
|
l no-osd seek 1 exact # seek exactly 1 second forward
|
||||||
#Shift+LEFT no-osd seek -1 exact
|
h no-osd seek -1 exact # seek exactly 1 second backward
|
||||||
#Shift+UP no-osd seek 5 exact
|
k no-osd seek 5 exact # seek exactly 5 seconds forward
|
||||||
#Shift+DOWN no-osd seek -5 exact
|
j no-osd seek -5 exact # seek exactly 5 seconds backward
|
||||||
# Skip to previous/next subtitle (subject to some restrictions; see manpage)
|
#Ctrl+LEFT no-osd sub-seek -1 # seek to the previous subtitle
|
||||||
#Ctrl+LEFT no-osd sub-seek -1
|
#Ctrl+RIGHT no-osd sub-seek 1 # seek to the next subtitle
|
||||||
#Ctrl+RIGHT no-osd sub-seek 1
|
#Ctrl+Shift+LEFT sub-step -1 # change subtitle timing such that the previous subtitle is displayed
|
||||||
#PGUP add chapter 1 # skip to next chapter
|
#Ctrl+Shift+RIGHT sub-step 1 # change subtitle timing such that the next subtitle is displayed
|
||||||
#PGDWN add chapter -1 # skip to previous chapter
|
#Alt+left add video-pan-x 0.1 # move the video right
|
||||||
#Shift+PGUP seek 600
|
#Alt+right add video-pan-x -0.1 # move the video left
|
||||||
#Shift+PGDWN seek -600
|
#Alt+up add video-pan-y 0.1 # move the video down
|
||||||
[ add speed -0.1 # scale playback speed
|
#Alt+down add video-pan-y -0.1 # move the video up
|
||||||
] add speed 0.1
|
#Alt++ add video-zoom 0.1 # zoom in
|
||||||
{ add speed -0.5
|
#Alt+- add video-zoom -0.1 # zoom out
|
||||||
} add speed 0.5
|
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
|
||||||
#BS set speed 1.0 # reset speed to normal
|
#PGUP add chapter 1 # seek to the next chapter
|
||||||
|
#PGDWN add chapter -1 # seek to the previous chapter
|
||||||
|
#Shift+PGUP seek 600 # seek 10 minutes forward
|
||||||
|
#Shift+PGDWN seek -600 # seek 10 minutes backward
|
||||||
|
[ add speed -0.1
|
||||||
|
] add speed 0.1 # increase the playback speed
|
||||||
|
{ multiply speed 0.5 # halve the playback speed
|
||||||
|
} multiply speed 2.0 # double the playback speed
|
||||||
|
#BS set speed 1.0 # reset the speed to normal
|
||||||
|
#Shift+BS revert-seek # undo the previous (or marked) seek
|
||||||
|
#Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek
|
||||||
#q quit
|
#q quit
|
||||||
#Q quit-watch-later
|
#Q quit-watch-later # exit and remember the playback position
|
||||||
#q {encode} quit 4
|
#q {encode} quit 4
|
||||||
#ESC set fullscreen no
|
#ESC set fullscreen no # leave fullscreen
|
||||||
#ESC {encode} quit 4
|
#ESC {encode} quit 4
|
||||||
#p cycle pause # toggle pause/playback mode
|
#p cycle pause # toggle pause/playback mode
|
||||||
#. frame-step # advance one frame and pause
|
#. frame-step # advance one frame and pause
|
||||||
#, frame-back-step # go back by one frame and pause
|
#, frame-back-step # go back by one frame and pause
|
||||||
#SPACE cycle pause
|
#SPACE cycle pause # toggle pause/playback mode
|
||||||
#> playlist-next # skip to next file
|
#> playlist-next # skip to the next file
|
||||||
#ENTER playlist-next # skip to next file
|
#ENTER playlist-next # skip to the next file
|
||||||
#< playlist-prev # skip to previous file
|
#< playlist-prev # skip to the previous file
|
||||||
#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode
|
#O no-osd cycle-values osd-level 3 1 # toggle displaying the OSD on user interaction or always
|
||||||
#o show-progress
|
#o show-progress # show playback progress
|
||||||
#P show-progress
|
#P show-progress # show playback progress
|
||||||
#I show-text "${filename}" # display filename in osd
|
#i script-binding stats/display-stats # display information and statistics
|
||||||
#z add sub-delay -0.1 # subtract 100 ms delay from subs
|
#I script-binding stats/display-stats-toggle # toggle displaying information and statistics
|
||||||
#x add sub-delay +0.1 # add
|
#` script-binding console/enable # open the console
|
||||||
#ctrl++ add audio-delay 0.100 # this changes audio/video sync
|
#z add sub-delay -0.1 # shift subtitles 100 ms earlier
|
||||||
#ctrl+- add audio-delay -0.100
|
#Z add sub-delay +0.1 # delay subtitles by 100 ms
|
||||||
|
#x add sub-delay +0.1 # delay subtitles by 100 ms
|
||||||
|
#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
|
||||||
|
#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
|
||||||
|
#Shift+g add sub-scale +0.1 # increase the subtitle font size
|
||||||
|
#Shift+f add sub-scale -0.1 # decrease the subtitle font size
|
||||||
#9 add volume -2
|
#9 add volume -2
|
||||||
#/ add volume -2
|
#/ add volume -2
|
||||||
#0 add volume 2
|
#0 add volume 2
|
||||||
#* add volume 2
|
#* add volume 2
|
||||||
#m cycle mute
|
#m cycle mute # toggle mute
|
||||||
#1 add contrast -1
|
#1 add contrast -1
|
||||||
#2 add contrast 1
|
#2 add contrast 1
|
||||||
#3 add brightness -1
|
#3 add brightness -1
|
||||||
@ -100,105 +113,67 @@
|
|||||||
#6 add gamma 1
|
#6 add gamma 1
|
||||||
#7 add saturation -1
|
#7 add saturation -1
|
||||||
#8 add saturation 1
|
#8 add saturation 1
|
||||||
#Alt+0 set window-scale 0.5
|
#Alt+0 set current-window-scale 0.5 # halve the window size
|
||||||
#Alt+1 set window-scale 1.0
|
#Alt+1 set current-window-scale 1.0 # reset the window size
|
||||||
#Alt+2 set window-scale 2.0
|
#Alt+2 set current-window-scale 2.0 # double the window size
|
||||||
# toggle deinterlacer (automatically inserts or removes required filter)
|
#d cycle deinterlace # toggle the deinterlacing filter
|
||||||
#d cycle deinterlace
|
|
||||||
#r add sub-pos -1 # move subtitles up
|
#r add sub-pos -1 # move subtitles up
|
||||||
#t add sub-pos +1 # down
|
#R add sub-pos +1 # move subtitles down
|
||||||
#v cycle sub-visibility
|
#t add sub-pos +1 # move subtitles down
|
||||||
# stretch SSA/ASS subtitles with anamorphic videos to match historical
|
#v cycle sub-visibility # hide or show the subtitles
|
||||||
#V cycle sub-ass-vsfilter-aspect-compat
|
#Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles
|
||||||
# switch between applying no style overrides to SSA/ASS subtitles, and
|
#V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer
|
||||||
# overriding them almost completely with the normal subtitle style
|
#u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles
|
||||||
#u cycle-values sub-ass-style-override "force" "no"
|
#j cycle sub # switch subtitle track
|
||||||
#j cycle sub # cycle through subtitles
|
#J cycle sub down # switch subtitle track backwards
|
||||||
#J cycle sub down # ...backwards
|
#SHARP cycle audio # switch audio track
|
||||||
#SHARP cycle audio # switch audio streams
|
#_ cycle video # switch video track
|
||||||
#_ cycle video
|
#T cycle ontop # toggle placing the video on top of other windows
|
||||||
#T cycle ontop # toggle video window ontop of other windows
|
|
||||||
#f cycle fullscreen # toggle fullscreen
|
#f cycle fullscreen # toggle fullscreen
|
||||||
#s screenshot # take a screenshot
|
#s screenshot # take a screenshot of the video in its original resolution with subtitles
|
||||||
#S screenshot video # ...without subtitles
|
#S screenshot video # take a screenshot of the video in its original resolution without subtitles
|
||||||
#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
|
#Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles
|
||||||
#Alt+s screenshot each-frame # automatically screenshot every frame
|
#Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots
|
||||||
#w add panscan -0.1 # zoom out with -panscan 0 -fs
|
#w add panscan -0.1 # decrease panscan
|
||||||
#e add panscan +0.1 # in
|
#W add panscan +0.1 # shrink black bars by cropping the video
|
||||||
# cycle video aspect ratios; "-1" is the container aspect
|
#e add panscan +0.1 # shrink black bars by cropping the video
|
||||||
#A cycle-values video-aspect "16:9" "4:3" "2.35:1" "-1"
|
#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect)
|
||||||
#POWER quit
|
#POWER quit
|
||||||
#PLAY cycle pause
|
#PLAY cycle pause # toggle pause/playback mode
|
||||||
#PAUSE cycle pause
|
#PAUSE cycle pause # toggle pause/playback mode
|
||||||
#PLAYPAUSE cycle pause
|
#PLAYPAUSE cycle pause # toggle pause/playback mode
|
||||||
|
#PLAYONLY set pause no # unpause
|
||||||
|
#PAUSEONLY set pause yes # pause
|
||||||
#STOP quit
|
#STOP quit
|
||||||
#FORWARD seek 60
|
#FORWARD seek 60 # seek 1 minute forward
|
||||||
#REWIND seek -60
|
#REWIND seek -60 # seek 1 minute backward
|
||||||
#NEXT playlist-next
|
#NEXT playlist-next # skip to the next file
|
||||||
#PREV playlist-prev
|
#PREV playlist-prev # skip to the previous file
|
||||||
#VOLUME_UP add volume 2
|
#VOLUME_UP add volume 2
|
||||||
#VOLUME_DOWN add volume -2
|
#VOLUME_DOWN add volume -2
|
||||||
#MUTE cycle mute
|
#MUTE cycle mute # toggle mute
|
||||||
#CLOSE_WIN quit
|
#CLOSE_WIN quit
|
||||||
#CLOSE_WIN {encode} quit 4
|
#CLOSE_WIN {encode} quit 4
|
||||||
#E cycle edition # next edition
|
#ctrl+w quit
|
||||||
#l ab-loop # Set/clear A-B loop points
|
#E cycle edition # switch edition
|
||||||
#L cycle-values loop "inf" "no" # toggle infinite looping
|
#l ab-loop # set/clear A-B loop points
|
||||||
|
#L cycle-values loop-file "inf" "no" # toggle infinite looping
|
||||||
#ctrl+c quit 4
|
#ctrl+c quit 4
|
||||||
|
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
|
||||||
# Apple Remote section
|
#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding
|
||||||
#AR_PLAY cycle pause
|
#F8 show-text ${playlist} # show the playlist
|
||||||
#AR_PLAY_HOLD quit
|
#F9 show-text ${track-list} # show the list of video, audio and sub tracks
|
||||||
#AR_CENTER cycle pause
|
|
||||||
#AR_CENTER_HOLD quit
|
|
||||||
#AR_NEXT seek 10
|
|
||||||
#AR_NEXT_HOLD seek 120
|
|
||||||
#AR_PREV seek -10
|
|
||||||
#AR_PREV_HOLD seek -120
|
|
||||||
#AR_MENU show-progress
|
|
||||||
#AR_MENU_HOLD cycle mute
|
|
||||||
#AR_VUP add volume 2
|
|
||||||
#AR_VUP_HOLD add chapter 1
|
|
||||||
#AR_VDOWN add volume -2
|
|
||||||
#AR_VDOWN_HOLD add chapter -1
|
|
||||||
|
|
||||||
# For tv://
|
|
||||||
#h cycle tv-channel -1 # previous channel
|
|
||||||
#k cycle tv-channel +1 # next channel
|
|
||||||
|
|
||||||
# For dvb://
|
|
||||||
#H cycle dvb-channel-name -1 # previous channel
|
|
||||||
#K cycle dvb-channel-name +1 # next channel
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Legacy bindings (may or may not be removed in the future)
|
# Legacy bindings (may or may not be removed in the future)
|
||||||
#
|
#
|
||||||
! add chapter -1 # skip to previous chapter
|
#! add chapter -1 # seek to the previous chapter
|
||||||
@ add chapter 1 # next
|
#@ add chapter 1 # seek to the next chapter
|
||||||
|
|
||||||
#: run "/bin/sh" "-c" "notify-send MPV ${filename}"
|
|
||||||
#
|
#
|
||||||
# Not assigned by default
|
# Not assigned by default
|
||||||
# (not an exhaustive list of unbound commands)
|
# (not an exhaustive list of unbound commands)
|
||||||
#
|
#
|
||||||
|
|
||||||
+ add sub-scale +0.1 # decrease subtitle font size
|
|
||||||
- add sub-scale -0.1 # increase subtitle font size
|
|
||||||
Alt+= add video-zoom +0.01
|
|
||||||
Alt+- add video-zoom -0.01
|
|
||||||
# ? sub-step -1 # immediately display next subtitle
|
|
||||||
# ? sub-step +1 # previous
|
|
||||||
# ? cycle angle # switch DVD/Bluray angle
|
|
||||||
# ? add balance -0.1 # adjust audio balance in favor of left
|
|
||||||
# ? add balance 0.1 # right
|
|
||||||
# ? cycle sub-forced-only # toggle DVD forced subs
|
# ? cycle sub-forced-only # toggle DVD forced subs
|
||||||
# ? cycle program # cycle transport stream programs
|
|
||||||
# ? stop # stop playback (quit or enter idle mode)
|
# ? stop # stop playback (quit or enter idle mode)
|
||||||
|
|
||||||
l cycle-values loop-file "inf" "no"
|
|
||||||
L cycle-values loop-playlist "inf" "no"
|
|
||||||
#l seek 5
|
|
||||||
h seek -5
|
|
||||||
j seek -60
|
|
||||||
k seek 60
|
|
||||||
S cycle sub
|
|
||||||
|
Loading…
Reference in New Issue
Block a user