Setting up mpv
mpv must be built with Vapoursynth support.
Installation - Windows
Install the following packages via SVP's "Additional programs and features":
- [VPS_64] mpv video player and/or
- [VPS_64] mpv shared library
You can also use builds by shinchiro, but SVP's builds may have some tweaks missing in the 'official' mpv necessary in some cases.
Installation - Linux
Installation - macOS
Compiling mpv from sources
To use Vapoursynth filters you have to install the Vapoursynth package and build mpv 0.17.0 or later with the --enable-vapoursynth build flag.
The only necessary mpv option is (Linux and macOS)
You can put this line into mpv.conf (usually located in ~/.config/mpv on OS X and Linux and in %APPDATA%\mpv on Windows)
input-ipc-server=/tmp/mpvsocket # or input-ipc-server=mpvpipe
Since SVP >= 4.3.191 (2020-04-11) you can use the mpvSockets LUA script instead of fixed 'input-ipc-server'. This will also allow to use SVP in more than one mpv windows simultaneously.
Only "copy-back" hardware video decoders are compatible with Vapoursynth filters, use
This one fixes audio desync
"Watch later" feature is not compatible with SVP, set
More useful options:
# Can fix stuttering in some cases, in other cases probably causes it. Try it if you experience stuttering on macOS. opengl-early-flush=no