s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
921 stars 210 forks source link

[FEATURE REQUEST] Spiff Webserver #390

Closed rjsachse closed 7 months ago

rjsachse commented 7 months ago

would be a good option to be able to select internal flash to serve the website. Can also compress files down using a script like this one

s60sc commented 7 months ago

As an sd card is required by this app there is no advantage to using internal flash. If a user wants to use the app without sd and therefore without recording facility, then in appGlobals.h change: #define STORAGE SD_MMC to #define STORAGE LittleFS which will store web files on internal flash, provided the app is compiled with a different partition scheme for ESP32 (not needed for ESP32S3) which Ive added to extras folder

rjsachse commented 7 months ago

I understand that. Just my scenario I have a a couple of cameras at my remote property with no internet. I swap out sd cards when I'm at the property I then have to remember to put the data back on the new card. Would be great if I could just swap out with formated sd cards without worrying about transferring the data to all cards. Would also be easier for my wife to do it too.

rjsachse commented 7 months ago

Noticed it was requested here before https://github.com/s60sc/ESP32-CAM_MJPEG2SD/issues/126#issue-1362433534