发帖
15 0 0

AiPi-32S-kit USB摄像头获取不到图像

lanmeng
注册会员

1

主题

5

回帖

56

积分

注册会员

积分
56
Ai-M61系列 2715 15 2023-11-7 17:59:42
AiPi-Cam基础上,打开了set(CONFIG_CHERRYUSB 1),串口log里面看到如下:
[I/USB] New high-speed device on Hub 1, Port 1 connected
[I/USB] New device found,idVendor:0c45,idProduct:1915,bcdDevice:0100
[I/USB] The device has 2 interfaces
[I/USB] Enumeration success, start loading class driver
[I/USB] Loading video_ctrl class driver
[I/USB] Close video device
[I/USB] ============= Video device information ===================
[I/USB] bcdVDC:0100
[I/USB] Num of altsettings:7
[I/USB] Ingore altsetting 0
[I/USB] Altsetting:1, Ep=81 Attr=05 Mps=128 Interval=01 Mult=00
[I/USB] Altsetting:2, Ep=81 Attr=05 Mps=256 Interval=01 Mult=00
[I/USB] Altsetting:3, Ep=81 Attr=05 Mps=800 Interval=01 Mult=00
[I/USB] Altsetting:4, Ep=81 Attr=05 Mps=800 Interval=01 Mult=01
[I/USB] Altsetting:5, Ep=81 Attr=05 Mps=800 Interval=01 Mult=02
[I/USB] Altsetting:6, Ep=81 Attr=05 Mps=1024 Interval=01 Mult=02
[I/USB] bNumFormats:2
[I/USB]   FormatIndex:1
[I/USB]   FormatType:mjpeg
[I/USB]   bNumFrames:4
[I/USB]   Resolution:
[I/USB]       FrameIndex:1
[I/USB]       wWidth: 1280, wHeight: 720
[I/USB]       FrameIndex:2
[I/USB]       wWidth: 800, wHeight: 600
[I/USB]       FrameIndex:3
[I/USB]       wWidth: 640, wHeight: 480
[I/USB]       FrameIndex:4
[I/USB]       wWidth: 320, wHeight: 240
[I/USB]   FormatIndex:2
[I/USB]   FormatType:uncompressed
[I/USB]   bNumFrames:10
[I/USB]   Resolution:
[I/USB]       FrameIndex:1
[I/USB]       wWidth: 1280, wHeight: 720
[I/USB]       FrameIndex:2
[I/USB]       wWidth: 960, wHeight: 540
[I/USB]       FrameIndex:3
[I/USB]       wWidth: 848, wHeight: 480
[I/USB]       FrameIndex:4
[I/USB]       wWidth: 800, wHeight: 600
[I/USB]       FrameIndex:5
[I/USB]       wWidth: 640, wHeight: 480
[I/USB]       FrameIndex:6
[I/USB]       wWidth: 640, wHeight: 360
[I/USB]       FrameIndex:7
[I/USB]       wWidth: 424, wHeight: 240
[I/USB]       FrameIndex:8
[I/USB]       wWidth: 320, wHeight: 240
[I/USB]       FrameIndex:9
[I/USB]       wWidth: 320, wHeight: 180
[I/USB]       FrameIndex:10
[I/USB]       wWidth: 160, wHeight: 120
[I/USB] ============= Video device information ===================
[I/USB] Register Video Class:/dev/video0
[I/USB] Loading video_streaming class driver
mjpeg_frame_pop timeout!
mjpeg_frame_pop timeout!
mjpeg_frame_pop timeout!

能检测到摄像头,但是没有图像出来,是什么原因呢?
──── 0人觉得很赞 ────

使用道具 举报

2023-11-7 18:02:15
后面一直报这个错误:mjpeg_frame_pop timeout!
像是没有获取到图像帧
2023-11-7 18:03:33
是哪款板子?把图片上传一下
2023-11-7 18:16:30
本帖最后由 lanmeng 于 2023-11-7 18:21 编辑

板子是:Ai-Pi-Eyes-S1

1.png

1.png

7.jpg

7.jpg


2023-11-8 08:32:33
我给你抓个工程师来解决一下~
2023-11-8 08:33:59
插眼
SDK里那个示例支持的USB摄像头有限,是用的官方提供的APP查看数据,后面适配的USB摄像头都是基于APP。
2023-11-8 09:04:36
方便给一下支持哪些USB摄像头吗?
lanmeng 发表于 2023-11-8 09:04
方便给一下支持哪些USB摄像头吗?

我让园长发你一个新的usb在web上的固件吧,你烧录试一下
2023-11-8 11:34:26
上传的附件: AiPi_cam_usb2_web.bin (882.22 KB, 下载次数: 24)


你试试这个新的固件
您需要登录后才可以回帖 立即登录
高级模式
12下一页
统计信息
  • 会员数: 28509 个
  • 话题数: 40644 篇