首页 > 技术知识 > 正文

搞了几天,无法在PQ_TOOL中显示视频,最后用了目前最新版本的SDK(V100R001C01SPC070),总算能在PQ_TOOL中显示视频了 但是是YUV的,速度很慢,仍然无法找到PC端的ittb_stream.exe插件

以下是我调试过程:

1、在C070版本的SDK基础上,加载好sensor,SDK版本一定要一致,否则单板PQ_TOOL运行会出错。

2、进入Hi3516A_Stream_V1.0.7.0,这里有个readme,但是写的含糊不清,还不如看HiIspTool.sh的帮助, 运行./HiIspTool.sh,会显示帮助,使用方法写的很清楚:

To start only the ittb_stream and obtain initial configurations from the board, run ./HiIspTool.sh -s -p filename.(filename: name of the configuration file) To start only the ittb_stream and obtain initial configurations from the PC, run ./HiIspTool.sh -s -s. To start only the ittb_control, run ./HiIspTool.sh -c. To start full services and obtain initial configurations from the board, run ./HiIspTool.sh -a -p filename.(filename: name of the configuration file) To start full services and obtain initial configurations from the PC, run ./HiIspTool.sh -a -s. Help: ./HiIspTool.sh -h Note ,All initial configuration files are stored in the release\configs directory.

这里我选择启动所有服务,运行命令为: ./HiIspTool.sh -a -p imx178_5m.ini 启动后,单板会创建两个进程,ps结果: 1101 root 0:38 ./ittb_stream -p imx178_5m.ini 1108 root 0:15 ./ittb_control 其中,ittb_control就是控制部分,ittb_stream 就是视频流,这样,PC端的PQ_TOOL工具,就可以获取视频了

3、PC端启动PQ_TOOL,选择“HiPQ 3A Analyzer”,image源选择“VPSS”或“VO”,不知道为什么不能选择“VI”

然后视频就一张一张的出来,由于是YUV格式的,速度2秒一张,蜗牛

注:SDK版本一定要一致,不能一些用C050版本的,一些东西又用C070版本的。

原文链接:https://blog.csdn.net/zzw_awen/article/details/70224882

相关推荐:

海思HI35XX串口调试 海思平台运行OpenSSH服务端 海思hi3516A-sample的使用1–sensor加载

猜你喜欢