Fandom

CHDK Wiki

UBASIC/Scripts: Time Lapse Video Interval Time mod

< UBASIC

598pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Time lapse video interval time mod Edit

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.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

Also on Fandom

Random Wiki