完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正试图建立一个基于AN7799的系统来工作。我在Linux下运行(内核4.12.5)。
当我奔跑 V4L2GAP-MQ 100 D/DEV/VIDO0/O/TMP/GAPP.JPG 当运行V4L2GRAP时,得到以下输出 通过设备/DEV/VIDO0将图像宽度设置为1280。 图像高度由设备/DEV/VIDO0设置为720。 然后它就挂了。 在我的FX3控制台上,我观察到当启动V4L2GRAPH时激活了流 UVC:完成0帧和0缓冲器 UVC:完成0帧和0缓冲器 UVC:完成0帧和0缓冲器 UVC:完成21帧和3缓冲器 UVC:完成42帧和19缓冲器 UVC:完成63帧和35缓冲器 UVC:完成84帧和51缓冲器 UVC:完成106帧和9缓冲器 然而,在Linux主机内核日志中,我观察到: [7446.534814 ] UVCVID:找到UVC 1设备FX3(04B4:00 F9) [7446.536477 ] UVCVIEW 2-6:1.0:实体扩展3的实体类型未初始化! [ 7446.536482 ] uvcvideo 2-6:1.0:实体处理2个实体类型没有被初始化! [ 7446.536485 ] uvcvideo 2-6:1.0:实体相机1实体类型没有被初始化! 【7446.536654】输入:FX3 /设备/ pci0000:00 / 0000:00:14.0 / USB2 / 2-6 / 2-6: 1.0/input/input13 [ 8488.136849 ] uvcvideo:无法查询(get_def)UVC控制2单元2:1(预期值2)。 什么是错误“无法查询(get_def)引起的UVC控制”? V4L2Grand工作良好,如果插入一个普通的USB网络摄像头。 以上来自于百度翻译 以下为原文 I'm trying to get a system based upon AN75779 to work. I'm running under Linux (kernel 4.12.5). When I run v4l2grab -m -q 100 -d /dev/video0 -o /tmp/grab.jpg When I run v4l2grab I get the following output Image width set to 1280 by device /dev/video0. Image height set to 720 by device /dev/video0. and then it just hangs. On my FX3 console I observe that streaming is activated when I start v4l2grab UVC: Completed 0 frames and 0 buffers UVC: Completed 0 frames and 0 buffers UVC: Completed 0 frames and 0 buffers UVC: Completed 21 frames and 3 buffers UVC: Completed 42 frames and 19 buffers UVC: Completed 63 frames and 35 buffers UVC: Completed 84 frames and 51 buffers UVC: Completed 106 frames and 9 buffers However, in the Linux host kernel log I observe: [ 7446.534814] uvcvideo: Found UVC 1.00 device FX3 (04b4:00f9) [ 7446.536477] uvcvideo 2-6:1.0: Entity type for entity Extension 3 was not initialized! [ 7446.536482] uvcvideo 2-6:1.0: Entity type for entity Processing 2 was not initialized! [ 7446.536485] uvcvideo 2-6:1.0: Entity type for entity Camera 1 was not initialized! [ 7446.536654] input: FX3 as /devices/pci0000:00/0000:00:14.0/u***2/2-6/2-6:1.0/input/input13 [ 8488.136849] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2). What is the error "Failed to query (GET_DEF) UVC control" caused by? v4l2grab works fine if plug in a plain USB web camera. |
|
相关推荐
1个回答
|
|
V4L2GRAPH挂起是由于格式错误。运行MPER显示,只有一半的预期像素输出:
框架太小!(921600和1843200)格式错误? 在调整YCbCr格式后,M播放现在没有上述运行,V4L2GRAP将完成与抓取的图像。 “失败查询”内核消息仍然存在,但似乎并不致命。 以上来自于百度翻译 以下为原文 The v4l2grab hang was due to a format error. Running mplayer revealed that there were only half of the expected pixels being output: Frame too small! (921600<1843200) Wrong format?After adjusting the YCbCr format mplayer now runs without the above, and v4l2grab will complete with the grabbed image. The "Failed to query" kernel message is still there, but it does not seem to be fatal. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2100 浏览 1 评论
1846 浏览 1 评论
3665 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1782 浏览 6 评论
1532 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
561浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
413浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
433浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
906浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 07:08 , Processed in 0.931323 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号