PDA

View Full Version : DeScratch filter modification


Created78
23rd October 2009, 02:29
Hi everyone,

I've been using Fizick's DeScratch avisynth plugin to remove drop lines from old VHS home video tapes, with great results. Unfortunately, however, in one of these videos there are waves on a lake which look very much like drop lines and are mistakenly removed by the DeScratch filter. I have an idea for how to solve this problem, but it would require changing the color of the marks created by the "mark" parameter of the DeScratch filter. Is there a way to do that?

My idea is this: run the DeScratch filter with the "mark" parameter set to "true", so that it outputs a solid colored mark over the scratches. Then I'd use a chroma key filter to make the mark color transparent, then overlay the clip over a motion-compensated sequence of previous and/or future frames. That way, lines which remain more or less steady from one frame to the next will not disappear, while drop lines (which typically only last for one frame) will be removed.

For this idea to work, though, I need to be able to change the "mark" parameter so that it outputs a single solid color, preferably an uncommon color like bright green or violet. Is that possible?

Thanks in advance for your help.