Ok, Vash, I solved the problem. Here's the script:
@title MultiMovie
@param x one part time in sec
@default x 590
f=0
print "record will start..."
press "shoot_half"
sleep 1500
:new
f=f+1
press "shoot_full"
release "shoot_full"
if f=1 then release "shoot_half"
print "file number: ";f
s=get_time 0
m=get_time 1
h=get_time 2
d=get_time 3
b=s+m*60+h*3600+d*3600*24
:loop
s=get_time 0
m=get_time 1
h=get_time 2
d=get_time 3
t=s+m*60+h*3600+d*3600*24
u=t-b
print "file number: ";f
print "time left:";x-u
if u>x then goto "reload"
sleep 900
goto "loop"
:reload
print "reloading..."
press "shoot_full"
release "shoot_full"
print "waiting for ready..."
:waitloop
q=get_movie_status
if q=1 then goto "new"
print "status:",q
sleep 100
goto "waitloop"
Maybe it's dirty, but works at least.
Some info:
590 seconds for each part (file) means 9:50 minutes. It's enough ant the best time for me. But while using other than HD qualities, it might be larger, I didn't try that.
(edit) If you like to ask me: it's uBASIC;p (/edit)
The problems:
- zoom is not implemented here. I'll repair this some day.
- 2-3 seconds delay between parts is needed, since the camera has to write the movie to SD. This can't be repaired:/ ("It's not a bug, it's a feature;p)
(edit)
-it might (means: "should") crash while recording in the last day of a month around midnight, since I don't use month number in calculations... It's rather rare situation, but... who knows!
(/edit)
Forgive me, if i shouldn't post it here, maybe better idea is post this on scripts thread, but it was asked here.