I'm trying to tweak a CHDK script for my Canon PowerShot G12 to take pictures at a regular interval. The goal is to make smooth time lapse videos.
I've previously burned the sensor of a G11 because of an unexpected lighting change, and would like to prevent this from happening again. So now I'm looking for a way to either:
- Adjust the exposure slowly over the span of several pictures, or
- Detect a certain level of overexposure and abort the script
Here is what I have so far:
@title Timelapse photo fixed @param m Interval (min) @default m 0 @param s Interval (sec) @default s 5 @param h Number of takes (x100) @default h 10 @param x Initial delay (sec) @default x 10 set_raw 0 t=100*h if t<100 then t=100 i=60000*m+1000*s if i<100 then i=100 if x<5 then x=5 sleep 1000*x-2000 print "Pressing shutter halfway..." press "shoot_half" sleep 2000 for j=1 to t cls print "Taking photo",j,"of",t click "shoot_full" press "shoot_half" print " Waiting",m;":";s,"..." print " " sleep i next j release "shoot_half" end
shoot_half bits are there to prevent the exposure/focus from changing during a shoot; if there is a better way to do that I'd also love to about it.)
Where should I go from here?