Log in

View Full Version : LVS - 2D rendering with scripting


Youka
22nd April 2013, 15:45
Lua Video Sync (https://sourceforge.net/projects/lua-video-sync/) is the 2D alternative to FLuaG (http://forum.doom9.org/showthread.php?t=161852).
It's easier for usual graphics and so more useful for fast & good results. Maybe it gets a 3D profile and replaces FLuaG completely this way.

Examples (https://github.com/Youka/LVS/tree/master/examples)

For developers:
Source code is widely documented and kept simple. Who likes to write a plugin for Avisynth + VDub + DShow, use 2D graphics library Cairo (www.cairographics.org/) or want to learn some windows programming can take a look.

tin3tin
11th May 2013, 23:26
I know I sound like at total noob to ask this, but how do I download all the files needed and examples in one go? I would really like to try it out. I was a great fan of your FLuaG.

Youka
12th May 2013, 16:46
Lua Video Sync (https://sourceforge.net/projects/lua-video-sync/) is...Sourceforge project site is linked. There's the download button for the compiled version, a link to the Github repository for source codes and ways to give feedback.

cihub
26th July 2015, 18:09
In case if someone is interested in this filter, here's a few hints:

this tutorial can be used as a partial guide to LVS: http://www.tortall.net/mu/wiki/CairoTutorial;
you can use print() for debugging, but beware that its output path changes depending from where you call it: main body (script initialization time; most likely CWD == dir with AvsP, VirtualDub, etc.) or some function called from GetFrame() (CWD == dir with *.avs);
to make your Lua script more configurable, you can pass code snippets/configs in valid Lua from AviSynth like this: LVS(data=string_containing_config). For that just paste somewhere in the *.lua this line: load(USERDATA)().