Script Code (save as "IntervalVideo.bas" to your /CHDK/SCRIPTS/ folder) Download and Installationrem Johan Van Barel 07-07-2007 rem Interval-Video for Canon A640 @title Interval Video @param a Number of Videos @default a 2 @param b Video length (Min) @default b 0 @param c Video length (Sec) @default c 10 @param d Interval (Min) @default d 0 @param e Interval (Sec) @default e 10 @param f Initial Delay (Sec) @default f 1 if a<2 then let a=2 if b<0 then let b=0 if c<0 then let c=0 if d<0 then let d=0 if e<0 then let e=0 if f<0 then let f=0 t=60000*b+1000*c i=60000*d+1000*e if t<1000 then let t=1000 if i<2000 then let i=2000 print "Videos:"; a print "Total Time:", ((t*a)+(i*(a-1)))/60000; "Min", ((t*a)+(i*(a-1)))%60000/1000; "Sec" sleep f*1000 print "Video 1 of", a click "shoot_full" click "shoot_full" sleep t click "shoot_full" for s=2 to a print "Wait",d;"Min",e;"Sec" sleep i print "Video", s, "of", a click "shoot_full" sleep t click "shoot_full" next s end This script is freeware. Before you can install it, you need to download and install the CHDK Firmware Extension for your specific Canon camera. CHDK is freeware and can be downloaded for a broad range of Canon PowerShot and Digital Ixus cameras here. If you own a Canon A640, you can download a specific build here, which already contains all the CHDK scripts from this site, including the one mentioned above. Copy all the files in this archive to the root of your SD card. If you have problems installing CHDK, please refer to the CHDK Wiki Pages. Disclaimer This software and the accompanying files are supplied "as is", without any express or implied warranty. In no event shall the author be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages from the use of this software. By using this software you agree with these conditions. Copyright © 2007 by Johan Van Barel. All Rights Reserved |