View Single Post
Old 8th July 2012, 19:56   #108  |  Link
Yellow_
Registered User
 
Join Date: Sep 2009
Posts: 378
Trying to use KenBurnsEffect & Zoombox on 2.58, getting an error message:

"There is no function named Max" Line 60

http://avisynth.org/mediawiki/Intern...eric_functions

Line 60 of ZoomBox script reads:

modzoom = Max(Float(c.width())/Float(width),Float(c.height())/Float(height))

This is the example script I'm trying from this thread:

Width=640
Height=480
Resize="BlackmanResize"
Align=-5

b=ColorBars(480,480, "YV12").Trim(0,-1).ZoomBox(Width,Height,Resize, Align=Align)
c=ColorBars(640,480, "YV12").Trim(0,-1).ZoomBox(Width,Height,Resize, Align=Align)
d=ColorBars(720,480, "YV12").Trim(0,-1).ZoomBox(Width,Height,Resize, Align=Align)
e=ColorBars(854,480, "YV12").Trim(0,-1).ZoomBox(Width,Height,Resize, Align=Align)
f=ColorBars(960,480, "YV12").Trim(0,-1).ZoomBox(Width,Height,Resize, Align=Align)

a+b+c+d+e+f


Any ideas?

I copy pasted the ZoomBox etc functions and saved into plugins folder, as an avsi file, like usual. Reopened the script, reopened avspmod too but same error.

Last edited by Yellow_; 8th July 2012 at 19:59.
Yellow_ is offline   Reply With Quote