esp-iot-solution 摄像头一直报溢出

Moderator: ESP_Bob

zzf-zzf
Posts: 2
Joined: Fri Aug 05, 2022 3:26 am

esp-iot-solution 摄像头一直报溢出

Postby zzf-zzf » Fri Aug 05, 2022 10:06 am

#define DEMO_FRAME_WIDTH 320
#define DEMO_FRAME_HEIGHT 240
#define DEMO_XFER_BUFFER_SIZE (35 * 1024) //Double buffer
#define DEMO_FRAME_INDEX DESCRIPTOR_FRAME_320_240_INDEX
#define DEMO_FRAME_INTERVAL DESCRIPTOR_FRAME_10FPS_INTERVAL


35k 打印UVC_STREAM: Transfer buffer overflow, gotdata=36172 B报溢出后,我把DEMO_XFER_BUFFER_SIZE 改为40*1024,发现UVC_STREAM: Transfer buffer overflow, gotdata=41280 B这个godata数据也随着DEMO_XFER_BUFFER_SIZE这个变大了,通样的配置这是为啥

luxhan
Posts: 1
Joined: Fri Dec 30, 2022 4:55 am

Re: esp-iot-solution 摄像头一直报溢出

Postby luxhan » Mon Jan 02, 2023 10:31 am

遇到同样的问题。请问是怎么解决的?

ESP_Junru
Posts: 49
Joined: Tue Jul 12, 2022 6:26 am

Re: esp-iot-solution 摄像头一直报溢出

Postby ESP_Junru » Tue May 09, 2023 11:04 am

改大接受的buffer就行,这个判断是满了就报,不会直接告诉你图像的大小(即还差多少buffer)

Tioser
Posts: 4
Joined: Sun Jun 30, 2024 7:54 am

Re: esp-iot-solution 摄像头一直报溢出

Postby Tioser » Sun Jun 30, 2024 1:27 pm

我也遇到这个问题,请问您解决了吗

Who is online

Users browsing this forum: No registered users and 34 guests