taotaocindy

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy  发布于  2015-01-22 19:56:12
采纳率 0%
5个问答
25710

sample_venc运行几十秒后就打印get venc stream time out是什么原因

 
# ./sample_venc 0
please press twice ENTER to exit this sample

Get ISP Interrupt Failed with ec 0x1!
Get ISP Interrupt Failed with ec 0x1!
[SAMPLE_COMM_VENC_GetVencStreamProc]-988: get venc stream time out, exit thread
Get ISP Interrupt Failed with ec 0x1!
================vedu 0 debug info=============
===debug info from 0000-0154===
0000 :  00000000  00000000  00000000  00000000
0010 :  00000000  00000000  00000000  00000000
0020 :  00000000  00000000  00000000  00000000
0030 :  00000000  00000000  00000000  00000000
0040 :  00000000  00000000  00000000  00000000
0050 :  00000000  00000000  00000000  00000000
0060 :  00000000  00000000  00000000  00000000
0070 :  00000000  00000000  00000000  00000000
0080 :  00000000  00000000  00000000  00000000
0090 :  00000000  00000000  00000000  00000000
00a0 :  00000000  00000000  00000000  00000000
00b0 :  00000000  00000000  00000000  00000000
00c0 :  00000000  00000000  00000000  00000000
00d0 :  00000000  00000000  00000000  00000000
00e0 :  00000000  00000000  00000000  00000000
00f0 :  00000000  00000000  00000000  00000000
0100 :  00000000  00000000  00000000  00000000
0110 :  00000000  00000000  00000000  00000000
0120 :  00000000  00000000  00000000  00000000
0130 :  00000000  00000000  00000000  00000000
0140 :  00000000  00000000  00000000  00000000
0150 :  00000000  00000000  00000000  00000000
===debug info from 0a50-0a9c===
0a50 :  00000000  00000000  00000000  00000000
0a60 :  00000000  00000000  00000000  00000000
0a70 :  00000000  00000000  00000000  00000000
0a80 :  00000000  00000000  00000000  00000000
0a90 :  00000000  00000000  00000000  00000000


VEDU_0 :watchdog here.
Get ISP Interrupt Failed with ec 0x1!
program termination abnormally!
#
我来回答
回答31个
时间排序
认可量排序

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-22 19:56:50
认可0
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1          73           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           1           0           0          82          82          73       30000          30
#  
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         246           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         276         276         246       30000          30
#
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         553           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         622         622         553       30000          30
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         628           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         706         706         628       30000          30
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         677           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         761         761         677       40000          30
#
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         728           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         818         818         728       30000          30
#
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         780           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         876         876         780       30000          30
#
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         840           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         942         942         840       40000          30
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         867           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         972         972         867       40000          30
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         867           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         972         972         867       40000          30
#
#
# cat /proc/umap/venc

[VENC] Version: [Hi3518_MPP_V1.0.9.0 ], Build Time[Aug 27 2014, 22:11:58]

-----VENC CHN ATTR-------------------------------------------------------------
     NO.   Width  Height  Type Field VIField StreamType  ByFrame   BlockFlag    Sequence  Registered   LeftBytes     LeftFrm   CurPacks  BuffCache
       0    1280     720    96     0       0          1        1           1         867           1           0           0         1         0

-----VENC STREAM STATE------------------------------------------------------------
     NO.     FreeCnt     BusyCnt     UserCnt     UserGet     UserRls    GetTimes    Interval   FrameRate
       0           5           0           0         972         972         867       40000          30
#

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-26 09:13:48
认可0
还在纠结这个问题,有没有人知道问题所在啊:o

2628

0个粉丝

8

问答

0

专栏

1

资料

2628 2015-01-26 09:30:26
认可0
不知道楼主用的是哪款芯片?

2628

0个粉丝

8

问答

0

专栏

1

资料

2628 2015-01-26 09:31:34
认可0
我用的3516a。time out应该是正常现象。
例子是写flash,超时退出很好理解。

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-26 11:04:34
认可0
我用的3518e,应该不是写到flash吧~ 我用的nfs,应该是写在nfs里面的吧

city25

0个粉丝

3

问答

0

专栏

0

资料

city25 2015-01-26 12:24:17
认可0
我也是这樣, 但感觉是海思的代碼寫的不好
之后試一下自己寫

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-26 15:07:01
认可0
我怀疑是VPSS的问题,我刚仔细看了哈调试信息,VPSS的输入是537个帧,但是输出是536个帧

Log:
-----------------------VPSS GRP WORK STATUS-------------------------
   GrpID         RecvPic  ViLost    VdecLost           NewDo   OldDo NewUnDo         OldUnDo  NoHist StartFl  bStart  CostTm MaxCostTm
       0             537       0           0             537       0       0            2337       0       0       1    9175     10118

-----------------------VPSS CHN WORK STATUS-------------------------
   GrpID   ChnID    WorkMode   Depth          SendOk  bConfident     bDouble      CapSel
       0       0        AUTO       0             536           1

city25

0个粉丝

3

问答

0

专栏

0

资料

city25 2015-01-26 15:39:49
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=11821&ptid=5201]taotaocindy 发表于 2015-1-26 15:07[/url]
我怀疑是VPSS的问题,我刚仔细看了哈调试信息,VPSS的输入是537个帧,但是输出是536个帧

Log:
[/quote]

哈哈, 我沒仔細看, 謝謝提出, 之后有時間再去看看!

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-26 16:07:24
认可0
可能我思路错了,问题或许出在
“Get ISP Interrupt Failed with ec 0x1”

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-01-27 10:24:27
认可0
问题解决了,结贴,问题出在缓存块的个数,把 stVbConf.astCommPool[0].u32BlkCnt 改小点就行了

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-02-03 17:09:05
认可0
补充一点,编码器venc的输入输出帧率也会影响

taotaocindy

0个粉丝

5

问答

0

专栏

0

资料

taotaocindy 2015-02-05 14:36:06
认可0
更正一下,免得误导大家,仅仅跟帧率有关系,跟缓存块的个数stVbConf.astCommPool[0].u32BlkCnt 无关

但是同时编码两路,还是有同样的问题,原因正在分析中。。。

gongbingg

0个粉丝

0

问答

0

专栏

0

资料

gongbingg 2015-05-11 11:24:01
认可0
你好,请问你的问题解决了吗?
我也遇到同样的问题。仅仅是将layout布局改了下而已,第一版没有出现这个报错。

250596303

0个粉丝

1

问答

0

专栏

0

资料

250596303 2015-05-20 16:32:56
认可0
·····修改缓冲区。。貌似不太稳定。。图像质量有问题。。。请问下楼主最后怎么解决滴~!

chen

0个粉丝

0

问答

0

专栏

0

资料

chen 2015-09-08 15:12:30
认可0
楼主,你的问题解决了吗?
我也遇到同样的问题。 你qq多少了?

3518hi

0个粉丝

0

问答

0

专栏

0

资料

3518hi 2015-09-24 11:24:15
认可0
楼主,你的问题解决了吗?

andy_mqy

1个粉丝

26

问答

0

专栏

0

资料

andy_mqy 2015-09-25 13:56:05
认可0
例程中RC码率控制器的参数,是否需要根据芯片和编码路数需要改动一下?个人分析,只是简单看过VENC的例程和MPP说明,供参考。

fancong

0个粉丝

15

问答

0

专栏

2

资料

fancong 2015-09-28 08:01:03
认可0
看看这个[url]http://www.ebaina.com/bbs/forum.php?mod=viewthread&tid=8610&highlight=get%2Bisp%2Binterrupt[/url]

fancong

0个粉丝

15

问答

0

专栏

2

资料

fancong 2015-09-28 08:01:50
认可0
出现“Get ISP Interrupt Failed with ec 0x1!”错误:
<1> VI刚启动(通过cat /proc/umap/vi查看)就产生这种错误。
<2> VENC启动一段时间,即系统运行一段时间就产生这种错误,然后没流重启。
对于第一种情况,可能有以下几个方面的问题造成的:
a. isp驱动加载出错。对于hi_isp.ko一般依赖两个驱动i2c驱动和一个sensor驱动,一般来说,是这两种驱动选错型号了。
   要么是将i2c错选成了gpio_i2c,要么是将ssp_ad9020错选成了ssp_sony,根据自己型号来定。
b. sensor的驱动库或者版本选错了,要么是将sc1035选成了ov9712,要么是将ISP_V2选成了ISP_VI版本。
c. 排除a、b两种情况,则需要查看sample,一般来说,不要怀疑sample的正确性,如果sample有问题,海思也不会发出来,
   另外其他在用该处理器的厂家如海康大华也会直接该海思反馈了。
   逐个函数对比,查看SDK调用函数和sample里面调用的函数有没有什么问题,如有没有漏掉的,或者调用顺序上出问题的。
   特别是对于第二种情况,即调用顺序,很容易出问题,记得仔细一点。如果出现第一次运行APP,出现该错误,杀死程序
   再运行APP就没有错误了,一般就是调用顺序出的问题。
   在跑sample的vio时,发现一个问题,就是在调用某些接口的时候,如果加上getchar()断点,则也会出现这种错误,按回
   车之后,就没这个错误了,而且VI的流也是正常的,这说明,有些接口是阻塞的。故由此推断,如果在调用vio的一些接口
   时,耗时过多(如需要很多处延时),也会出现这一类问题。
对于第二种情况,则是由于帧率设置过大造成的,适当降低帧率即可。

_nucong

1个粉丝

24

问答

0

专栏

4

资料

_nucong 2015-09-28 09:13:50
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=20604&ptid=5201]fancong 发表于 2015-9-28 08:01[/url]
出现“Get ISP Interrupt Failed with ec 0x1!”错误:
VI刚启动(通过cat /proc/umap/vi查看)就产生这种 ...[/quote]

实际timeout确实和sample有关系
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区