Page 1 of 1

UVC Camera 无法获取图像

Posted: Tue Jun 14, 2022 3:03 am
by Silent
esp-idf-release/v4.4 , 分别对两个demo(usb_camera_lcd_display , usb_camera_wifi_transfer)工程进行编译测试,结果都一样,无法输出图像,两个工程都是到Camera Start Streaming ,后面就没有了,frame_cb 中无log输出,应该是没有取到图像。
两个工程打印的log在附件里,各位有什么经验,请帮忙看看,谢谢~!
我的配置信息如下:
uvc_config_t uvc_config = {
.dev_speed = USB_SPEED_FULL,
.configuration = DESCRIPTOR_CONFIGURATION_INDEX, // 1
.format_index = DESCRIPTOR_FORMAT_MJPEG_INDEX, // 2
.frame_width = DEMO_FRAME_WIDTH, // 320
.frame_height = DEMO_FRAME_HEIGHT, // 240
.frame_index = DEMO_FRAME_INDEX, // 4
.frame_interval = DEMO_FRAME_INTERVAL, // DESCRIPTOR_FRAME_15FPS_INTERVAL 666666
.interface = DESCRIPTOR_STREAM_INTERFACE_INDEX, // 1
.interface_alt = DEMO_ISOC_INTERFACE_ALT, // 3
.isoc_ep_addr = DESCRIPTOR_STREAM_ISOC_ENDPOINT_ADDR, // 0x81
.isoc_ep_mps = DEMO_ISOC_EP_MPS, // 512
.xfer_buffer_size = DEMO_XFER_BUFFER_SIZE, // 35*1024
.xfer_buffer_a = xfer_buffer_a,
.xfer_buffer_b = xfer_buffer_b,
.frame_buffer_size = DEMO_XFER_BUFFER_SIZE, // 35*1024
.frame_buffer = frame_buffer,
};