@title Sunset3@param a Delay (sec)@default a 5@param b Limit Tv @default b -414rem (-414=20 sec; -384=15 sec; -320=10 sec; -224=5 sec.)@param c Default Sv@default c 480rem (480=100)@param d Limit Sv @default d 776rem (776=800 ISO; 960=3200)@param e Guess mode limit@default e -200@param f Slope in guess mode@default f 5print_screen 1print "Sunset Time Lapse"rem initialize guess mode valuex=erem get start Tvget_tv96 Trem picture counter p=1:looprem measure luminance and aperturepress "shoot_half"sleep 500release "shoot_half"get_bv96 Bget_av96 Arem release "shoot_half"print "Measured: ",B ,Arem resulting Tv would be:T=B-AT=T+cprint "Calculated T: ", Trem check Tv Valuesif T>e then rem normal mode, shoot with calculated Tv and default Sc X=T Y=c print "Mode: Standard"else rem Guess mode, every shot will be 5/96th steps longer x=x-f if x>b then rem we are in dark, but exposure is not too long rem normal mode, shoot with guessed Tv and default Sc X=x Y=c print "Mode: Guess" else rem we are in very dark area, we want to avoid too long exposures rem shoot with maximum allowed time (b) and rem adjust Sv accordingly X=b Y=c+b-x rem BUT check we don't go in too high ISO! if Y>d then Y=d endif print "Mode: Guess with High ISO" endif endifrem we can now shootsleep 100set_sv96 Yset_tv96_direct Xsleep 100shootsleep 100print "SHOOT ",p,X,Yp=p+1sleep a*1000goto "loop"
@title Sunset4rem Script to shoot time-lapse videos of sunsetsrem v. 4, Fbonomi apr 30th 2008rem Released under GPL@param a Delay (sec)@default a 10@param b Limit Tv @default b -414rem (-414=20 sec; -384=15 sec; -320=10 sec; -224=5 sec.)@param c Default Sv@default c 480rem (480=160)@param d Limit Sv @default d 776rem (776=1250 ISO; 960=5000)@param e Guess mode limit@default e -200@param f Slope in guess mode@default f 5print_screen 1print "Sunset Time Lapse"rem initialize guess mode valuex=erem get start Tvget_tv96 Trem picture counter p=1:looprem measure luminance and aperturepress "shoot_half"sleep 500release "shoot_half"get_bv96 Bget_av96 Arem release "shoot_half"print "Measured: ",B ,Arem resulting Tv would be:T=B-AT=T+cprint "Calculated T: ", Trem check Tv Valuesif T>e then rem normal mode, shoot with calculated Tv and default Sc X=T Y=c print "Mode: Standard"else rem Guess mode, every shot will be 5/96th steps longer x=x-f if x>b then rem we are in dark, but exposure is not too long rem normal mode, shoot with guessed Tv and default Sc X=x Y=c print "Mode: Guess" else rem we are in very dark area, we want to avoid too long exposures rem shoot with maximum allowed time (b) and rem adjust Sv accordingly X=b Y=c+b-x rem BUT check we don't go in too high ISO! if Y>d then Y=d endif print "Mode: Guess with High ISO" endif endifrem we can now shootsleep 100set_sv96 Yset_tv96_direct Xsleep 100shootsleep 100print "SHOOT ",p,X,Yp=p+1sleep a*1000goto "loop"
Hi avatorl,thanks for sharing! Where is it?
It is the view through mine apartment windows in Kyiv, Ukraine.Not so fine to make beautiful video, but enough to test the script
Man you gotta take a video of the mother motherland monument then!
@param b Limit Tv @default b -414rem (-414=20 sec; -384=15 sec; -320=10 sec; -224=5 sec.)@param d Limit Sv @default d 776rem (776=1250 ISO; 960=5000)
I have trouble finding the mathematical formula underlying the sv96 and tv96 values.(ISO => sv96 and seconds => tv96)