Skip to content

Instantly share code, notes, and snippets.

# paste this all into a Vapoursynth Editor window
# replace the variables w/h, frames, paths
# optionally define separate start frames or subtitle files
# protip: set "showsubs = frames" to display subs on every frame
# hit F7 and wait for the Benchmark mini-window to pop up
# hit Enter and let the script run
# the screenshots will be in the folder of the first path in paths
@kgrabs
kgrabs / Desample.avsi
Last active January 7, 2024 07:08
Desampling functions for Avisynth+, replaces DebilinearM and lineart_rpow2
/*Desample.avsi - v1.3
---Included script functions---
DesampleX: Wrapper for doing various things involving DesampleMT, deinterlacers, resizers, and masks
Default behavior identical to DebilinearM, can also function as lineart_rpow2
DeCrossConversionMT: Replacement for ccc, ccc_720
---Requirements---
Avisynth+ r2455-MT or newer