3704
- 收藏
- 点赞
- 分享
- 举报
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-07-20 16:36:33
-
2019-01-14 18:17:23
-
2020-10-15 11:28:42
-
2018-05-29 11:58:37
-
2020-05-06 19:18:44
-
2020-09-10 11:45:00
-
2023-11-10 11:30:18
-
2019-10-10 10:01:06
-
2022-03-22 09:51:32
-
2021-02-02 10:17:43
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认