user6642: I'm planning to send a Canon A1400 PowerShot to the edge of space with a weather balloon (we will figure out how to keep the temperature in our payload box suitable, so that is not a pertinent issue to the question). Unfortunately I believe it can only record 30 mins/4GB of 720p at a time. Our flight's duration is 3 hours and we want to capture all of that.
Can I program the A1400 with CHDK to recursively capture video till the memory card fills up? That is, start recording another video (almost) right after the 30 mins/4GB design limit is reached. If so, I would appreciate a script for the same!

user2836: Yes, CHDK should be able to do this.  There are actually scripts available on their wiki for this.  Basically, you have to tell it to press the video start button, wait a second or two for it to start, then begin polling to see if the get_movie_status has changed to the status for being done recording.  You then wait a second and repeat.
You'll also want to make sure you remove the 30 minute time limit with CHDK itself if available on your camera (under the video menu).  If it is, then you should only be limited by the 4gb file size limit and the script should restart the video.

6642: <p>I'm planning to send a Canon A1400 PowerShot to the edge of space with a weather balloon (we will figure out how to keep the temperature in our payload box suitable, so that is not a pertinent issue to the question). Unfortunately I believe it can only record 30 mins/4GB of 720p at a time. Our flight's duration is 3 hours and we want to capture all of that.</p>

<p>Can I program the A1400 with CHDK to recursively capture video till the memory card fills up? That is, start recording another video (almost) right after the 30 mins/4GB design limit is reached. If so, I would appreciate a script for the same!</p>
 2836: <p>Yes, CHDK should be able to do this.  There are actually scripts available on their <a href="http://chdk.wikia.com/wiki/Continuous_Video_Scripts" rel="nofollow">wiki</a> for this.  Basically, you have to tell it to press the video start button, wait a second or two for it to start, then begin polling to see if the get_movie_status has changed to the status for being done recording.  You then wait a second and repeat.</p>

<p>You'll also want to make sure you remove the 30 minute time limit with CHDK itself if available on your camera (under the video menu).  If it is, then you should only be limited by the 4gb file size limit and the script should restart the video.</p>
