This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This script is not meant to find a lowpass for you. It is supposed to assist in finding frame ranges of different lowpasses. | |
| # Please don't blindly trust the script and check your delowpasses. | |
| # Also this is somewhat vibecoded, so buyer beware | |
| from vstools import core, vs | |
| from vsmuxtools import src_file, SourceFilter | |
| import itertools | |
| import tqdm | |
| import numpy as np | |
| from numpy.lib.stride_tricks import sliding_window_view | |
| import torch # For GPU acceleration, but can be replaced with just numpy/cupy if you'd like |