For an up-to-date discussion on removing rainbows, check out this thread here: Somewhere on the second page of the thread you will find a script sh0dan came up with to remove rainbows, reprinted here: Code:
Glad you found something that you like. As far as using dlls go, you could also try using MipSmooth (see my post on the first page of the thread I mentioned for the settings). Also, scripts are just as convinient as dll filters if you make them into a function. For example, you can convert sh0dan's script into a function as follows: EDIT: See sh0dan's post below for a working script. Simply save the above code into a new text file and rename it to "function.avs". Now you can load it as if it were a dll filter using the Import() command, ie, Code:
--------------------- A Retired Seven - Aussie740Limo 173K miles Brisbane, Queensland, AUST.
you can also try this setting for rainbows in static scenes (works fine for me, not strong enough for temporal errors from minor patterns, but works fairly well with static rainbow, line noise, and that hideous dot crawl) GuavaComb(mode="NTSC",recall=85,maxvariation=35,activation=30) watch out for patterns... and did you give "smoothuv" a try? that works spatially. does not work as well as smoothiq but its way faster. I looked at your "problem.avi" and my guavacomb setting should work pretty well to get rid of that line noise. tweak maxvariation if too much line noise comes through.
i remember there was a thread one time... where is it now... a/w here is the dll for avisynth2.5. syntax is (radius,strength,interlaced boolean) example SmoothUV(5,16,false) accepts YV12 data only. hits subtitle and credit rainbows pretty easily, some rainbows it only hits at too high a strength and ends up cross coloring / color bleeding. if that happens, stuck with slow as can be smoothiq.
The function above did not work. I fixed it and added a YUY2 version (much slower though), but with no chroma downsampling. I tweaked it a bit for best results on my current material. I also changed the blurs to MipSmooth. Code: