ESP32-CAM-Video-Recorder-junior icon indicating copy to clipboard operation
ESP32-CAM-Video-Recorder-junior copied to clipboard

Increasing the time of record

Open hadii007 opened this issue 1 year ago • 3 comments

Hi Is it possible he increased the recording time from 30 minutes to above?

hadii007 avatar May 23 '24 20:05 hadii007

You can put the number of seconds in the config.txt on your sd card.

Here is some documentation:

https://github.com/jameszah/ESP32-CAM-VideoCam

jameszah avatar May 23 '24 21:05 jameszah

what's the maximum time we can give? I set 12 hours but it recorded the same 30 min.

hadii007 avatar May 24 '24 18:05 hadii007

It must not have saved correctly. Look at the serial monitor, or in the log file, and it prints out the parameters it read from the config.txt file. Make sure they are all correct, or check the your config.txt is not scrambled.

There is no particular limit in time, but you might overrun a 16bit int or something eventually. I have done 1GB recordings, but nothing past 4 hours ???

https://github.com/jameszah/ESP32-CAM-Video-Recorder-junior/blob/60a3e6a4f73ce904fe090f68f64d567a3a639d0a/v60/ESP32-CAM-Video-Recorder-junior-60x.4.7/ESP32-CAM-Video-Recorder-junior-60x.4.7.ino#L656

jameszah avatar May 24 '24 19:05 jameszah