VapourSynth: pythonic alternative to avisynth

What do I know about VapourSynth

http://www.vapoursynth.com/ - website

How to save data from VapourSynth

You need to use vspipe.exe from Vapour distributive
It seems it returns raw data to stdout


Render using ffmpeg

Don't know how jet

Render using ImageMagick/convert

Don't know how jet

Image Reading

Image reading causes crash of AvsPmod, in which I using Vapoursynth

Other


AvsPmod - new version of AvsP. AvsP is a tabbed avs editor with convenient results preview.
http://avspmod.github.io/

In version 2.4.0 temporary support of vapour scripts was added to AvsPmod (http://forum.doom9.org/showthread.php?t=153248)
And it's true.

My first working script:

import vapoursynth as vs #include vapour module

core = vs.get_core() # some core loading

src = core.avisource.AVISource('frm.avi') # opening frm.avi

# it doesn't work without whis line and
# prints error message "Avisynth open failure: 
VFW module doesn't support RGB24 output"
ret = core.resize.Bicubic(src, format=vs.COMPATBGR32)

ret.set_output()


Interesting bug:
For RGB24 avi file it outputs image flipped vertically:
In YUV format it's ok.

AvxSynth - linux port of Avisynth

https://github.com/chikuzen/VapourSource - avisynth plugin for loading VapourSynth scripts

It seems VapourSynth developer is little bit crazy: he wants everysthing be in C instead of C++ (http://www.vapoursynth.com/2012/11/vapoursynth-tasks/)


No comments:

Post a Comment