-
Notifications
You must be signed in to change notification settings - Fork 9
Mpv portable_config for shaders and custom OSD
butterw edited this page Jan 14, 2024
·
6 revisions
- Download mpv and A-pack.
- Create a folder named
mpv
with user write permissions. - Unzip mpv (ex: v0.37-dev) in the mpv folder.
- Create the subfolder
mpv/s
for shaders. You can also use this folder for scripts you intend to load manually (rather than autoload). - Create the subfolder
mpv/portable_config
for your config files (mpv.conf, input.conf, /scripts, etc). - Run mpv from command-line in the mpv folder with the desired options.
- Release notes: https://github.com/mpv-player/mpv/releases
- https://github.com/mpv-player/mpv/blob/master/DOCS/interface-changes.rst
- https://mpv.io/manual/master/
ex: mpv-x86_64-v3-20231211-git-566a96f.7z (v3 requires avx2)
- you can update with
updater.bat
: change to weekly or daily insettings.xml
- https://github.com/shinchiro/mpv-winbuild-cmake/releases (daily)
- https://sourceforge.net/projects/mpv-player-windows/files/64bit/ (weekly)
- releases: https://sourceforge.net/projects/mpv-player-windows/files/release/
- options can be set in configuration file mpv.conf.
- Options set at the mpv command line have higher priority.
-
mpv --version
(ex: v0.37.0-85-g566a96f2, mpv github commit 566a96f) -
mpv --list-options
: lists all program options with type, data range / possible choices and default values. -
mpv --scale=help
: lists available values for scale option.
mpv --list-properties
- https://mpv.io/manual/master/#properties. Some properties are read-only.
- Property values can be displayed on screen or used by scripts.
- directly usable in input.conf, can also be called via scripts.
- to list commands:
mpv --input-cmdlist
- KEY command1; command2 #comment
- default keybindings (built-in input.conf): https://github.com/mpv-player/mpv/blob/master/etc/input.conf
- list default keybindings:
mpv --idle --script-opts=stats-bindlist=200
- old chart:
- built-in script stats.lua OSD, page 4: lists active keybindings.
- list and name supported keys:
mpv --input-keylist
- Test keys (by pressing them). List built-in and current keybindings: display
mpv --input-test --force-window --idle
- documented example: https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf