vapoursynth 0.1.2

Safe Rust wrapper for VapourSynth and VSScript.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import vapoursynth as vs
from vapoursynth import core

def pixel(color):
    return core.std.BlankClip(width = 1,
                              height = 1,
                              format = vs.RGB24,
                              length = 1,
                              color = color)

def row(red):
    return core.std.StackHorizontal(
        [pixel([red, green * 16, 0]) for green in range(16)])

clip = core.std.StackVertical([row(red * 16) for red in range(16)])
#  clip = core.resize.Lanczos(clip, format = vs.YUV444P8, matrix_s = '709')
clip.set_output()