Log in

View Full Version : Script error, Invalid arguments to Function "TemporalSoften"


func()
29th March 2004, 18:31
Everytime I load my .avs file in VirtualDub, I get a Script Error:

AviSynth open failure:

Script error: Invalid arguments to function "TemporalSoften"
(C:\Program Files\AviSynth2\Untitled.avs, line 4)

my script looks like this:

AviSource("E:\Untitled.avi")
CropBottom(16)
ConvertToYUV2()
TemporalSoften(4,4,8,15,2)

In fact, nothing works when I use ConvertToYUY2. I tried a lot of different YUY2-only filters and Virtual Dub always gives the same type of Script errors.

Can someone point me in the right direction?

:(

Mug Funky
29th March 2004, 19:00
don't ask why the error is being thrown by temporalsoften, but i suggest you take a closer look at your converttoyuy2() statement...


you misspelled it as yuv2 (see bb's thread in avisynth development...)

func()
30th March 2004, 00:30
Ah, thanks!! I replaced YUV2 with YUY2..Now it says there are invalid arguments to function TemporalSoften??

stickboy
30th March 2004, 00:51
Did you post your exact script? (Copy and paste; don't retype. Don't make us guess where errors may or may not be!) As far as I can tell--aside from that YUV2 typo--your script should work fine.

Providing the AviSynth version and properties of the input clip might be helpful too.

func()
30th March 2004, 01:02
Avisynth Version 2.08 March 11 2003

the .avi file is uncompressed at 5 GB, 24:47 minutes long...

Code in Untitled.avs:

AviSource("E:\Untitled.avi")
CropBottom(16)
ConvertToYUY2()
TemporalSoften(4,4,8,15,2)

Forgive me for my idiocy, but do I need to "install" any codecs?

stickboy
30th March 2004, 01:37
The last two arguments (mode and scenechange) were added in AviSynth 2.50. (Consult the documentation.)

func()
30th March 2004, 01:58
I had the old version all along?? I was thinking the most recent was at the top of the sourforge page. I appreciate your help. :)