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. |
16th August 2011, 09:12 | #1 | Link |
Sagitarius1948
Join Date: Jul 2011
Location: Eastern Australia
Posts: 14
|
Writing Scripts in MEGUI also AVSPMod
I have AVSPMod and I can write scripts in it. However when I open up MEGUI's script writer I get an error message. I obviously am doing something wrong in my script writing in MEGUI. Any help would be apprediated.
This is my script: ------------------------------------------------------------------ I tried this script below in MEGUI hoping that it would accept FluxSmooth: : : Import("E:\A Matter of Life and Death.avs") #deinterlace #crop #resize LoadPlugin("C:\AVI Synth LoadEX\LoadPluginEx.dll") LoadPlugin("C:\MEGUI\tools\avisynth_plugin\FluxSmooth.dll") LoadPlugin("C:\MEGUI\tools\avisynth_plugin\UnDot.dll") Undot() # Minimal Noise FluxSmooth() I got the error message: X AVISynth script error. Script Error there is no function named "FluxSmooth" I then tried the same script in AVSPMod by cut and paste and got the same error message. However if I write the message myself in AVSPMod, it accepts it well. So there is something in my writing of AVISynth where I am going wrong but what? |
16th August 2011, 09:32 | #2 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,434
|
Quote:
There should obviously be no difference between cut and paste and simply typing the script in yourself. A possible problem with your script is the use of LoadPluginEx. This is used for loading old plugins (from v2.0 of Avisynth). If you have the latest versions of Undot and FluxSmooth, you should not be using LoadPluginEx. |
|
16th August 2011, 13:27 | #3 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,938
|
If I had to guess.....
History 1.1 Changed the averaging code so that the current pixel is excluded, which produces better noise reduction. Also split the code into two different filters, FluxSmoothT and FluxSmoothST. The former does temporal-only smoothing (equivalent to setting "spatial_threshold=-1" in FluxSmoothST) and is about 50% faster. Removed Avisynth 2.0x version to tidy up the code base. Should it be FluxSmoothT() or FluxSmoothST()? |
Tags |
avisynth, avspmod, error, scripts |
Thread Tools | Search this Thread |
Display Modes | |
|
|