I get an error while loading my script into VirtualDubMod. It has to be something easy to fix? I will post both my script and the error.
Here is the error: AviSynth open failure: script error: there is no function named "RemoveDirt"
Here is my script below:
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\removedirt.dll")
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\removegrain.dll")
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\msharpen.dll")
AVISource("I:\Apollo 13\video.avi")
RemoveGrain(mode=2)
RemoveGrain(mode=17)
RemoveDirt()
BlackmanResize(720,400)
MSharpen(10,100,true,false,false)
+ Reply to Thread
Results 1 to 12 of 12
-
-
Originally Posted by poisondeathray
-
Are you sure it's the H: hard drive? Normal install is the C: hard drive
-
I was reading in the archieve at Doom9 but not sure if it's this issue but I had to import RemoveDirt.avs or change something to avsi but what do I change and how?
-
Originally Posted by poisondeathray
-
Originally Posted by rocky12
-
Originally Posted by poisondeathray
http://forum.doom9.org/showthread.php?t=114517 (here is what I am talking about) -
Read the RemoveDirt.htm file. The latest RemoveDirt implements RemoveDirt() as an AVS script. You must create it (a sample is given in the htm file) an import it into your script.
RemoveDirt.AVS:
Code:function RemoveDirt(clip input, bool "_grey", int "repmode") { _grey=default(_grey, false) repmode=default(repmode, 16) clmode=17 clensed=Clense(input, grey=_grey, cache=4) sbegin = ForwardClense(input, grey=_grey, cache=-1) send = BackwardClense(input, grey=_grey, cache=-1) alt=Repair(SCSelect(input, sbegin, send, clensed, debug=true), input, mode=repmode, modeU = _grey ? -1 : repmode ) restore=Repair(clensed, input, mode=repmode, modeU = _grey ? -1 : repmode) corrected=RestoreMotionBlocks(clensed, restore, neighbour=input, alternative=alt, gmthreshold=70, dist=1, dmode=2, debug=false, noise=10, noisy=12, grey=_grey) return RemoveGrain(corrected, mode=clmode, modeU = _grey ? -1 : clmode ) }
-
Originally Posted by jagabo
-
Create an AVS script called RemoveDirt.AVS with the code from my previous message. Put it in the same folder with all your other AviSynth plugins. Use the import line I gave (modified to use the correct path, the same as your LoadPlugins) in the AVS script that uses the function:
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\removedirt.dll")
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\removegrain.dll")
LoadPlugin("H:\Program Files\AviSynth 2.5\Plugins\msharpen.dll")
Import("H:\Program Files\AviSynth 2.5\Plugins\RemoveDirt.avs") # <-------------- note new line
AVISource("I:\Apollo 13\video.avi")
RemoveGrain(mode=2)
RemoveGrain(mode=17)
RemoveDirt()
BlackmanResize(720,400)
MSharpen(10,100,true,false,false)
Similar Threads
-
Can't open FLV with Avisynth
By Greensmurfet in forum Video ConversionReplies: 1Last Post: 21st Oct 2011, 18:00 -
AviSynth open failure in VirtualDub
By fatcharlie in forum Newbie / General discussionsReplies: 5Last Post: 3rd Mar 2011, 21:32 -
Avisynth question open failure FF3TdGPU.dll
By duster1234 in forum Video ConversionReplies: 4Last Post: 15th Oct 2008, 07:29 -
Avisynth open failure for cropping
By php111 in forum Newbie / General discussionsReplies: 51Last Post: 26th Mar 2008, 12:24 -
AVIsynth failure in VD
By php111 in forum Newbie / General discussionsReplies: 1Last Post: 1st Jan 2008, 04:08