Just my personal config files for use in mpv aiming to get the highest quality. Contains custom keybindings, a GUI menu, multiple scripts & filters serving different functions (specified below) and various shaders for animated and live action media. Note that some shaders/scalers won't run well with low end computers, but excluding those this config should run fine on most computers. Also note there will be a few files in the script-opts folder, where you will have to change file paths to point to where the files exist on your pc (detailed below).
Huge shoutout to @he2a for their config, most of my setup is inspired by it.
- uosc - Adds a minimalist customizable gui.
- thumbfast - High-performance on-the-fly thumbnailer for mpv.
- cycle-denoise - Cycle between lavfi's denoise filters.
- autoload - Automatically load playlist entries before and after the currently playing file, by scanning the directory.
- sview - A simple script to show multiple shaders running, in a clean list. Triggered on shader activation or by toggle button.
- webtorrent-mpv-hook - Adds a hook that allows mpv to stream torrents.
- Anime4k - Shaders designed to scale and enhance anime. Includes shaders for line sharpening, artefact removal, denoising, upscaling, and more.
- FSRCNN - Very resource intensive upscaler that uses a neural network to upscale very accurately.
- FidelityFX CAS - Provides a mixed ability to sharpen and optionally scale an image.
- FidelityFX FSR - A spatial upscaler, it works by taking the current anti-aliased frame and upscaling it to display resolution without relying on other data such as frame history or motion vectors.
- NVIDIA Image Scaling/Sharpening
- NVIDIA Image Scaling is a spatial scaling and sharpening algorithm.
- In addition, an adaptive-directional sharpening-only algorithm is available. The directional scaling and sharpening algorithm is named NVScaler while the adaptive-directional-sharpening-only algorithm is named NVSharpen.
- SSimDownscaler, SSimSuperRes, Krig, Adaptive Sharpen
- SSimDownscaler: Perceptually based downscaler.
- SSimSuperRes: Make corrections to the image upscaled by MPV built-in scaler (removes ringing artifacts, restores original sharpness, etc).
- Krig: Chroma scaler that uses luma information for high quality upscaling.
- Adaptive Sharpen: Another sharpening shader
- Download the latest 64bit (or 64bit-v3 for new CPUs) mpv Windows build by shinchiro here or directly from here and extract its contents into a folder called mpv. mpv is portable so you can put this folder anywhere you want.
- Run
mpv-install.bat
, which is located ininstaller
folder, with administrator privileges by right-clicking and selecting run as administrator, after it's done, you'll get a prompt to open Control Panel and set mpv as the default player. - Extract the
portable_config
folder from this repo to the mpv folder and you are good to go. - Adjust any settings in mpv.conf to fit your system's specs.
- You're done. Go watch some videos!
After following the steps above, your mpv folder should have the following structure:
MPV
│
|
├── doc
│ ├── manual.pdf
│ └── mpbindings.png
│
│
├── installer
│ ├── configure-opengl-hq.bat
│ ├── mpv-icon.ico
│ ├── mpv-install.bat # Run with administrator priviledges to install mpv
│ ├── mpv-uninstall.bat # Run with administrator priviledges to uninstall mpv
│ └── updater.ps1
│
│
├── portable_config # This is where this repository goes
│ ├── fonts
│ │ ├── Ubuntu-Medium.ttf
| | ├── uosc-icons.otf
| | └── uosc-textures.ttf
│ │
│ ├── script-opts # Contains configuration files for scripts
│ │ ├── thumbfast.conf
│ │ ├── uosc.conf # Change line 185 to desired default directory
│ │ └── webtorrent.conf # Choose where to save donwloaded videos here
│ │
│ ├── scripts
│ │ ├── uosc_shared # Contains ui elements for the uosc gui
│ │ ├── elements
| | ├── BufferingIndicator.lua
| | ├── Button.lua
| | ├── Controls.lua
| | ├── Curtain.lua
| | ├── CycleButtons.lua
| | ├── Element.lua
| | ├── Elements.lua
| | ├── Menu.lua
| | ├── PauseIndicator.lua
| | ├── Speed.lua
| | ├── Timeline.lua
| | ├── TopBar.lua
| | ├── Volume.lua
| | └── WindowBorder.lua
| |
| | ├── lib
| | ├── ass.lua
| | ├── menus.lua
| | ├── std.lua
| | ├── text.lua
| | └── utils.lua
| |
| | └── main.lua
| |
│ │ ├── autoload.lua
| | ├── cycle-denoise.lua
| | ├── sview.lua
│ │ ├── thumbfast.lua
│ │ ├── uosc.lua
│ │ └── webtorrent.js
│ │
│ ├── shaders # Contains external shaders
│ │ ├── adasharp.glsl
│ │ ├── adasharpA.glsl
│ │ ├── add Anime 4k shaders here
│ │ ├──
│ │ ├── CAS.glsl
│ │ ├── F8.glsl
│ │ ├── F16.glsl
│ │ ├── FSR.glsl
│ │ ├── krigbl.glsl
│ │ ├── NVScaler.glsl
│ │ ├── NVSharpen.glsl
│ │ ├── ssimds.glsl
│ │ └── ssimsr.glsl
| |
| ├── watch_later # Video positions saved here (created automatically)
│ │
| ├── fonts.conf
│ ├── input.conf
│ ├── mpv.conf
| └── profiles.conf
|
│
├── d3dcompiler_43.dll
├── mpv.com
├── mpv.exe # The mpv executable file
└── updater.bat # Run this with administrator priviledges to update mpv
Custom key bindings can be added/edited in the input.conf file. Refer to the manual and uosc commands for making any changes. Default key bindings can be seen from the input.conf file but most of the player functions can be used through the menu accessed by Right Click and the buttons above the timeline.
- mpv manual Extremely useful for knowing what certain options do and what to put in
mpv.conf
- mpv user scripts Compilation of useful community-published scripts to be used with mpv
- mpv wiki Official wiki with even more useful links