This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local mp = require 'mp' | |
-- Configuration | |
local autovsr_enabled = true -- Default to VSR enabled | |
-- Function to apply VSR with dynamic scaling | |
local function apply_vsr() | |
-- Get video and display properties | |
local video_width = mp.get_property_number("width") | |
local video_height = mp.get_property_number("height") |