This script detects if a video has a 4:3 aspect ratio and automatically adjusts it to 16:9 (wide).
It is designed for libraries with older 4:3 content, stretching them to 16:9 without manual intervention. The script aligns with my preference for a simple mpv configuration to fit this straightforward use case.
Simply place boxtowide.lua
in the corresponding mpv scripts location of your operating system:
- Windows:
%APPDATA%\mpv\scripts\
orC:\users\USERNAME\AppData\Roaming\mpv\scripts\
- Linux:
~/.config/mpv/scripts/
or/home/USERNAME/.config/mpv/scripts/
- Mac:
~/.config/mpv/scripts/
or/Users/USERNAME/.config/mpv/scripts/
Note
More information about files locations can be found here
config/mpv
│ input.conf
│ mpv.conf
│
└───scripts
boxtowide.lua