dark_jedi said:But keep in mind we are working with lossless avi files.
Oh, they won't be lossless when I get my hands on them. ;)
Anyway, what is the colorspace you are using? There may have to be some conversion in between, and I know I had to convert to RGB to get enough control over the color channels. I'll PM you the script tonight and if it's something that looks promising, I'll tell you how to tweak it for your purposes.
-G