cattleman

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman  发布于  2017-05-27 14:27:09
采纳率 0%
19个问答
5611

运行SDK包中的sample_ive_main 2 0 报错

 
本帖最后由 cattleman 于 2017-5-27 14:28 编辑

step 1.
        进入 /mnt/share/A-Hi3518E/Hi3518E_SDK_V1.0.0.1/mpp/sample/ive/
step 2.
        make
step 3.
        把生成的执行程序 sample_ive_main 拷贝到开发板
step 4.
      ./sample_ive_main 2 0
出现如下错误:
/mnt/A-App # ./sample_ive_main 2 0
u32BitCnt ===== 8
[SAMPLE_COMM_IVE_BT1120_720P_PreView]-859: u32ViDepth = 4
[SAMPLE_COMM_IVE_BT1120_720P_PreView]-862: HI_MPI_VI_SetFrameDepth fail,ViChn(0),Error(0xa0108008)
[SAMPLE_IVE_Md]-487: SAMPLE_COMM_IVE_BT1120_720P_PreView fail

/mnt/A-App #
/mnt/A-App #

[ 备注:Error(0xa0108008)]  
0xA0108008 HI_ERR_VI_NOT_SUPPORT 操作不支持

step 5.
      把sample_comm_ive.c 文件中HI_MPI_VI_SetFrameDepth() 注释掉,在make
step 6.
    /mnt/A-App # ./sample_ive_main 2 0
u32BitCnt ===== 8
[SAMPLE_COMM_IVE_BT1120_720P_PreView]-877: HI_MPI_VI_SetChnAttr,ViChn(0),Error(0xa0108003)
[SAMPLE_IVE_Md]-487: SAMPLE_COMM_IVE_BT1120_720P_PreView fail

/mnt/A-App #
/mnt/A-App #
[备注 Error(0xa0108003)]
0xA0108003 HI_ERR_VI_INVALID_PARA 视频输入参数设置无效
我来回答
回答15个
时间排序
认可量排序

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-05-27 15:31:54
认可0
HI_MPI_VI_SetFrameDepth 只支持离线模式

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-05-27 18:16:43
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50509&ptid=15365]zhuangweiye 发表于 2017-5-27 15:31[/url]
HI_MPI_VI_SetFrameDepth 只支持离线模式[/quote]

嗯,改成离线模式了。能运行,但出现如下的错误:
mnt/A-App # ./sample_ive_main 2 0
u32BitCnt ===== 8
[SAMPLE_COMM_IVE_BT1120_720P_PreView]-859: u32ViDepth = 4
u32Width:1920, u32Square:1
---------------press any key to exit!---------------
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)
[SAMPLE_IVE_MdProc]-191: HI_MPI_VI_GetFrame ext chn(1) fail,Error(0xa010800e)

[备注 Error(0xa010800e)]
0xA010800E HI_ERR_VI_BUF_EMPTY 视频输入缓存为空

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-05-27 18:54:55
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50520&ptid=15365]cattleman 发表于 2017-5-27 18:16[/url]
嗯,改成离线模式了。能运行,但出现如下的错误:
mnt/A-App # ./sample_ive_main 2 0
u32BitCnt === ...[/quote]

请问怎么改成离线模式?

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-05-27 18:58:34
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50509&ptid=15365]zhuangweiye 发表于 2017-5-27 15:31[/url]
HI_MPI_VI_SetFrameDepth 只支持离线模式[/quote]

论坛都像大哥这样热心肠就好了

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-05-31 07:52:51
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50522&ptid=15365]申兴琭08009056 发表于 2017-5-27 18:54[/url]
请问怎么改成离线模式?[/quote]

insmod hi351xx_sys.ko vi_vpss_online=0

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-05-31 08:22:54
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50520&ptid=15365]cattleman 发表于 2017-5-27 18:16[/url]
嗯,改成离线模式了。能运行,但出现如下的错误:
mnt/A-App # ./sample_ive_main 2 0
u32BitCnt === ...[/quote]

看上去是VI没有中断导致

先看VI设置是否正确, 然后再看前端设置是否对

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-05-31 10:35:44
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50550&ptid=15365]zhuangweiye 发表于 2017-5-31 08:22[/url]
看上去是VI没有中断导致

先看VI设置是否正确, 然后再看前端设置是否对[/quote]

跑的是hi2518e sdk 包原味的程序,刚跑了 sample_vio 这个程序能正常执行,为啥 sample_ive_main 不能,暂找不到问题出现在哪?能否具体指点一下么?

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-05-31 11:11:15
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50560&ptid=15365]cattleman 发表于 2017-5-31 10:35[/url]
跑的是hi2518e sdk 包原味的程序,刚跑了 sample_vio 这个程序能正常执行,为啥 sample_ive_main 不能, ...[/quote]


1. 对比sample_vio和ive的/proc/umap/vi

2. 对比代码, 看上去ive用的720P, vio好像是1080P

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-05-31 13:42:40
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50560&ptid=15365]cattleman 发表于 2017-5-31 10:35[/url]
跑的是hi2518e sdk 包原味的程序,刚跑了 sample_vio 这个程序能正常执行,为啥 sample_ive_main 不能, ...[/quote]

你可以执行 cat /dev/logmpp 看一下错误打印

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-06-13 17:27:10
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=50564&ptid=15365]zhuangweiye 发表于 2017-5-31 11:11[/url]
1. 对比sample_vio和ive的/proc/umap/vi

2. 对比代码, 看上去ive用的720P, vio好像是1080P[/quote]

谢谢。此问题终于解决了。:)

sunyonglei

0个粉丝

12

问答

0

专栏

0

资料

sunyonglei 2017-06-26 23:10:31
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52805&ptid=15365]cattleman 发表于 2017-6-13 17:27[/url]
谢谢。此问题终于解决了。[/quote]

请问您的sample_vio成功了吗?我运行的时候输出端没有图像,显示屏上是花的,但测试BT1120时序,有输出

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-06-27 14:50:22
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=53498&ptid=15365]sunyonglei 发表于 2017-6-26 23:10[/url]
请问您的sample_vio成功了吗?我运行的时候输出端没有图像,显示屏上是花的,但测试BT1120时序,有输出[/quote]

VIO 没有什么问题啊。运行就可以啊。

sunyonglei

0个粉丝

12

问答

0

专栏

0

资料

sunyonglei 2017-06-27 14:58:59
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=54176&ptid=15365]cattleman 发表于 2017-6-27 14:50[/url]
VIO 没有什么问题啊。运行就可以啊。[/quote]

我的硬件是hi3518e+ov9712,输出bt1120时序到sil9022进行hdmi显示,程序能运行,但是没有图像显示

arthur_liu

0个粉丝

2

问答

0

专栏

0

资料

arthur_liu 2017-08-26 08:58:53
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52805&ptid=15365]cattleman 发表于 2017-6-13 17:27[/url]
谢谢。此问题终于解决了。[/quote]

请问您这个运行问题是怎么解决的,我遇到类似的问题,执行sample_ive_main 4 0 报错,跟您错误一样,是720P和1080P的原因么?请问你是怎么修改的,谢谢!

cattleman

1个粉丝

19

问答

0

专栏

0

资料

cattleman 2017-08-28 13:43:01
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=62999&ptid=15365]arthur_liu 发表于 2017-8-26 08:58[/url]
请问您这个运行问题是怎么解决的,我遇到类似的问题,执行sample_ive_main 4 0 报错,跟您错误一样,是72 ...[/quote]

改成离线模式。
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区