~guidocella/mpv-image-config

2e3878553f87e857231a8d211b350ec715b2054a — Guido Cella 1 year, 21 days ago 1444d00
spacing
1 files changed, 5 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +5 -1
@@ 1,4 1,8 @@
This is an example configuration for using mpv as an image viewer. Version 0.34 is needed for the `track-list/N/image` sub-property. Use this by copying what you want to use from `mpv.conf` and `input.conf` into your versions of these files, and copying or symlinking into `~~/scripts` `scripts/align-images.lua` for automatically aligning the OSD to the top-right corner of images bigger than the OSD and centering images smaller than the OSD, and `scripts/image-bindings.lua` for the script messages used by `input.conf`.
This is an example configuration for using mpv as an image viewer.

mpv 0.34 is needed for the `track-list/N/image` sub-property.

Use this by copying what you want to use from `mpv.conf` and `input.conf` into your versions of these files, and copying or symlinking into `~~/scripts` `scripts/align-images.lua` for automatically aligning the OSD to the top-right corner of images bigger than the OSD and centering images smaller than the OSD, and `scripts/image-bindings.lua` for the script messages used by `input.conf`.

## Why?