Ported by: Baptiste Coudurier cleanup+fate by ubitux For detailed authorship of the original code please see avisynth