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!

1 Answer 1


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.

  • Excellent, I'm very happy to see this! Oct 17, 2014 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.