05-29-2003, 12:18 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi all,
I just tried loading a movie with your script into ToK. It comes up with errors. First it says:
Script Error: Invalid arguments to function "STMedianFilter"
Then, I removed STMedianFilter to see what happens. Here's what it said then:
Script Error: Invalid arguments to function "TemporalSoften"
And once again, I remove TemporalSoften. Now this is what it shows:
Script Error: there is no function named "ScriptClip"
I'll stop there for now. Here's my original script (without all the deletes).
Code:
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\TemporalCleanerOld.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll")
AviSource("C:\Documents and Settings\Administrator\My Documents\Band1.avi")
MaxThreshold=1.58
UnFilter(50, 50)
BicubicResize(496, 334, 1/3, 1/3, 23, 8, 562, 320)
STMedianFilter(8, 32, 0, 0 )
TemporalSoften(2,7,7,3,2)
mergechroma(blur(1.50))
ScriptClip("val=YDifferenceFromPrevious()/14.55" + "val > MaxThreshold ? MergeLuma(blur(MaxThreshold)) : MergeLuma(blur( val ))")
AddBorders(16, 73, 16, 73)
Limiter()
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
05-29-2003, 12:35 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Bigswaffo,
The script works ONLY with AviSynth version 2.51
You're loading the DLL's in MovieStacker, which are for versions 2.0x.
-kwag
|
05-29-2003, 12:47 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
05-29-2003, 12:52 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Here's a reference script I posted:
Code:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\UnFilter.dll")
LoadPlugin("C:\Filters25\BlockBuster.dll")
Mpeg2Source("K:\VIDEO_TS\project.d2v")
MaxThreshold=1.58
UnFilter(50, 50)
BicubicResize(528, 368, 0, 0.6, 16, 0, 688, 480)
STMedianFilter(8, 32, 0, 0 )
TemporalSoften(2,7,7,3,2)
mergechroma(blur(1.50))
### Dynamic Adaptive Filtering ###
val=0 # Initialize our motion variable.
N="noise"
FrameEvaluate("val=YDifferenceFromPrevious()/14.55") # Assign "val" with difference between current frame and last frame.
ScriptClip("val > MaxThreshold ? MergeLuma(blur(MaxThreshold)) : MergeLuma(blur( val )) ") # Adaptive mergeluma.
AddBorders(0, 56, 0, 56)
LetterBox(16, 16, 16, 16)
Limiter()
-kwag
|
05-29-2003, 02:01 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@kwag
I have the new Avisynth version (2.51) and it says there's no such procedure as FrameEvaluate.
|
05-29-2003, 02:13 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Bigswaffo
@kwag
I have the new Avisynth version (2.51) and it says there's no such procedure as FrameEvaluate.
|
Look at one of sh0dan's posts and follow his signature. There you'll find the latest build, which supports the latest functions.
-kwag
|
05-29-2003, 03:39 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Tejas
Posts: 86
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@kwag
I have a very weird occurence. If I load the AVS file into either WMP or into ToK (looking in the Video tab) it looks just fine. However, when ToK starts and puts it in TMPGEnc, there's only an error message that it's converting. I can't read the message since it's going too fast. What's going on?
|
05-29-2003, 04:17 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Change the settings in ToK to point to "Sampler-2.5.dll" instead of "Sampler.dll"
You must use the version 2.5 of sampler
-kwag
|
All times are GMT -5. The time now is 01:06 PM — vBulletin © Jelsoft Enterprises Ltd
|