AviSynth Descratch Filter Help Needed
Hello,
I'm trying to use the Descratch AviSynth filter to reduce/remove some vertical scratches, and having a terrible time getting it to do anything except blur the images. I'm using VirtualDub and calling the following AviSynth script: Code:
AviSource("G:\Video Editing Projects\United Cinema\CM 2009 Final DNR.avi") Code:
AviSource("G:\Video Editing Projects\United Cinema\CM 2009 Final DNR.avi") Any thoughts as to what I might be doing wrong? Derek |
Let's back up further, and take a look at your video/image that needs repairing. This approach you've taken might not even be the best option. While Avisynth does have several great filters, don't mistake it as being the "best" filtering program. VirtualDub has many filters, as do other encoders and editors.
Post a sample image/video (attach to this forum!) and then I'll take a look at it. All of this said, remember that many noise removal techniques involve hiding an error, and not necessarily removing it. When it comes to certain noise issues, blurring can be a side effect, be it intraframe (within 1 frame) or interframe (temporally across several frames) blurring. |
4 Attachment(s)
OK, here's a few framegrabs for your evaluation. Thanks for your time! :)
Derek Attachment 815 Attachment 816 Attachment 817 Attachment 818 |
The video looks to be a typical home-shot 8mm film. It's just barely in the realm of being in focus and sharp. Any slight noise reduction easily knocks it into the realm of soft and blurry. I hate working with footage like this. You'll want to experiment with adding sharpness filters. This is one of the few cases where I think leaving the inherent film grain is allowed, because it adds the false perception of sharpness. This looks to have been filtered for grain already, either in the hardware or in earlier software processing.
The width of those scratches in frames 3-4 is so wide, that I'm not surprised you got really blurry results. If those are constant scratches, I'd be surprised if removal were possible. Only if the scratches come and go, would removal be possible, using a frame averaging from nearby frames. Every now and then, VirtualDub doesn't seem to display Avisynth corrections as it should. In those cases, I've used another GUI, but I can't remember the name of it, as it's been at least 2-3 years since I had that problem.
Refer back to this original thread, if needed, as needed. Regardless of where you get answers, be sure to come back here and post your resolution, if you're able to get one. Post links to those new posts here, so myself and any future readers can keep track of all the discussions on the problem. |
Quote:
Quote:
1) I'm doing something wrong. 2) Descratch doesn't work as advertised 3) The VirtualDub/AviSynth combo has problems. While the scratches may be unable to be removed with Descratch, there are tools out there that can detect and remove them. The problem is their high cost. I was disappointed that the FilmFix plug-in for After Effects (by Red Giant Software) did not attempt to remove vertical scratches, only horizontal ones. They have since discontinued this plug-in for revamping, and have not determined a date for when a new version might appear. I'll do as you suggest and start some threads at the forums you listed. Quote:
Thanks for your advice! Derek |
I'm not familiar with digitalfilmrestoration.net, but I checked out their site, and they didn't say anything stupid on it. That's a good sign. If I had a project that needed film restoration, I'd consider them for a test reel. There's several companies out there claiming to use the same processes, using the software from http://www.hs-art.com
Dustbuster has a demo. Maybe you can try it out for yourself, see what may or may not work? This is some interesting stuff. :) Another suggestion... If the original film is still available, optical scanning hardware (using features like ICE) will probably yield a better transfer, as compared to a software-only fix from latter-generation transfers. I work with 35mm slide/film scanning and restoration, and the techniques for motion film scanning are based on the same principles -- there's just more of it to scan. I wish you much luck on this project, I'd love to hear how it gets fixed, if you're able to fix it. If I come across some new information, or have a new idea to share with you, I'll be sure to come post it. I may see if any of my film-work peers have that software. |
Quote:
Quote:
Progress report - I've started to use AvsP instead of VirtualDub, and the video preview function now works! I can see subtle changes occurring as I adjust the parameters. The bad news is it only softens/removes the lightest scratches. The darkest black and blue scratches are hardly touched. It seems to me that the Descratch filter's limit of 3 pixels width (maxwidth) is too narrow for my purposes. The documentation for the filter doesn't always tell me what the parameter really does either. For example, exactly what "processing" occurs when you use the modey/modeu/modev parameters? I can see results, but I don't know what it did to get there. I'll probably try starting some new threads at the other sites you suggested and see if anyone there has had better luck with Descratch. Quote:
I promise I'll keep checking back! Derek |
I kind of figured Descratch would only take you so far. Most of what I see on your film is more advanced than the typical definition of a "scratch". However, I still think you should look into added advice from the sources I mentioned above, both at Doom9 and VH. If nothing else, I think it'd be good to get a confirmation on these limited abilities.
I would start with the pre-Corel VS filtering, yes. Fix the major issue first, and the smaller issues later. Grain is a small issue. That's a general rule of restoration. It's not ALWAYS 100% EVERY TIME true, but generally it is. This is one of those times. I find it interesting that Sonic Foundry (former owner of Vegas) is a long-time customer of Diamant. I wonder what (if anything) was incorporated into the abilities of Vegas Video. Hmmm.. There's no harm in contacting one of the resellers, like http://www.atomicfilm.com, and asking what the cost is. Better to know it's out of reach, than to guess. Right? I'd ask myself, but don't have that much research time available just this moment. You'll probably get around to it faster. |
Quote:
Quote:
I don't use VV much, as I find its interface just too clunky. It's what happens when you try and broaden a sound editor into a video editor and use the same interface. Quote:
Given how much these tools tend to cost, I seriously doubt I can afford to buy a license. It's likely cheaper to farm it out to the Digitalfilmrestoration.net folks, or to see if I can find a local shop with the software and rent (or beg) time on their system. Derek |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.