First you need to know wether your source is interlaced or telecined and wether it's Top Field First (TFF) or Bottom Field First (BFF). In order to know what those terms are, I suggest you to read
Decomb's readmes and tutorials,
the IVTC tutorial and
the capture guide.Those are a great source of starter knowledge and will explain telecining and interlacing with detail. Also, take your time to read the readme of each filter you use, as they contain descriptions of the filters and lots of extremely useful knowledge.
Anyway, here's the script I suggest:
Code:
SetMemoryMax(yourmem/2)
LoadPlugin("X:\wherever\DGDecode.dll")
Load IVTCing/Deinterlacing filters
LoadPlugin("X:\wherever\MaskTools.dll")
LoadPlugin("X:\wherever\ChromaShift.dll")
Import("X:\wherever\FixChromaBleeding.avs")
LoadPlugin("X:\wherever\FFT3DFilter.dll")
LoadPlugin("X:\wherever\RemoveGrain.dll")
LoadPlugin("X:\wherever\VagueDenoiser.dll")
Import("X:\wherever\SeeSaw.avs")
LoadPlugin("X:\wherever\MT_MaskTools.dll")
Import("X:\wherever\LimitedSharpenFaster.avs")
Import("X:\wherever\Soothe_MT2.avs")
LoadPlugin("X:\wherever\AddGrain.dll")
MPEG2Source("X:\wherever\myfile.d2v")
IVTCing/Deinterlacing
Crop(whatever,align=true)
FixChromaBleeding()
FFT3DFilter(sigma=3,plane=3,bw=32,bh=32,bt=3,ow=16,oh=16)
Lanczos4Resize(whatever)
a = last
b=a.degrainmedian(mode=2).VagueDenoiser(threshold=0.8, method=1, nsteps=6, chromaT=0.8)
SeeSaw(a,b, NRlimit=6, NRlimit2=7, Sstr=1.5, Slimit=5, Spower=5, Sdamp=6, Szp=16)
dull=last
sharp=dull.LimitedSharpenFaster(SMode=4,LMode=3,Strength=1000,wide=true,soft=75)
Soothe(sharp,dull,30)
c=last
GrainU=c.UtoY().AddGrain(2,0,0)
GrainV=c.VtoY().AddGrain(2,0,0)
Return ytouv(GrainU,GrainV).MergeLuma(c).AddGrain(10,0,0)
Yes, it's very long and yes, it might not help at all, but then again your source is extremely crappy. Very few of the scripts you'll be making will probably be this long, so don't worry
.