jameszah / ESP32-CAM-Video-Recorder-junior

Simple fast version of ESP32-CAM-Video-Recorder
GNU General Public License v3.0
294 stars 56 forks source link

Increasing the time of record #39

Open hadii007 opened 6 months ago

hadii007 commented 6 months ago

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

jameszah commented 6 months ago

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

hadii007 commented 6 months ago

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

jameszah commented 6 months ago

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