Skip to content

Instantly share code, notes, and snippets.

@natyusha
natyusha / autovsr.lua
Last active June 21, 2025 18:37 — forked from azumukupoe/autovsr.lua
AutoVSR for MPV w/ HEVC Main 10 Support
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")