I haven't looked in detail at the algorithmic part, so can't comment on that, but I spotted a couple of things on a quick look at the code.
In the Assert statement error messages, CHR(13) does not produce a newline, just a square blob. Use CHR(10) instead, or just use a multi-line string literal, eg
"first line
second line" # note no '\' required
Also, Avisynth string comparison is case-insensitive, so there's no need to use LCase when comparing.
__________________
GScript and GRunT - complex Avisynth scripting made easier
|