Skip to content

Instantly share code, notes, and snippets.

@OrangeChannel
OrangeChannel / vscompare.py
Last active June 2, 2025 19:38
VapourSynth comparison script. Allows for easy upload to slowpics.org, or local diff checking for an infinite number of clips, in 5 different modes. 'comp' function can be used in VSEdit's preview window, to visually compare clips.
"""Creates easy frame comparisons between multiple VapourSynth clips."""
__all__ = ['prep', 'comp', 'save']
__author__ = 'Dave <orangechannel@pm.me>'
__date__ = '30 November 2019'
import os
from contextlib import contextmanager
from functools import partial
from math import floor, sqrt
from random import randint, sample