快捷键
Left/Right:快进, 快退Up/Down:快进, 快退[/]:倍速 x0.9, x1.1{/}:倍速 x0.5, x2Space(p):暂停/播放,/.: 暂停,然后逐帧前进,逐帧后退9/0: 音量s: 截图q: 退出v: 字幕开关j: 切换字幕o: 显示进度f: 全屏开关i: 显示视频信息#: 切换音轨l: 设置循环 A-B 点, 循环播放,清除循环
配置
系统配置:/etc/mpv/mpv.conf
cat /etc/mpv/mpv.conf
hwdec=vaapi
用户配置 (需要自己创建):
~/.config/mpv/mpv.conf~/.config/mpv/input.conf~/.config/mpv/fonts.conf~/.config/mpv/script-opts/osc.conf
no-border
idle=yes
osd-font-size=24
save-position-on-quit
hwdec=auto
screenshot-directory=~/Pictures/Screenshots
screenshot-format=png
screenshot-template="%tY%tm%td-%tH%tM%tS-mpv-%F-%wH%wM%wS%wT"
mkdir -p ~/.config/mpv/scripts ~/.config/mpv/script-opts
find ~/.config/mpv/ -ls
GH=https://raw.githubusercontent.com
wget $GH/jonniek/mpv-menu/master/menu.lua -P ~/.config/mpv/scripts/
wget $GH/jonniek/mpv-playlistmanager/master/playlistmanager.lua -P ~/.config/mpv/scripts/
wget $GH/jonniek/mpv-playlistmanager/master/playlistmanager.conf -P ~/.config/mpv/script-opts/
wget $GH/jonniek/mpv-playlistmanager/master/menu.json -P ~/.config/mpv/script-opts/