TOOL » LINUX » APP
Mpv
Usage
If using with URLs, have yt-dlp
installed.
If the url used causes "invalid certificate" for some reason, use:
shell
mpv --ytdl-raw-options=no-check-certificates= URL
Shortcuts
For some shortcuts, extra configuration must be added to ~/.config/mpv/input.conf
.
Shortcut | Description | Extra configuration |
---|---|---|
> | Next file in a playlist | - |
< | Previous file in a playlist | - |
9 | Reduce volume | - |
0 | Increase volume | - |
s | Shuffle | s cycle shuffle |
l | Loop playlist | l cycle-values loop-playlist yes no |
# | Next audio track | - |
Settings
Copy the default configuration files.
shell
cp -r /usr/share/doc/mpv ~/.config
Tips
Load high quality OpenGL options:
ini
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
Display timestamps with milliseconds in the OSC:
ini
script-opts=osc-timems=yes
Custom OSC
Subtitles
Supported formats: LRC, SRT, VTT, ASS
LRC
Formatting is very important (cannot use 3 digits for milisseconds).
txt
[mm:ss.xx] Text to be shown