Come on ... that was an easy one!
See/listen to my restored output:
http://cdn4.digitalfaq.com/lordsmurf...tput+audio.avi (right click, save as!)
The source had:
- fuzz and tape flutter in audio
- harsh chroma offset, which is typical for nth generation VHS copies of copies
- chroma noise
- analog "pixel" noise (for lack of a better term)
- some noise issues that need NR
The video was just Avisynth +
VirtualDub...
Avisynth script:
Code:
AVISource("E:\test.avi")
ChromaShift(C=6, L=-8)
ConvertToYV12
Deen() # remove edge noise
ConvertToYUY2
^ ChromaShift() fixed the chroma offset, and Deen() was the first NR filter that was run.
VirtualDub filters (VCF attached):
Code:
VirtualDub.audio.SetSource("E:\\deeseven-test.wav", "");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(11);
VirtualDub.video.SetOutputFormat(11);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetSmartRendering(0);
VirtualDub.video.SetPreserveEmptyFrames(0);
VirtualDub.video.SetFrameRate2(0,0,1);
VirtualDub.video.SetIVTC(0, 0, 0, 0);
VirtualDub.video.SetCompression(0x75796668,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Median filter");
VirtualDub.video.filters.instance[0].Config(100);
VirtualDub.video.filters.Add("Camcorder color denoise 1.6 MT");
VirtualDub.video.filters.instance[1].Config(100,1);
VirtualDub.video.filters.Add("resize");
VirtualDub.video.filters.instance[2].SetClipping(26,4,8,22);
VirtualDub.video.filters.instance[2].Config(100,100,1,4,3,0,720,480,4,3,1,4,1,0x000000);
VirtualDub.video.filters.Add("dynamic noise reduction (MMX)");
VirtualDub.video.filters.instance[3].Config (12);
VirtualDub.audio.filters.Clear();
^ "Median" was run to remove the pixel-like noise. "Camcorder Color Denoise" remove the chroma noise, and further cleaned up some of the chroma offset that couldn't be fixed. It was set to max, which isn't often ideal, but it was here. Crop. Then run the "Dynamic Noise Reduction (MMX)" to finish up the NR pass. The default 12 looked fine.
The output needed some cropping work, to adjust for the now-moved chroma channels. And to cover that terrible overscan mess. Also notice that my files compresses down to 272mb vs your 326mb source. Although I did crop a few frames of crap in the beginning, the bulk of that was from better compression from simply having less noise.
The audio was just a series of the custom digitalFAQ.com
Sound Forge filters.
- digitalFAQ Normalize @50%
- digitalFAQ Post-Audacity Fuzz 4 - Mild + 20 anti-click = Audio Restoration filter
- digitalFAQ Hiss cut 02 - Aggressive [muffles] = Paragraphic EQ
- digitalFAQ Enrich Mono VHS 4 / Not Re-Add High Fuzz = Graphic EQ
This is to:
- Reduce levels (normalize to 50%) so filters don't distort
- Remove most noise
- Remove more hiss
- Restore some muffled/mono values to the audio
I could have run another hiss cut filter, but I'm afraid to muffle the audio too much. The hiss is mostly present when audio isn't playing. I would leave it alone, and so I did. If this was something super-important of mine, I might spend lots of time writing a new filter that balances noise (hiss) and audio fidelity. But I can already tell such a time investment may be fruitless, as the noise invades to same audio spectrum as the audio I want to keep.
Yes, the audio and video filters can all be tweaked (or nitpicked by perfectionists), but it's a good start if nothing else.
Personally, I'd call it a win, and move on to the next project.
There's some further deinterlace work that can be done, which in turn allows some advanced stabilization work. But I'm not sure if it really matters. The video is pretty erratic and false movements may make it worse. It's a bootleg anyway. It has the "bootleg concert" appeal.
So how'd I do?