steptoe
22nd January 2014, 10:28
I'm using avisynth+, which works perfectly with this script but as yet MT support is only in beta stages so isn't guaranteed to work 100%
Is there a way to speed up this script, I've tried the MVTools2 version but that removes parts of the anim DVD I'm cleaning up (DangerMouse UK), where the MVTools version doesn't
# You need: RemoveGrain, MVTools 1.1.1
function RemoveDirt(clip input, int limit, bool _grey)
{
clensed=input.Clense(grey=_grey, cache=8)
alt=input.removegrain(2)
return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=2,cthreshold=8, gmthreshold=40,dist=4,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey)
}
function RemoveDirtMC(clip,int limit, bool "_grey")
{
_grey=default(_grey, false)
limit = default(limit,6)
bvec = clip.MVAnalyse(isb=false, blksize=8, delta=1, pel=2, truemotion=true, idx=1)
fvec = clip.MVAnalyse(isb=true, blksize=8, delta=1, pel=2, truemotion=true, idx=1)
backw = clip.MVFlow(bvec)
forw = clip.MVFlow(fvec)
clp=interleave(backw,clip,forw)
clp=clp.RemoveDirt(limit,_grey)
clp=clp.SelectEvery(3,1)
return clp
}
My process is basically :
TomsMoComp (-1,15,1)
RemoveDirtMC(175,false)
UnFilter(10,10)
As I'm using AviSynth+, I've also tried using RGTools(2) instead of RemoveGrain(2) as is suggested its a direct replacement for RemoveGrain, but that fails complaining it can't load RGTools even using the LoadPlugin command
I'm using the latest AviSynth+, Win7 Ultimate 16GB with an I5-2500k running very stable at 4.5ghz. My FPS is about 30, but if I just use TomsMoComp on its own get about 150 plus
Thanks
Is there a way to speed up this script, I've tried the MVTools2 version but that removes parts of the anim DVD I'm cleaning up (DangerMouse UK), where the MVTools version doesn't
# You need: RemoveGrain, MVTools 1.1.1
function RemoveDirt(clip input, int limit, bool _grey)
{
clensed=input.Clense(grey=_grey, cache=8)
alt=input.removegrain(2)
return RestoreMotionBlocks(clensed,input,alternative=alt,pthreshold=2,cthreshold=8, gmthreshold=40,dist=4,dmode=2,debug=false,noise=limit,noisy=12,grey=_grey)
}
function RemoveDirtMC(clip,int limit, bool "_grey")
{
_grey=default(_grey, false)
limit = default(limit,6)
bvec = clip.MVAnalyse(isb=false, blksize=8, delta=1, pel=2, truemotion=true, idx=1)
fvec = clip.MVAnalyse(isb=true, blksize=8, delta=1, pel=2, truemotion=true, idx=1)
backw = clip.MVFlow(bvec)
forw = clip.MVFlow(fvec)
clp=interleave(backw,clip,forw)
clp=clp.RemoveDirt(limit,_grey)
clp=clp.SelectEvery(3,1)
return clp
}
My process is basically :
TomsMoComp (-1,15,1)
RemoveDirtMC(175,false)
UnFilter(10,10)
As I'm using AviSynth+, I've also tried using RGTools(2) instead of RemoveGrain(2) as is suggested its a direct replacement for RemoveGrain, but that fails complaining it can't load RGTools even using the LoadPlugin command
I'm using the latest AviSynth+, Win7 Ultimate 16GB with an I5-2500k running very stable at 4.5ghz. My FPS is about 30, but if I just use TomsMoComp on its own get about 150 plus
Thanks