View Single Post
Old 23rd November 2018, 16:44   #5  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by stormy1777 View Post


Tried something like this:

Code:
Vid = DirectShowSource("Y:\test.MOV", audio=false)
Vid = GradFun3(thr=0.25)
It failed with:

Code:
---------------------------
VirtualDub Error
---------------------------
Avisynth open failure:
Script error: Invalid arguments to function "GradFun3"
(Y:\open_Filter_test.avs, line 4)
---------------------------
OK   
---------------------------

Code:
Vid = DirectShowSource("Y:\test.MOV", audio=false)
Vid = GradFun3(Vid, thr=0.25)

Because you have variable = something, you don't have an implied "last"


This would work too, because now you have implied "last"
Code:
DirectShowSource("Y:\test.MOV", audio=false)
GradFun3( thr=0.25)
Is the same thing as

Code:
DirectShowSource("Y:\test.MOV", audio=false)
GradFun3(last, thr=0.25)

Last edited by poisondeathray; 23rd November 2018 at 16:48.
poisondeathray is offline   Reply With Quote