hi3518E + ov9712调试时,sample_venc居然取不到video data!

测试过程:
# ./sample_venc 2
press 'q' to exit sample!
peress ENTER to capture one picture to file


[SAMPLE_COMM_VENC_SnapProcess]-747: snap time out!
SAMPLE_VENC_720P_Snap: sanp process failed!
snap over!
[SAMPLE_COMM_VENC_SnapStop]-678: HI_MPI_VENC_DestroyChn vechn[0] failed with 0xa0078009! 
0xA0078009 HI_ERR_VENC_NOT_PERM 该操作不允许,如试图修改静态配置参数
[SAMPLE_VENC_720P_Snap]-664: Stop snap failed!


# /mnt/nfs/sample_venc1 
Usage : /mnt/nfs/sample_venc1 <index>
index:
         0) 720p classic H264 encode.
         1) 1*720p MJPEG encode.
         2) 1*720p JPEG snap.
# /mnt/nfs/sample_venc1 2
register isp lib info ec ffffffff!
SAMPLE_COMM_ISP_Init: HI_MPI_ISP_Init failed!
SAMPLE_COMM_ISP_Run: ISP init failed!
[SAMPLE_COMM_VI_StartIsp]-1253: SAMPLE_COMM_VI_StartIsp: ISP init failed!
[SAMPLE_VENC_720P_Snap]-607: start vi failed!
Segmentation fault
# /mnt/nfs/sample_venc2 2
press 'q' to exit sample!
peress ENTER to capture one picture to file


[SAMPLE_COMM_VENC_SnapProcess]-747: snap time out!
SAMPLE_VENC_720P_Snap: sanp process failed!
snap over!
[SAMPLE_COMM_VENC_SnapStop]-678: HI_MPI_VENC_DestroyChn vechn[0] failed with 0xa0078009!
[SAMPLE_VENC_720P_Snap]-664: Stop snap failed!
program exit abnormally!



# ./rtspmain 
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
pid:593 receive signal:2, prepare to exit!
Exit from Rtspd monitor thread!
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue

# /mnt/nfs/rtmpmain  rtmp://192.168.2.10/live/demo
SRS(simple-rtmp-server) client librtmp library.
version: 3.0.3
[1970-01-01 00:59:55.23][597] simple handshake success
[1970-01-01 00:59:55.28][597] connect vhost/app success
[1970-01-01 00:59:55.37][597] publish stream success!
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue
pid:597 receive signal:2, prepare to exit!
[SAMPLE_COMM_VENC_GetVencStreamProc]-928: get venc stream time out!!continue //可以确认,不管是snapshot or stream,都是
timeout拿不到video frame!!


>>原因: ov9712需要修改几个参数,也就是说,原本的init table并不正确!
#patch for ov9712
/home/toolkit/himm 0x200f0000 0
/home/toolkit/himm 0x20150400 1
/home/toolkit/himm 0x20150004 1
/home/toolkit/himm 0x20030030 1





  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

草根大哥

进军大神程序员路上,谢谢支持!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值