I have a video that was captured from a VHS tape.

The tape was worn, or the heads were dirty, or something. There are "streaks" of light and dark running horizontally in the picture. It almost reminds me of what you see when you videotape a TV screen, with the scan lines glowing on the screen. (Not as bad, but similar).

I have gotten very good at restoring poor quality video with low saturation, noise, etc. But I have not found a single way to fix this.

Basically I need a filter (VirtualDub if possible) that looks at the horizontal greyscale luminosity and compares the average to every other line on the screen. Then, when it finds an area of "X" pixels in height where the entire average is "Y"% lighter then the same area above and below, it adjusts the luminosity by "Z"%.

I am not sure if I am describing this right, since I don't program, just use, filters, but I hope you can get my "very inaccurate" idea.

Does anyone know of a filter that can do this sort of action?

Or, is there a filter that can do this by adjusting the settings? I've tried various 2D noise filters, but I seem to just loose crispness. Time-based filters don't work, because the banding is time-based as well, so the filters think it is part of the correct image and actually help "clean" up any noise in the banding.

Any ideas?

Mike