Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block 4re

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kageru /
Last active Aug 30, 2019
Standalone script using Vapoursynth to determine the original resolution of scaled images or videos.

This version is deprecated

I’ve stopped updating this a while ago because some people made a proper respository with a few necessary fixes and changes. Just get this version from now on:

This project was moved to
Don't expect this gist to be updated regularly.
import vapoursynth as vs
import mvsfunc as mvf
import fvsfunc as fvf
from functools import partial
You can’t perform that action at this time.