mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
f792f56440
Nobody wanted to restore this, so it gets the boot. If anyone still wants to volunteer to restore menu support, this would be welcome. (I might even try it myself if I feel masochistic and like wasting a lot of time for nothing.) But if it does get restored, it should be done differently. There were many stupid things about how it was done. For example, it somehow tried to pull mp_nav_events through all the layers (including needing to "buffer" them in the demuxer), which was needlessly complicated. It could be done simpler. This code was already inactive, so this commit actually changes nothing. Also keep in mind that normal DVD/BD playback still works.
113 lines
3.1 KiB
Plaintext
113 lines
3.1 KiB
Plaintext
##
|
|
## MPlayer-style key bindings
|
|
##
|
|
## Save it as ~/.config/input.conf to use it.
|
|
##
|
|
## Generally, it's recommended to use this as reference-only.
|
|
##
|
|
|
|
RIGHT seek +10
|
|
LEFT seek -10
|
|
DOWN seek -60
|
|
UP seek +60
|
|
PGUP seek 600
|
|
PGDWN seek -600
|
|
m cycle mute
|
|
SHARP cycle audio # switch audio streams
|
|
+ add audio-delay 0.100
|
|
= add audio-delay 0.100
|
|
- add audio-delay -0.100
|
|
[ multiply speed 0.9091 # scale playback speed
|
|
] multiply speed 1.1
|
|
{ multiply speed 0.5
|
|
} multiply speed 2.0
|
|
BS set speed 1.0 # reset speed to normal
|
|
q quit
|
|
ESC quit
|
|
ENTER playlist_next force # skip to next file
|
|
p cycle pause
|
|
. frame_step # advance one frame and pause
|
|
SPACE cycle pause
|
|
HOME set playlist-pos 0 # not the same as MPlayer
|
|
#END pt_up_step -1
|
|
> playlist_next # skip to next file
|
|
< playlist_prev # previous
|
|
#INS alt_src_step 1
|
|
#DEL alt_src_step -1
|
|
o osd
|
|
I show_text "${filename}" # display filename in osd
|
|
P show_progress
|
|
z add sub-delay -0.1 # subtract 100 ms delay from subs
|
|
x add sub-delay +0.1 # add
|
|
9 add volume -1
|
|
/ add volume -1
|
|
0 add volume 1
|
|
* add volume 1
|
|
1 add contrast -1
|
|
2 add contrast 1
|
|
3 add brightness -1
|
|
4 add brightness 1
|
|
5 add hue -1
|
|
6 add hue 1
|
|
7 add saturation -1
|
|
8 add saturation 1
|
|
( add balance -0.1 # adjust audio balance in favor of left
|
|
) add balance +0.1 # right
|
|
d cycle framedrop
|
|
D cycle deinterlace # toggle deinterlacer (auto-inserted filter)
|
|
r add sub-pos -1 # move subtitles up
|
|
t add sub-pos +1 # down
|
|
#? sub_step +1 # immediately display next subtitle
|
|
#? sub_step -1 # previous
|
|
#? add sub-scale +0.1 # increase subtitle font size
|
|
#? add sub-scale -0.1 # decrease subtitle font size
|
|
f cycle fullscreen
|
|
T cycle ontop # toggle video window ontop of other windows
|
|
w add panscan -0.1 # zoom out with -panscan 0 -fs
|
|
e add panscan +0.1 # in
|
|
c cycle stream-capture # save (and append) file/stream to stream.dump with -capture
|
|
s screenshot # take a screenshot (if you want PNG, use "--screenshot-format=png")
|
|
S screenshot - each-frame # S will take a png screenshot of every frame
|
|
|
|
h cycle tv-channel 1
|
|
l cycle tv-channel -1
|
|
n cycle tv-norm
|
|
#b tv_step_chanlist
|
|
|
|
##
|
|
## Apple Remote section
|
|
##
|
|
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
|
|
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
|
|
##
|
|
|
|
AR_PLAY cycle pause
|
|
AR_PLAY_HOLD quit
|
|
AR_NEXT seek 30
|
|
AR_NEXT_HOLD seek 120
|
|
AR_PREV seek -10
|
|
AR_PREV_HOLD seek -120
|
|
#AR_MENU menu up
|
|
#AR_MENU menu cancel
|
|
AR_MENU_HOLD cycle mute
|
|
AR_VUP add volume 1
|
|
AR_VDOWN add volume -1
|
|
|
|
#? add chapter -1 # skip to previous dvd chapter
|
|
#? add chapter +1 # next
|
|
|
|
##
|
|
## Advanced seek
|
|
## Uncomment the following lines to be able to seek to n% of the media with
|
|
## the Fx keys.
|
|
##
|
|
#F1 seek 10 absolute-percent
|
|
#F2 seek 20 absolute-percent
|
|
#F3 seek 30 absolute-percent
|
|
#F4 seek 40 absolute-percent
|
|
#F5 seek 50 absolute-percent
|
|
#F6 seek 60 absolute-percent
|
|
#F7 seek 70 absolute-percent
|
|
#F8 seek 80 absolute-percent
|
|
#F9 seek 90 absolute-percent
|