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.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th August 2011, 09:12   #1  |  Link
Sagitarius1948
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?
Sagitarius1948 is offline   Reply With Quote
Old 16th August 2011, 09:32   #2  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,421
Quote:
Originally Posted by Sagitarius1948 View Post
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.
What do you mean "write the message"?
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.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 16th August 2011, 13:27   #3  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,642
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()?
hello_hello is offline   Reply With Quote
Old 18th August 2011, 06:40   #4  |  Link
Sagitarius1948
Sagitarius1948
 
Join Date: Jul 2011
Location: Eastern Australia
Posts: 14
Thank you for your replies:
What I mean by "write the message" is "write the script - ie when I type out the script myself using the key board. Sorry to confuse you.
Sagitarius1948 is offline   Reply With Quote
Old 24th August 2011, 15:14   #5  |  Link
haveufoundme
Registered User
 
Join Date: Jun 2010
Posts: 1
megui uses avisynth plugins if you havent the filters in avisynth "the ones you are using" you will get an error
haveufoundme is offline   Reply With Quote
Reply

Tags
avisynth, avspmod, error, scripts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.