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
931 stars 214 forks source link

fmt2jpg() failed in motiondetect.cpp #256

Closed TheDKey closed 1 year ago

TheDKey commented 1 year ago

Motion detection works sometimes but most of the time failed in my case.

When it failed, it would show plain black on screen streaming with "Show motion" turned on.

And about 3 seconds, it would show error message that, in motiondetect.cpp, fmt2jpg failed.

I have tried to played around with the setting but nothing seemed to help.

How can I fix this?

s60sc commented 1 year ago

Corrupt image from camera

TheDKey commented 1 year ago

I have switched to a new module and new SD Card but the problem still persists.

I will close this issue for now and allow myself more time to look into it. Will start the whole process from start.