3738
- 收藏
- 点赞
- 分享
- 举报
3559AV100 下sample/vdev 无法跑通
1. 现象:
跑sample/vdec例子时出错!
sudo ./sample_vdec 3 1
[SAMPLE_COMM_SYS_Init]-350: HI_MPI_VB_SetConf success!
[SAMPLE_COMM_SYS_Init]-360: HI_MPI_VB_Init success!
[SAMPLE_COMM_SYS_Init]-370: HI_MPI_SYS_Init success!
open vdec err
HI_MPI_VDEC_GetModParam failed at SAMPLE_COMM_VDEC_Start: LINE: 990 with 0xa0058010!
[SAMPLE_JPEG_VDEC_To_RGB]-838: start VDEC fail for 0xa0058010!
open vdec err
HI_MPI_VDEC_StopRecvStream chn 0 failed at SAMPLE_COMM_VDEC_Stop: LINE: 1067 with 0xa0058010!
[main]-1257: program exit abnormally!
2. 跟踪:
拿strace跟踪发现,最后调用libmpi库去open /dev/vdec时,设备结点不存在,报错反回。
openat(AT_FDCWD, "/dev/vdec", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/vdec", O_RDWR) = -1 ENOENT (No such file or directory)
write(1, "[SAMPLE_COMM_SYS_Init]-350: HI_M"..., 458[SAMPLE_COMM_SYS_Init]-350: HI_MPI_VB_SetConf success!
[SAMPLE_COMM_SYS_Init]-360: HI_MPI_VB_Init success!
[SAMPLE_COMM_SYS_Init]-370: HI_MPI_SYS_Init success!
open vdec err
^[[0;31mHI_MPI_VDEC_GetModParam failed at SAMPLE_COMM_VDEC_Start: LINE: 990 with 0xa0058010!^[[0;39m
[SAMPLE_JPEG_VDEC_To_RGB]-838: start VDEC fail for 0xa0058010!
open vdec err
^[[0;31mHI_MPI_VDEC_StopRecvStream chn 0 failed at SAMPLE_COMM_VDEC_Stop: LINE: 1067 with 0xa0058010!^[[0;39m
) = 458
ioctl(3, _IOC(_IOC_WRITE, 0x42, 0x0f, 0x04), 0x7fe6ac364c) = 0
ioctl(4, _IOC(0, 0x59, 0x01, 0x00), 0) = 0
close(4) = 0
ioctl(3, _IOC(_IOC_WRITE, 0x42, 0x0f, 0x04), 0x7fe6ac363c) = 0
ioctl(3, _IOC(0, 0x42, 0x09, 0x00), 0) = 0
close(3) = 0
write(1, "[main]-1257: program exit abnorm"..., 38[main]-1257: program exit abnormally!
) = 38
exit_group(-1610252272) = ?
+++ exited with 16 +++
查了一个内核,发现目前没有3559AV100下vdec相关的驱动!
3. 疑问:
请问Hi3559AV100_SDK_V2.0.1.0这版SDK是否支持VDEC?
跑sample/vdec例子时出错!
sudo ./sample_vdec 3 1
[SAMPLE_COMM_SYS_Init]-350: HI_MPI_VB_SetConf success!
[SAMPLE_COMM_SYS_Init]-360: HI_MPI_VB_Init success!
[SAMPLE_COMM_SYS_Init]-370: HI_MPI_SYS_Init success!
open vdec err
HI_MPI_VDEC_GetModParam failed at SAMPLE_COMM_VDEC_Start: LINE: 990 with 0xa0058010!
[SAMPLE_JPEG_VDEC_To_RGB]-838: start VDEC fail for 0xa0058010!
open vdec err
HI_MPI_VDEC_StopRecvStream chn 0 failed at SAMPLE_COMM_VDEC_Stop: LINE: 1067 with 0xa0058010!
[main]-1257: program exit abnormally!
2. 跟踪:
拿strace跟踪发现,最后调用libmpi库去open /dev/vdec时,设备结点不存在,报错反回。
openat(AT_FDCWD, "/dev/vdec", O_RDWR) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/vdec", O_RDWR) = -1 ENOENT (No such file or directory)
write(1, "[SAMPLE_COMM_SYS_Init]-350: HI_M"..., 458[SAMPLE_COMM_SYS_Init]-350: HI_MPI_VB_SetConf success!
[SAMPLE_COMM_SYS_Init]-360: HI_MPI_VB_Init success!
[SAMPLE_COMM_SYS_Init]-370: HI_MPI_SYS_Init success!
open vdec err
^[[0;31mHI_MPI_VDEC_GetModParam failed at SAMPLE_COMM_VDEC_Start: LINE: 990 with 0xa0058010!^[[0;39m
[SAMPLE_JPEG_VDEC_To_RGB]-838: start VDEC fail for 0xa0058010!
open vdec err
^[[0;31mHI_MPI_VDEC_StopRecvStream chn 0 failed at SAMPLE_COMM_VDEC_Stop: LINE: 1067 with 0xa0058010!^[[0;39m
) = 458
ioctl(3, _IOC(_IOC_WRITE, 0x42, 0x0f, 0x04), 0x7fe6ac364c) = 0
ioctl(4, _IOC(0, 0x59, 0x01, 0x00), 0) = 0
close(4) = 0
ioctl(3, _IOC(_IOC_WRITE, 0x42, 0x0f, 0x04), 0x7fe6ac363c) = 0
ioctl(3, _IOC(0, 0x42, 0x09, 0x00), 0) = 0
close(3) = 0
write(1, "[main]-1257: program exit abnorm"..., 38[main]-1257: program exit abnormally!
) = 38
exit_group(-1610252272) = ?
+++ exited with 16 +++
查了一个内核,发现目前没有3559AV100下vdec相关的驱动!
3. 疑问:
请问Hi3559AV100_SDK_V2.0.1.0这版SDK是否支持VDEC?
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-07-17 18:05:35
-
2018-06-08 19:18:57
-
2020-04-01 16:35:54
-
2023-01-11 14:52:21
-
2019-09-12 11:10:24
-
2020-05-25 16:14:06
-
2018-08-08 15:35:11
-
2020-08-13 14:28:21
-
2018-07-19 11:45:48
-
2019-01-14 18:17:23
-
2019-07-20 16:36:33
-
2020-10-15 11:28:42
-
2018-05-29 11:58:37
-
2019-10-10 10:01:06
-
2020-09-10 11:45:00
-
2023-11-10 11:30:18
-
2020-05-06 19:18:44
-
2022-03-22 09:51:32
-
2020-07-01 21:14:34
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认