Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T18:17:41.047Z
Answers.Text: Excellent, I'm very happy to see this!
Answers.UserDisplayName: shortstheory
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T15:21:46.940Z
Answers.LastActivityDate: 2014-10-17T15:21:46.940Z
Answers.UserDisplayName: AJ Henderson
Body: <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>
  
Tags: <video><video-recording>
Title: How do I record video for more than 30 minutes at a time with a Canon A1400 PowerShot?
UserDisplayName: shortstheory
ThreadText: # How do I record video for more than 30 minutes at a time with a Canon A1400 PowerShot?
  
  (Asked by: username_0 on 2014-10-17)
  
  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!
  
  **Tags:** video, video-recording
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-17. Score: 1 | Accepted answer
  
  Yes, CHDK should be able to do this. There are actually scripts available on their [wiki](http://chdk.wikia.com/wiki/Continuous_Video_Scripts) 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.
  
  > **Comments:**
  > **username_0**: Excellent, I'm very happy to see this!  
  
  ---
  
  