markrb
17th September 2006, 05:52
I am probably missing something very basic as I have limited knowledge in this area. I have searched and read endlessly and can't figure out what I am doing wrong.
I am trying to use one of the functions that Boulder wrote Lremovedust. Here are the two scripts (color space dependent) if you don't know of them.
function LRemoveDust_YUY2(clip input, int clmode, int "limit")
{
clmode=default(clmode,17)
limit=default(limit,2)
repmode = 2
clensed = Clense(input, grey=true)
rep = Repair(clensed, input, mode=repmode, modeU=-1)
rg = RemoveGrain(rep, mode=_mode, modeU=-1)
return LimitChange(rg, input, limit, limitU=255)
}
function LRemoveDust_YV12(clip input, int clmode, int "limit")
{
limit=default(limit,2)
clmode=default(clmode,17)
repmode = 2
clensed = Clense(input)
rep = Repair(clensed, input, mode=repmode)
rg = RemoveGrain(rep, mode=clmode)
return LimitChange(rg, input, limit)
}
I also copied the avs script used and just added my specifics to it:
loadplugin("C:\Program Files\AviSynth 2.5\plugins\removegrain.dll")
import("C:\Program Files\AviSynth 2.5\plugins\lremovedust.avs")
DGDecode_mpeg2source("D:\inside\VTS_03_1.d2v",info=3)
ConverttoYV12()
org=last
LRemoveDust_YUY2(17,2)
ConverttoYUY2()
MergeChroma(org)
ColorMatrix(hints=true)
I am not sure if I have the right colorspace settings, but for now I only want to get it to work without an error.
I keep getting an Avisynth error of "I don't know what "_mode" means
Plugin directory\removedust.avs line 8
I have to have missed something simple, but I have tried for days on and off to get by this with no luck.
Thanks,
Mark
I am trying to use one of the functions that Boulder wrote Lremovedust. Here are the two scripts (color space dependent) if you don't know of them.
function LRemoveDust_YUY2(clip input, int clmode, int "limit")
{
clmode=default(clmode,17)
limit=default(limit,2)
repmode = 2
clensed = Clense(input, grey=true)
rep = Repair(clensed, input, mode=repmode, modeU=-1)
rg = RemoveGrain(rep, mode=_mode, modeU=-1)
return LimitChange(rg, input, limit, limitU=255)
}
function LRemoveDust_YV12(clip input, int clmode, int "limit")
{
limit=default(limit,2)
clmode=default(clmode,17)
repmode = 2
clensed = Clense(input)
rep = Repair(clensed, input, mode=repmode)
rg = RemoveGrain(rep, mode=clmode)
return LimitChange(rg, input, limit)
}
I also copied the avs script used and just added my specifics to it:
loadplugin("C:\Program Files\AviSynth 2.5\plugins\removegrain.dll")
import("C:\Program Files\AviSynth 2.5\plugins\lremovedust.avs")
DGDecode_mpeg2source("D:\inside\VTS_03_1.d2v",info=3)
ConverttoYV12()
org=last
LRemoveDust_YUY2(17,2)
ConverttoYUY2()
MergeChroma(org)
ColorMatrix(hints=true)
I am not sure if I have the right colorspace settings, but for now I only want to get it to work without an error.
I keep getting an Avisynth error of "I don't know what "_mode" means
Plugin directory\removedust.avs line 8
I have to have missed something simple, but I have tried for days on and off to get by this with no luck.
Thanks,
Mark