CHDK Wiki
Register
No edit summary
Line 1: Line 1:
 
== Time lapse video interval time mod ==
 
== Time lapse video interval time mod ==
   
:'''Known to be working on:''' Ixus 70 & Ixus 75
+
:'''Known to be working on:''' Ixus 70 & Ixus 75 & Ixus 85
 
:'''Should also work on:''' Any camera with time lapse video functionality.
 
:'''Should also work on:''' Any camera with time lapse video functionality.
 
:'''Required CHDK build:''' Only tested with latest build (as of 12/08/08)
 
:'''Required CHDK build:''' Only tested with latest build (as of 12/08/08)
   
A modified version of the "Built-in interlavometer" script as found on [http://crteknologies.free.fr/wiki/doku.php/photo:chdk-scripts http://crteknologies.free.fr/wiki/doku.php/photo:chdk-scripts]. This script allows you to override interval time variable to any amount of time (rather than 1" or 2"). I have modified this script slightly to allow easier adjustment of the variable.
+
A modified version of the "Built-in interlavometer" script as found on http://crteknologies.free.fr/wiki/doku.php/photo:chdk-scripts. This script allows you to override interval time variable to any amount of time (rather than 1" or 2"). I have modified this script slightly to allow easier adjustment of the variable.
   
 
'''Documentation/Help''' (save as a small "interval_time.txt" file to your /CHDK/SCRIPTS/ folder)
 
'''Documentation/Help''' (save as a small "interval_time.txt" file to your /CHDK/SCRIPTS/ folder)

Revision as of 06:23, 2 June 2010

Time lapse video interval time mod

Known to be working on: Ixus 70 & Ixus 75 & Ixus 85
Should also work on: Any camera with time lapse video functionality.
Required CHDK build: Only tested with latest build (as of 12/08/08)

A modified version of the "Built-in interlavometer" script as found on http://crteknologies.free.fr/wiki/doku.php/photo:chdk-scripts. This script allows you to override interval time variable to any amount of time (rather than 1" or 2"). I have modified this script slightly to allow easier adjustment of the variable.

Documentation/Help (save as a small "interval_time.txt" file to your /CHDK/SCRIPTS/ folder)


interval_ms sets the amount of milliseconds the interval time is set to, and interval_multi multiplies this value to allow for easier adjustment (otherwise to change from 500ms to 5" would mean cycling through 4500 numbers). The full interval time is interval_ms * interval_multi. The default interval time is 5".


Script Code (save as "interval_time.bas" to your /CHDK/SCRIPTS/ folder)

@title Time lapse interval
@param a interval_ms
@param b interval_multi
@default a 500
@default b 10

a=a*b
rem set the interval
set_prop 165 a
sleep 200
rem read the interval and display it for verification
get_prop 165 b
print "val: ",b,"ms"
 
end

--teh_spesh