Configuration files and scripts I use for mpv, tailored to a generally minimal and straightforward use case.
- Using
profile=high-quality- Use with a capable dedicated GPU, otherwise use
profile=fastor no profile (default) - You can view profile details with
mpv --show-profile=high-quality
- Use with a capable dedicated GPU, otherwise use
- Hardware decoding enabled
- Using
gpu-api=d3d11andhwdec=d3d11va(Nvidia GPU, Windows) Usinggpu-api=vulkanandhwdec=nvdec(Nvidia GPU)- Slow startup with
Vulkan+Nvidia: mpv-player/mpv#13019
- Slow startup with
- Using
- Default keybinds are disabled:
input-default-bindings=no- Custom keybinds are set in input.conf
- Matroska ordered chapters is disabled:
ordered-chapters=no [Media]and[Slideshow]auto-profiles are system specific, use as reference or adjust- Some options are Windows OS specific, in use or value
Important
mpv v0.39 or newer is required due to reliance on features like autocreate-playlist, which replaces autoload.lua with native functionality.
Please review the files before use to understand their contents.
- Main [mpv.conf]
- Key bindings [input.conf]
- Context menu [menu.conf]
- BoxToWide (Source) 1
- Image-Bindings (Source) [Modified]
- ModernZ OSC (Source) [Config] 2
- Pause Indicator Lite (Source) 3
- PiP-Lite (Picture-in-Picture) (Source) 4
- Sponsorblock-minimal (Source)
- Thumbfast (Source) [Config]
- Windows: If you get an error
cannot create mpv subprocessthis po5/thumbfast#154 (comment) shows how to fix it, which is basically reverting this commit po5/thumbfast@9deb073
- Windows: If you get an error
- ytdlAutoFormat (Source) [Config] 5
Note
Source links lead to the respective repositories of the original authors.
- Windows:
%APPDATA%\mpv\orC:\users\USERNAME\AppData\Roaming\mpv\ - Linux:
~/.config/mpv/or/home/USERNAME/.config/mpv/ - Mac:
~/.config/mpv/or/Users/USERNAME/.config/mpv/
📁 mpv/
│ ├── 📄 input.conf
| ├── 📄 menu.conf
│ └── 📄 mpv.conf
├── 📁 fonts/
│ ├── 📄 fluent-system-icons.ttf
│ └── 📄 material-design-icons.ttf
├── 📁 script-opts/
│ ├── 📄 modernz.conf
│ ├── 📄 thumbfast.conf
│ └── 📄 ytdlautoformat.conf
└── 📁 scripts/
├── 📄 boxtowide.lua
├── 📄 image-bindings.lua
├── 📄 modernz.lua
├── 📄 pause_indicator_lite.lua
├── 📄 pip_lite.lua
├── 📄 sponsorblock_minimal.lua
├── 📄 thumbfast.lua
└── 📄 ytdlautoformat.lua
Note
More information about files locations can be found here
