Skip to content

Instantly share code, notes, and snippets.

@blaze077
blaze077 / Kaiji - 01 AA.avs
Last active December 31, 2017 04:41
Scripts for filtering the first episode of Kaiji. I regret nothing.
AddAutoloadDir("C:\Program Files (x86)\AviSynth+\scripts", true)
LWLibavVideoSource("C:\Anime Encoding\Kaiji\Gyakkyou Burai Kaiji Ultimate Survivor\KAIJI_1\VIDEO_TS\EP 01\Kaiji - EP01 LosslessIVTC.mkv")
ConvertFromDoubleWidth(10)
ConvertBits(8)
#Don't expect anything readable. See the Vapoursynth script at the end for more details.
#844 x 478 -------> 848x480
#Spline36Resize(844, 478, 4, 2, -4, 0)
@blaze077
blaze077 / blazefunc.py
Last active September 6, 2021 07:15
Collection of Meine Funktionen
import vapoursynth as vs
import functools
import numpy as np
core = vs.core
def extended_dimension(src, dimensions=[0, 0, 0, 0]):
"""
Extends the edges of the clip using the given extension parameters (like negative cropping in Avisynth)
src is the source clip. dimensions is an array of integer values in the following format: [left, right, top, bottom]"""