Skip to content

Instantly share code, notes, and snippets.

@McBaws
McBaws / keyframes.py
Last active July 28, 2024 13:39 — forked from Setsugennoao/keyframes.py
Keyframe generator script (fixed TypeError)
from argparse import ArgumentParser
from pathlib import Path
from vsexprtools import ExprOp, norm_expr
from vstools import (
CustomRuntimeError, Keyframes, KwargsT, Sentinel, clip_async_render, core, get_w, mod4, mod_x, ranges_product,
shift_clip, split, vs
)
name = 'SetsuNoKeyframes'
@McBaws
McBaws / comp.py
Last active December 26, 2023 06:33 — forked from Vodes/comp.py
ATTENTION: AS OF 22/09/2023 THIS PROJECT IS NOW BEING MAINTAINED AT https://github.com/McBaws/comp ----------------------------------------------- Create Comparisons for multiple video clips with automatic upscaling and uploading. This fork has support for FrameInfo, trimming from start and end, user selected frames, saving frame numbers, and im…
"""
I do not provide support for this unless its an actual error in the code and not related to your setup.
This script was originally written on VS R53 with Python 3.9 & has been tested on VS R63 with Python 3.11.
You'll need:
- Vapoursynth
- "pip install pathlib anitopy pyperclip requests requests_toolbelt natsort vstools rich colorama" in terminal (without quotes)
- "vsrepo install imwri lsmas sub" in terminal (without quotes) or the following installed to your usual Vapoursynth plugins folder:
- https://github.com/AkarinVS/L-SMASH-Works/releases/latest
- https://github.com/vapoursynth/subtext/releases/latest