Skip to content

A simple mpv script to change 4:3 aspect-ratio of video files/streams to 16:9 automatically.

Notifications You must be signed in to change notification settings

Samillion/mpv-boxtowide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

mpv-boxtowide

This script will check if the video file has a 4:3 aspect ratio (box) and if so, it will change it to 16:9 (wide).

Its intended purpose is for videos or libraries with old 4:3 aspect ratio content. Instead of manually changing the aspect ratio, it will stretch it to 16:9 aspect ratio automatically.

I like to keep my mpv configuration simple, that is why I created this script to match my simple usecase.

How to install

Simply place boxtowide.lua in the corresponding mpv scripts location of your operating system:

  • Windows: %APPDATA%\mpv\scripts\ or C:\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

How to uninstall

The script doesn't write or alter configuration files, so removing the boxtowide.lua script from the mpv scripts folder is all that is needed to uninstall/disable.

Preview

Terminal

About

A simple mpv script to change 4:3 aspect-ratio of video files/streams to 16:9 automatically.

Topics

Resources

Stars

Watchers

Forks

Languages