Hi,
I am using the master of esp32-camera at commit 7c5d8b2 , the latest one right now, with ESP-IDF v4.3 release version
I am having a trouble when I call esp_camera_fb_return()
After the initialization of esp-camera, i call the esp_camera_fb_get() and i take the photo correctly, then when i call esp_camera_fb_return() the system starts printing
E (50579) cam_hal: EV-OVF
E (51319) cam_hal: FB-SIZE: 1916800 != 1920000
E (51599) cam_hal: EV-OVF
E (52419) cam_hal: EV-OVF
E (52729) cam_hal: EV-OVF
E (53339) cam_hal: EV-OVF
and then crashes and so on.
From the line of the mismatched size of the frame FB-SIZE: 1916800 != 1920000, I can understand that the esp doesn't receive the whole frame.
From analyzing the source code I found that this happens when the event_queue is not able to send the data correctly, function ll_cam_send_event() .
This problem occurs only when i run the camera alongside other tasks.
Thanks
Hi,
I am using the master of esp32-camera at commit
7c5d8b2, the latest one right now, with ESP-IDF v4.3 release versionI am having a trouble when I call
esp_camera_fb_return()After the initialization of esp-camera, i call the
esp_camera_fb_get()and i take the photo correctly, then when i callesp_camera_fb_return()the system starts printingE (50579) cam_hal: EV-OVF
E (51319) cam_hal: FB-SIZE: 1916800 != 1920000
E (51599) cam_hal: EV-OVF
E (52419) cam_hal: EV-OVF
E (52729) cam_hal: EV-OVF
E (53339) cam_hal: EV-OVF
and then crashes and so on.
From the line of the mismatched size of the frame
FB-SIZE: 1916800 != 1920000, I can understand that the esp doesn't receive the whole frame.From analyzing the source code I found that this happens when the event_queue is not able to send the data correctly, function
ll_cam_send_event().This problem occurs only when i run the camera alongside other tasks.
Thanks