- 收藏
- 点赞
- 分享
- 举报
关于海思接入usb摄像头解码,没有画面输出的问题
【板卡型号】鸿欧派Hi3516DV500
【SDK版本】为:Hi3519DV500_SDK_V2.0.2.0
【情景】:usb摄像头接入Hi3516DV500,用YUYV,帧率太低了,用mjpeg格式,30帧,1080p输入,然后hdmi输出的功能(鸿欧派的套件,HDMI转接板)
【问题描述】官网提供的烧录固件,sample_vdec 例子中,./sourcefile 里面只有两个视频文件(H265,H264) ,没有图片放在那,所以解压图片的功能未开放出来,但是我需要用到这个功能来解压USB采集的mjpg格式。
【尝试解决】
1.Ubuntu单独编译sample_vdec,推到板子运行,并且./sourcefile 放了3840x2160.jpg(在SDK_V2.0.1.1找的示例图片),没报错,但是没画面显示;(备注:我运行VO是正常有画面输出的,用开发板自带的相机)
2.后来看到sample工程文件里面有 host_uvc,单独编译运行,也是能运行,USB也是亮灯,但是画面没有任何东西,日志如下:

~ # ./sample_uvc /dev/video0 -fMJPEG -s1280x720
Device /dev/video0 opened.
Device Aicreate A6M/3KEY: Aicreate A6M' onusb-xhci-hcd.0.auto-1.3’ (driver ‘uvcvideo’) supports video, capture, without mplanes.
video format set: MJPEG (47504a4d) 1280x720 (stride 0) field filed_none buffer size 1843789
video format: MJPEG (47504a4d) 1280x720 (stride 0) field filed_none buffer size 1843789
8 buffers requested.
length: 1843789 offset: 0 timestamp type/source: monotonic/soe
Buffer 0/0 mapped
length: 1843789 offset: 1847296 timestamp type/source: monotonic/soe
Buffer 1/0 mapped
length: 1843789 offset: 3694592 timestamp type/source: monotonic/soe
Buffer 2/0 mapped
length: 1843789 offset: 5541888 timestamp type/source: monotonic/soe
Buffer 3/0 mapped
length: 1843789 offset: 7389184 timestamp type/source: monotonic/soe
Buffer 4/0 mapped
length: 1843789 offset: 9236480 timestamp type/source: monotonic/soe
Buffer 5/0 mapped
length: 1843789 offset: 11083776 timestamp type/source: monotonic/soe
Buffer 6/0 mapped
length: 1843789 offset: 12931072 timestamp type/source: monotonic/soe
Buffer 7/0 mapped
不知道是没开放vdec这个功能,还是我还需要什么配置,请大佬们指点一下迷津~
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
-
2024-01-16 20:59:11
-
2024-01-05 09:22:48
-
2017-09-15 18:13:33
-
2024-02-07 12:20:42
-
02019-07-04 16:21:06
-
22018-03-12 17:53:25
-
2019-12-24 13:53:38
-
2020-03-13 19:50:27
-
2023-04-21 10:26:02
-
2020-10-02 12:44:59
-
2020-05-08 14:39:23
-
2019-08-01 08:42:50
-
2024-12-10 14:57:08
-
2021-07-12 16:43:05
-
2020-02-25 11:00:22
-
2018-11-24 09:21:58
-
2021-12-11 00:39:47
-
2025-08-22 09:18:09
-
2020-09-22 11:37:24
-
5hisi3516cv610 + gc4336p 夜晚很模糊
-
5AIISP(功能演示,SC4336P为BGGR,强制转RGGB,会导致颜色异常)
-
5rv1106使用luckfox的SDK,设备树和驱动都写好了,结果设备文件没有生成
-
5海思3516cv610中如何进行SD卡升级,根据官方文档操作,烧录进板子时,走的默认uboot,没有执行uboot升级。
-
5G610Q-IPC-38E 夜晚很暗 有什么办法解决吗 已经补光了
-
10转换模型时,SoC版本里没显示hi3516cv610芯片
-
5hisi3516cv610 使用 yolov8n 模型训练 要如何提高 这里识别的是人
-
10有人在海思平台接过SC035HGS吗
-
5关于hi3519dv500,以SD卡虚拟 U 盘操作
-
5ss928 sample_venc代码移植到openEuler24.03上执行报错 [sample_comm_vi_start_dev]-1068: vi set dev attr failed wi
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明

微信扫码分享
QQ好友