so if shoot_movie_for is an sdm command what command do i need to use instead
also will this save each file when its done or just a endless loop im doing this to try to avoid the 10:00 limitation but if it doesnt save after 9:59 it will eventually hit the 4gb limitiation
Just do what you would do with the buttons:
1) click shoot,
2) sleep for however long you want to record,
3) click shoot again to stop.
Repeat for as many times as you want.
My very simple video intervalometer might serve as a starting poing.
--[[
@description video interval
@param a rec minutes
@default a 0
@param b rec seconds
@default b 10
@param c sleep seconds
@default c 2
@param d count
@default d 2
--]]
rec_time= a*60*1000 + b*1000
sleep_time = c*1000
-- need to wait a bit before start
sleep(1000)
while d > 0 do
press("shoot_half")
sleep(500) -- give AF a chance
press("shoot_full")
release("shoot_full")
release("shoot_half")
sleep(rec_time)
click("shoot_full")
sleep(sleep_time)
d = d - 1
end
Note the above is lua, not ubasic, so it won't work on SDM, and the file must have a .lua extension.