mpv is a free (as in freedom and free beer), open-source, and cross-platform media player. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.
This is my setup of MPV alongside scripts that I use. Before installing, read this whole README to learn how to exactly install it.
Here are the steps to install mpv and to use my configuration files on Windows:
- Download the latest 64bit mpv Windows build by shinchiro from mpv.io/installation and extract it wherever you please. This is now your mpv folder
- Run
mpv-install.bat
as administrator, which is located ininstaller
folder - To download this configuration, press
CODE
, thenDownload ZIP
. (Might add zip in release tab) Extract it and put it next to mpv.exe in a folder calledportable_config
- To make some scripts work, you need to modify them for your installation:
- For
MPV-Discord
script to work, opendiscord.conf
, which is located inportable_config/script-opts
folder and specifybinary_path
which is a full path tompv-discord.exe
(It's needed to make the script work otherwise bad things can happen like MPV not willing to open etc.). For Examplebinary_path=C:\mpv\portable_config\discord.exe
. Make sure you're not using any quotation marks before and after the path.
- For
After following the steps above, your mpv folder should look like this (Windows only for now):
├── doc
│ ├── manual.pdf
│ └── mpbindings.png
│
├── installer
│ ├── configure-opengl-hq.bat
│ ├── mpv-icon.ico
│ ├── mpv-install.bat # Run this with administrator priviledges to install mpv
│ ├── mpv-uninstall.bat # Run this with administrator priviledges to uninstall mpv
│ └── updater.ps1
│
├── mpv
│ └── fonts.conf
│
├── portable_config # This is where this repository goes
│ ├── fonts
│ │ └── Material-Design-Iconic-Font.ttf # Buttons and etc. for ModernX Script to Work
│ │
│ ├── scripts-opts
│ │ └── discord.conf # MPV-Discord configuration file
│ │
│ ├── scripts
│ │ ├── autoload.lua # Script to automatically load a video after the first one ends
│ │ ├── cycle-profile.lua # Cycle through profiles (For future because I plan to make multiple profiles)
│ │ ├── discord.lua # Script to show your activity on Discord
│ │ ├── mordenx.lua # Script for modern UI
│ │ ├── seek-to.lua # Script that allows to seek to an absolute position in the current video by typing its timestamp.
│ │ └── webm.lua # Script to make clips from your favourite shows you're watching
│ │
| ├── shaders
│ │ ├── ACNet
│ │ │ └── ACNet.glsl
│ │ ├── AMD
│ │ │ ├── CAS.glsl
│ │ │ ├── CAS-scaled.glsl
│ │ │ └── FSR.glsl
│ │ ├── Anime4k (All of the files glsl's from the repository)
│ │ ├── FSRCNNX
│ │ │ └── FSRCNNX_x2_8-0-4-1.glsl
│ │ ├── Krig
│ │ │ └── KrigBilateral.glsl
│ │ └── SSim
│ │ └── SSimDownscaler.glsl
│ │
│ ├── discord.exe # Used by MPV-Discord script
│ ├── input.conf # Keybinding configuration
│ ├── mpv.conf # MPV's main configuration file
│ └── profiles.conf # Holds all of the different profiles and presets
│
├── d3dcompiler_43.dll
├── mpv.com
├── mpv.exe # The mpv executable file
└── updater.bat # Run this with administrator priviledges to update your mpv to the latest version
-
Autoload — Source
Automatically load playlist entries before and after the currently playing file, by scanning the directory. -
Cycle Profile — Source
Cycles through a list of profiles sent via a script message and prints the profile-desc to the OSD. More details at the top of the file. -
ModernX — Source
A modern OSC UI replacement for MPV that retains the functionality of the default OSC. -
MPV-webm — Source
Quick and easy way of creating clips from TV Shows, Anime, Movies etc. -
MPV-discord — Source
Easy way to show what you're watching to your friends on Discord. -
Seek To — Source
Seek to an absolute timestamp specified via keyboard input or pasted from clipboard.
The shaders included in the shaders
folder:
-
Anime4K v4.0.1 Stable — Source
Used for upscaling anime. (CTRL + [1-6] To change Anime4K modes) -
ACNetGLS — Source
Another upscaler. Alternative to Anime4K. I only used the default one because it looked the best in my testing. -
AMDFSR — Source
AMD FidelityFX Super Resolution. Enabled by default. Edited Line 38 from 1.0 to 0.5. -
AMDCAS — Source
AMD FidelityFX Contrast Adaptive Sharpening. Enabled by default alongside FSR. -
KrigBilateral — Source
Used for chroma upscaling and downscaling. Enabled by default alongside FSR and CAS. -
SSimDownscaler — Source
Used for luma downscaling.
- MPV Manual
Extremely useful for knowing what certain options do and what to put inmpv.conf
- MPV User Scripts
Compilation of useful community-published scripts to be used with mpv - mpv.conf guide by iamscum
- MPV Configuration Guide for Watching Videos by Kokomins
- Noelsimbolon's repo for his MPV configuration Nice documentation of his configuration and repository. Can learn a lot for making your own repository about your MPV configuration