vapoursynth-descale

VapourSynth plugin to reverse upscaling and restore original resolution

brewmacoslinux
Try with needOr install directly
Source

About

VapourSynth plugin to undo upscaling

Commands

vapoursynth-descale

Examples

Load descale plugin in VapourSynth script to undo 1080p upscaling$ import vapoursynth as vs; core = vs.core; core.descale.Descale(clip, 1280, 720, kernel='lanczos')
Apply descale with bicubic kernel to restore 720p from 1080p source$ core.descale.Descale(clip, 1280, 720, kernel='bicubic', b=0, c=0.5)
Use descale in a VapourSynth filter chain to process video file$ vspipe -c y4m script.vpy - | ffmpeg -i pipe: output.mkv