Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
19th February 2005, 23:50 | #21 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Dear killer,
1. All scratches marked by Descratch on your example are weak scratches, which will NOT be cleaned. 2. Only strong (with dif > mindif) and long (length > minlen) scratch will be cleaned by Descratch. It would be marked by deep black. 3. IMHO, I do not see any line on you example for Descratch. Try DeGrainMedian instead. or some other filter (fft3d ?).
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
20th February 2005, 20:59 | #22 | Link |
Registered User
Join Date: Jan 2005
Location: Spain
Posts: 17
|
Hi Fizick
Thanks for answering that quickly, I've been trying to tune your filter starting off with the parameters on your page but I don't get the right settings, I've tried increasing mindif and minlen to get less detection, also I turned on the modeU and modeV and put mindifUV=0 so it gets mindif. But the problem is that the scratches that I want to be removed don't get removed, scratches like this: This is the only kind of scratch I need to remove from my clip. What settings do you suggest me to use Fizick?? Also I'm getting detected other parts of the clip which aren't scratches. The Avisynth code used is: #Fizick's DeSpot loadplugin("C:\Archivos de programa\AviSynth 2.5\plugins\descratch.dll") ConvertToYV12(interlaced=true) crop(0,0,-0,288) # select top part of frame to save screen space input=last assumetff() separatefields() # for analog interlaced source turnleft() descratch(mindif=4,maxgap=20,minlen=110,blurlen=50,keep=100,border=0,maxangle=0.0,modeU=1,modeV=1,mindifUV=0, mark=false) turnright() weave() # restore fields # Compare source frame and frame after scratch removing StackVertical(input,last) Also, I've noticed a strange image, see what I've got: No idea why the face of the man is distorted, I thought it could be because of the detection marking but it's turned off. Thanks in advance |
13th March 2005, 11:26 | #23 | Link | |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
One user (UFFE) sent to me this e-mail.
Quote:
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
|
14th September 2006, 07:11 | #24 | Link |
Registered User
Join Date: Apr 2006
Posts: 81
|
Souce clip has many vertical scratches & lines, looks a lot like the screenshot in DeScratch guide.
I tried the small sample script in the guide, Code:
AviSource("whatever.avi") LoadPlugin("descratch.dll") ConvertToYV12() DeScratch(lumadif=2) Using in VirtualDubMpeg2, and it won't load, gives error message "DeScratch does not have named argument "lumadif" Which current parameter replaced lumadif ? Or is that an obsolete setting now? what would be the simplest script for DeScratch? Thanks for any help. |
15th September 2006, 04:39 | #25 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
mindif
I fixed the doc (and released the source code)
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. Last edited by Fizick; 15th September 2006 at 22:01. |
24th August 2011, 03:54 | #27 | Link |
Registered User
Join Date: Mar 2003
Posts: 19
|
No effect - how can I fix my script?
I've created an avs file, but see no effect at all. I've been trying different scripts and here is the latest. This is for a black and white film with black vertical scratches. What am I doing wrong in the script?
Thanks for any help! Mark DirectShowSource("lemonade.avi") LoadPlugin("descratch.dll") ConvertToYV12() DeScratch(mindif=5) DeScratch(maxgap=55) DeScratch(keep=0) DeScratch(mark=true) |
24th August 2011, 09:29 | #28 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
|
You will not want to call Descratch 4 times in row with only one parameter.
I guess you will want to call Descratch only once with your 4 parameters separated by commas. The Descratch.html gives examples. Like Code:
DeScratch(mindif=4, maxgap=20, minlen=300, blurlen=50, keep=100, border=0, maxangle=0)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." Last edited by Emulgator; 24th August 2011 at 09:31. |
31st May 2016, 13:52 | #29 | Link |
Registered User
Join Date: Jan 2012
Location: Toulon France
Posts: 249
|
Hello Fizick,
Thanks you for the last release of Descratch. The strach corrections are now very good, it is difficult with a picture tool like Gimp to get faster and better correction. The new args left and right are genius. With them, it is more easy to find a common tune of values for long frames serial. I believe it would be more perfect, if the no process area would be between rigth and left, when arg left is superior than arg right. Thanks |
11th July 2017, 18:05 | #30 | Link |
Registered User
Join Date: Jul 2017
Posts: 1
|
Excellent Descratch version 1.1
I have been using Descratch for some time on Super 8 mm and 8 mm restoration projects.
I was quite pleased, although there were cases where it was inapplicable, especially if the scene contained a number of vertical objects, such as a fence or vertical posts. I had noticed that vertical scratches very often appear in the same area of the image. In my case on the right hand side of the image. This is probably due to mechanical friction in movie projectors. It is only recently that I realized that Descratch was updated to version 1.1 to include “right” and “left” parameters (amongst other improvements). This is just what I dreamed of! I can now apply more aggressive parameters to the scratched area without risking false detections in other areas. This is a vast improvement. And setting the right parameters is much easier, because you can concentrate on the area containing scratches, and disregard the area that does not contain scratches… Other improvements are also welcome, such as more “maxwidth” values… and “more smooth scratch borders removing”. Thank you very much for this excellent updated version! By the way, there is one parameter that is still some sort of mystery to me: that is “asym”. I have not been able to make out what it actually does and how to tweak it. Maybe it is difficult to explain in words, but easy with a picture… Can anyone explain, or show this on a picture? Patrick from Brittany, France |
29th November 2023, 12:59 | #31 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Latest ver Adds YV16 and YV24 support.
https://github.com/vapoursynth/descratch/releases |
29th November 2023, 17:39 | #33 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
"Note that in VapurSynth all arguments are fully lowercased. Also comes with Avisynth support."
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Thread Tools | Search this Thread |
Display Modes | |
|
|