Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
VapourSynth script reader for AviSynth2.6x
C++ C
Branch: master
Pull request Compare This branch is even with chikuzen:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
LISENCE.GPLv2
readme.rst

readme.rst

VapourSource

VapourSynth Script Importer for AviSynth2.6x

requirement:

VapourSynth r19 or later

AviSynth2.6alpha4 or later

WindowsXPsp3/Vista/7/8

Microsoft Visual C++ 2010 Redistributable Package

SSE2 capable CPU

usage:

as follows.:

VSImport(string source, bool "stacked", int "index")

source  - input script path.
stacked - if this is set to true, MSB/LSB will be separated and be stacked vertially(default:false).
index   - index of input clip(default:0).


VSEval(string source, bool "stacked", int "index")

source - vapoursynth script.
stacked and index are same as VSImport.

examples:

VSImport example:

LoadPlugin("c:/avisynth/plugins/VapourSource.dll")
VSImport("d:/my_scripts/10bits_yuv_clip.vpy", stacked=true)

VSEval example:

LoadPlugin("c:/avisynth/plugins/VapourSource.dll")
script = """
import vapoursynth as vs
bc = vs.get_core().std.BlankClip
clip0 = bc(format=vs.YUV422P8, color=[0, 128, 128])
clip1 = bc(format=vs.YUV422P8, color=[255, 128, 128])
clip0.set_output(index=0)
clip1.set_output(index=1)
"""
VSEval(script, index=1)

note:

Supported formats are YUV420P8/9/10/16, YUV422P8/9/10/16, YUV444P8/9/10/16, YUV411P8, GRAY8/16, RGB24, COMPATBGR32 and COMPATYUY2. Others are not.

Not constant format/resolution/framerate clips are unsupported.

source code:

https://github.com/chikuzen/VapourSource/

Something went wrong with that request. Please try again.