mpv
- mpv-player/mpv
- GPLv2, LGPLv2.1, C, Lua
- manual
- dir
- ~/.config/mpv/
- /usr/local/etc/mpv
- /etc/mpv
- %APPDATA%/mpv
- mpv/
- mpv.conf
- input.conf
- fonts.conf
- subfont.ttf - fallback subtitle font
- fonts/
- scripts/
- watch_later/
- script-opts/osc.conf
- dir
- --sub-auto
- no
- exact - default
- fuzzy
- all
- 参考
Shortcut | |
---|---|
Left/Right | +- 5s |
UP/DOWN | +- 1m |
Ctrl+Left/Right | 上/下 一个字幕 |
Ctrl+Shift+Left/Right | Sub delay 上/下 一句台词 |
[ / ] | 播放速度 +- 10% |
BACKSPACE | 播放速度 正常 |
p / SPACE | 暂停 |
./, | 前/后 一帧 |
q | 退出 |
Q | 退出 - 保留播放位置 |
/,* | -+ 音量 |
m | 静音 |
f,ESC | 切换全屏 |
v | 切换 字幕 显示 |
Shift+g, Shift+f | 字体大小 +- 10% |
r,R | 字幕位置 上、下 |
s | 截屏 |
S | 截屏 - 无字幕 |
` | Console |
brew install mpv # macOS brew mpv 命令行
brew install mpv --cask # macOS brew mpv 应用 https://laboratory.stolendata.net/~djinn/mpv_osx/
# fake gui
mpv --no-video
# yt-dlp
mpv 'https://www.youtube.com/watch?v=xyz'
# 终端渲染
mpv --vo=tct "https://youtube.com/watch?v=xyz"
# 纯音乐
# --ytdl-format='bestaudio'
mpv --no-video --vo=null --ytdl-format='bestaudio/best' 'https://www.youtube.com/watch?v=xyz'
# Strming
mpv -vo=gpu --hwdec=vaapi --gpu-context=wayland https://www.twitch.tv/gorgc
video-sync=display-resample
# https://github.com/mpv-player/mpv/wiki/Interpolation
interpolation
tscale=oversample
- iina/iina
- macOS
- disco0/mpv-types-lua
- Lua type declarations for mpv scripting
- igv/FSRCNN-TensorFlow
- upscale
- mpv shader
- TianZerL/ACNetGLSL
- real-time anime upscaling
- https://mpv.io/manual/master/
- ~/.config/mpv/
- ~/.config/mpv/mpv.conf
- ~/.config/mpv/watch_later
- kljohann/mpv.el
- control mpv for easy note-taking
- 下载 https://mpv.io/installation/
profile=gpu-hq
# alang = 'jpn,jp,eng,en'
# slang = 'eng,en,enUS'
autofit-larger=1920x1080 # Set max window size.
autofit-smaller=858x480 # Set min window size.
no-osd-bar # Hide OSD bar when seeking.
osd-duration=500 # Hide OSD text after x ms.
# osd-font='Trebuchet MS'
deband=yes # Default values are 1:64:16:48
deband-iterations=4 # Range 1-16. Higher = better quality but more GPU usage. >5 is redundant.
deband-threshold=50 # Range 0-4096. Deband strength.
deband-range=20 # Range 1-64. Range of deband. Too high may destroy details.
deband-grain=5 # Range 0-4096. Inject grain to cover up bad banding, higher value needed for poor sources.
dither-depth=auto