1882
- 收藏
- 点赞
- 分享
- 举报
海思3519A100获取yuv数据、跑vio的demo报错
先谢谢大家。最近开始接触3519A,是方案商给公司的板子,所以硬件是OK的。
(1)现在跑vio报错信息:
/mnt/nfs01 # ./sample_vio_main 0
[SAMPLE_COMM_VI_GetSizeBySensor]-3098: the enMode is 3 !
[SAMPLE_VIO_ViOnlineVpssOnlineRoute]-140: sys init success!
[SAMPLE_VIO_ViOnlineVpssOnlineRoute]-148: sys init success
[SAMPLE_COMM_VI_SetMipiAttr]-1435: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
[Func]:cmos_set_wdr_mode [Line]:1061 [Info]:linear mode
===Imx334 8M30fps 12bit LINE Init OK!===
[SAMPLE_COMM_ISP_Thread]-173: ISP Dev 0 running !
[SAMPLE_COMM_VO_StartChn]-544: u32Width:1920, u32Height:1080, u32Square:1
---------------press Enter key to exit!---------------
[SAMPLE_COMM_VENC_GetVencStreamProc]-1844: get venc stream time out, exit thread
(2) 利用HI_MPI_VPSS_GetChnFrame 接口直接或许yuv数据报错:
[SAMPLE_COMM_VI_GetSizeBySensor]-3098: the enMode is 3 !
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1028: ensnsTYPE is 3
[SAMPLE_COMM_VI_SetMipiAttr]-1435: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
[Func]:cmos_set_wdr_mode [Line]:1061 [Info]:linear mode
===Imx334 8M30fps 12bit LINE Init OK!===
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1077: start Vo !
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1088: start Venc !
[SAMPLE_COMM_ISP_Thread]-173: ISP Dev 0 running !
[SAMPLE_SVP_NNIE_FillSrcData]-744: Error(0xa007800e),HI_MPI_VPSS_GetChnFrame failed, VPSS_GRP(0), VPSS_CHN(1)!
[Level]:Error,[Func]:SAMPLE_SVP_NNIE_Yolov3 [Line]:3704 [Info]:Error,SAMPLE_SVP_NNIE_FillSrcData failed!
(3)vi配置信息:
[VI] Version: [Hi3519AV100_MPP_V2.0.1.0 B0B0 Release], Build Time[Nov 15 2018, 09:08:39]
-------------------------------MODULE PARAM ---------------------------------------------------------------------------
DetectErrFrame DropErrFrame
0 0
-------------------------------VI MODE --------------------------------------------------------------------------------
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode
offline offline offline offline offline offline
-------------------------------VPSS MODE ------------------------------------------------------------------------------
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode
offline offline offline offline offline offline
-------------------------------VI STITCH GRP ATTR----------------------------------------------------------------------
StitchGrp bStitch Mode PipeNum PipeId
-------------------------------VI DEV ATTR1----------------------------------------------------------------------------
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
0 Y Y 1920 1080 MIPI 1Mux fff00000 0 P
-------------------------------VI DEV ATTR2----------------------------------------------------------------------------
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode CacheLine DataRate
0 -1 -1 -1 -1 N/A RGB N 1920 1080 NONE NONE None 1080 X1
-------------------------------VI BIND ATTR----------------------------------------------------------------------------
DevID PipeNum PipeId
0 1 0
-------------------------------VI DEV TIMING ATTR----------------------------------------------------------------------
DevID DevTimingEn DevFrmRate DevWidth DevHeight
-------------------------------VI PIPE ATTR1---------------------------------------------------------------------------
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode
0 BypassNone N N 1920 1080 RAW12 12 N N Line
-------------------------------VI PIPE ATTR2---------------------------------------------------------------------------
DiscProPic SrcFRate DstFRate FrameSource RepeatMode VCNum
N -1 -1 DEV NONE 0
-------------------------------VI PIPE CROP ATTR-----------------------------------------------------------------------
PipeID CropEn CoorX CoorY Width Height
-------------------------------VI PIPE NR ATTR-------------------------------------------------------------------------
PipeID BitWidth CompressMode PixFmt RefSrc Intf Version OptMode
-------------------------------VI PIPE USER PIC ATTR-------------------------------------------------------------------
PipeID Enable ChnID Mode BgColor PicID Width Height Stride PixFmt PoolID PhyAddr
-------------------------------VI PIPE DUMP ATTR-----------------------------------------------------------------------
PipeID Enable Depth
-------------------------------VI PIPE BNR DUMP ATTR-------------------------------------------------------------------
PipeID Enable Depth
-------------------------------VI CHN ATTR1----------------------------------------------------------------------------
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange
0 0 1920 1080 N N -1 -1 SP420 LINEAR SDR8
-------------------------------VI CHN ATTR2----------------------------------------------------------------------------
CompressMode Depth Align
None 1 0
-------------------------------VI EXTCHN ATTR1-------------------------------------------------------------------------
PipeID ChnID Source SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth
-------------------------------VI EXTCHN ATTR2-------------------------------------------------------------------------
Align
-------------------------------VI CHN EARLY INTERRUPT INFO-------------------------------------------------------------
PipeID ChnID Enable LineCnt
0 0 N 0
-------------------------------VI CHN LOW DELAY ATTR-------------------------------------------------------------------
PipeID ChnID Enable LineCnt Effect
0 0 N 0 N
-------------------------------VI CHN CROP INFO------------------------------------------------------------------------
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt
0 0 N RIT 0 0 0 0 0 0 0 0
-------------------------------VI CHN ROTATION INFO--------------------------------------------------------------------
PipeID ChnID Rotation
0 0 0
-------------------------------VI CHN LDC INFO-------------------------------------------------------------------------
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio
0 0 N N 0 0 0 0 0 0
-------------------------------VI CHN ROTATIO_EX INFO------------------------------------------------------------------
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height
0 0 N ALL 0 0 0 0 0
-------------------------------VI CHN SPREAD INFO----------------------------------------------------------------------
PipeID ChnID Enable OutW OutH Coef
0 0 N 0 0 0
-------------------------------VI EXTCHN FISHEYE ATTR------------------------------------------------------------------
PipeID ChnID Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
-------------------------------VI EXTCHN FISHEYE REGION ATTR-----------------------------------------------------------
PipeID ChnID RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
-------------------------------VI DIS CONFIG INFO1---------------------------------------------------------------------
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale
-------------------------------VI DIS ATTR INFO------------------------------------------------------------------------
PipeID ChnID DisChn Enable GdcBypass MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit
-------------------------------VI SNAP ATTR INFO-----------------------------------------------------------------------
PipeID Type bLoadCCM FrameCnt rptTimes bZSL FrmDepth RollbaskMs Interval
-------------------------------VI SNAP STATUS INFO---------------------------------------------------------------------
Status bDoublePipe VideoPipe SnapPipe VcNum ProDelayInt
-------------------------------VI CHN OUTPUT RESOLUTION----------------------------------------------------------------
PipeID ChnID Enable Mirror Flip Width Height PixFmt VideoFmt DynamicRange CompressMode FrameRate
0 0 Y N N 0 0 SP420 LINEAR SDR8 None 0
-------------------------------VI PIPE STATUS--------------------------------------------------------------------------
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 352 0 352 352 1920 1080
-------------------------------VI CHN STATUS---------------------------------------------------------------------------
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height
0 0 Y 0 0 0 0 0
-------------------------------VI PIPE Statistic-----------------------------------------------------------------------
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm LowBandWidth BeBufNum
0 0 0 0 0 0 0 0 0 0
-------------------------------VI HW STATISTIC-------------------------------------------------------------------------
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 0 0 0 0
-------------------------------VI PROC OFFLINE IRQ STATISTIC----------------------------------------------------------
ProcIdx SubmitCnt IntCnt ListCnt TmOutCnt BusErrCnt DcmpErrCnt StartErrCnt NodeIdErrCnt
0 0 0 0 0 0 0 0 0
-------------------------------VI PROC ONLINE IRQ STATISTIC-----------------------------------------------------------
ProcIdx IntCnt FrmStartCnt FrmErrCnt FrmFlowCnt BusErrCnt DcmpErrCnt CfgLossCnt
0 0 0 0 0 0 0 0
-------------------------------VI PROC COST TIME STATISTIC-----------------------------------------------------------
ProcIdx IntCntPerSec MaxIntCntPerSec CurIntCostTm MaxIntCostTm TotalIntCostTm IntTmPerSec MaxIntTmPerSec
0 0 0 0 0 0 0 0
-------------------------------VI DEV DETECT INFO----------------------------------------------------------------------
DevID ValidWidth ValidHeight TotalWidth
0 1952 1000 17777
-------------------------------VI BAS DETECT INFO----------------------------------------------------------------------
DevID ValidWidth ValidHeight TotalWidth
0 1920 1000 17777
-------------------------------VI ISP DETECT INFO----------------------------------------------------------------------
ISPID ValidWidth ValidHeight TotalWidth
0 1920 1000 17777
(1)现在跑vio报错信息:
/mnt/nfs01 # ./sample_vio_main 0
[SAMPLE_COMM_VI_GetSizeBySensor]-3098: the enMode is 3 !
[SAMPLE_VIO_ViOnlineVpssOnlineRoute]-140: sys init success!
[SAMPLE_VIO_ViOnlineVpssOnlineRoute]-148: sys init success
[SAMPLE_COMM_VI_SetMipiAttr]-1435: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
[Func]:cmos_set_wdr_mode [Line]:1061 [Info]:linear mode
===Imx334 8M30fps 12bit LINE Init OK!===
[SAMPLE_COMM_ISP_Thread]-173: ISP Dev 0 running !
[SAMPLE_COMM_VO_StartChn]-544: u32Width:1920, u32Height:1080, u32Square:1
---------------press Enter key to exit!---------------
[SAMPLE_COMM_VENC_GetVencStreamProc]-1844: get venc stream time out, exit thread
(2) 利用HI_MPI_VPSS_GetChnFrame 接口直接或许yuv数据报错:
[SAMPLE_COMM_VI_GetSizeBySensor]-3098: the enMode is 3 !
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1028: ensnsTYPE is 3
[SAMPLE_COMM_VI_SetMipiAttr]-1435: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
[Func]:cmos_set_wdr_mode [Line]:1061 [Info]:linear mode
===Imx334 8M30fps 12bit LINE Init OK!===
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1077: start Vo !
[SAMPLE_COMM_IVE_StartViVpssVencVo]-1088: start Venc !
[SAMPLE_COMM_ISP_Thread]-173: ISP Dev 0 running !
[SAMPLE_SVP_NNIE_FillSrcData]-744: Error(0xa007800e),HI_MPI_VPSS_GetChnFrame failed, VPSS_GRP(0), VPSS_CHN(1)!
[Level]:Error,[Func]:SAMPLE_SVP_NNIE_Yolov3 [Line]:3704 [Info]:Error,SAMPLE_SVP_NNIE_FillSrcData failed!
(3)vi配置信息:
[VI] Version: [Hi3519AV100_MPP_V2.0.1.0 B0B0 Release], Build Time[Nov 15 2018, 09:08:39]
-------------------------------MODULE PARAM ---------------------------------------------------------------------------
DetectErrFrame DropErrFrame
0 0
-------------------------------VI MODE --------------------------------------------------------------------------------
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode
offline offline offline offline offline offline
-------------------------------VPSS MODE ------------------------------------------------------------------------------
Pipe0Mode Pipe1Mode Pipe2Mode Pipe3Mode Pipe4Mode Pipe5Mode
offline offline offline offline offline offline
-------------------------------VI STITCH GRP ATTR----------------------------------------------------------------------
StitchGrp bStitch Mode PipeNum PipeId
-------------------------------VI DEV ATTR1----------------------------------------------------------------------------
DevID DevEn BindPipe Width Height IntfM WkM ComMsk0 ComMsk1 ScanM
0 Y Y 1920 1080 MIPI 1Mux fff00000 0 P
-------------------------------VI DEV ATTR2----------------------------------------------------------------------------
DevID AD0 AD1 AD2 AD3 Seq DataType DataRev BasW BasH HReph VReph WDRMode CacheLine DataRate
0 -1 -1 -1 -1 N/A RGB N 1920 1080 NONE NONE None 1080 X1
-------------------------------VI BIND ATTR----------------------------------------------------------------------------
DevID PipeNum PipeId
0 1 0
-------------------------------VI DEV TIMING ATTR----------------------------------------------------------------------
DevID DevTimingEn DevFrmRate DevWidth DevHeight
-------------------------------VI PIPE ATTR1---------------------------------------------------------------------------
PipeID BypassMode YuvSkip IspBypass Width Height PixFmt BitWidth NrEn SharpenEn CompressMode
0 BypassNone N N 1920 1080 RAW12 12 N N Line
-------------------------------VI PIPE ATTR2---------------------------------------------------------------------------
DiscProPic SrcFRate DstFRate FrameSource RepeatMode VCNum
N -1 -1 DEV NONE 0
-------------------------------VI PIPE CROP ATTR-----------------------------------------------------------------------
PipeID CropEn CoorX CoorY Width Height
-------------------------------VI PIPE NR ATTR-------------------------------------------------------------------------
PipeID BitWidth CompressMode PixFmt RefSrc Intf Version OptMode
-------------------------------VI PIPE USER PIC ATTR-------------------------------------------------------------------
PipeID Enable ChnID Mode BgColor PicID Width Height Stride PixFmt PoolID PhyAddr
-------------------------------VI PIPE DUMP ATTR-----------------------------------------------------------------------
PipeID Enable Depth
-------------------------------VI PIPE BNR DUMP ATTR-------------------------------------------------------------------
PipeID Enable Depth
-------------------------------VI CHN ATTR1----------------------------------------------------------------------------
PipeID ChnID Width Height Mirror Flip SrcFRate DstFRate PixFmt VideoFmt DynamicRange
0 0 1920 1080 N N -1 -1 SP420 LINEAR SDR8
-------------------------------VI CHN ATTR2----------------------------------------------------------------------------
CompressMode Depth Align
None 1 0
-------------------------------VI EXTCHN ATTR1-------------------------------------------------------------------------
PipeID ChnID Source SrcChn Width Height SrcFRate DstFRate PixFmt DynamicRange CompressMode Depth
-------------------------------VI EXTCHN ATTR2-------------------------------------------------------------------------
Align
-------------------------------VI CHN EARLY INTERRUPT INFO-------------------------------------------------------------
PipeID ChnID Enable LineCnt
0 0 N 0
-------------------------------VI CHN LOW DELAY ATTR-------------------------------------------------------------------
PipeID ChnID Enable LineCnt Effect
0 0 N 0 N
-------------------------------VI CHN CROP INFO------------------------------------------------------------------------
PipeID ChnID CropEn CoorType CoorX CoorY Width Height TrimX TrimY TrimWid TrimHgt
0 0 N RIT 0 0 0 0 0 0 0 0
-------------------------------VI CHN ROTATION INFO--------------------------------------------------------------------
PipeID ChnID Rotation
0 0 0
-------------------------------VI CHN LDC INFO-------------------------------------------------------------------------
PipeID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio
0 0 N N 0 0 0 0 0 0
-------------------------------VI CHN ROTATIO_EX INFO------------------------------------------------------------------
PipeID ChnID Enable ViewType Angle XOffset YOffset Width Height
0 0 N ALL 0 0 0 0 0
-------------------------------VI CHN SPREAD INFO----------------------------------------------------------------------
PipeID ChnID Enable OutW OutH Coef
0 0 N 0 0 0
-------------------------------VI EXTCHN FISHEYE ATTR------------------------------------------------------------------
PipeID ChnID Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
-------------------------------VI EXTCHN FISHEYE REGION ATTR-----------------------------------------------------------
PipeID ChnID RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
-------------------------------VI DIS CONFIG INFO1---------------------------------------------------------------------
PipeID ChnID Mode Motion PdtType BufNum CropRatio FrmRate GyroRange GyroBitWidth CamSteady Scale
-------------------------------VI DIS ATTR INFO------------------------------------------------------------------------
PipeID ChnID DisChn Enable GdcBypass MovSub Roef Timelag ViewAngle bStillCrop HorLimit VerLimit
-------------------------------VI SNAP ATTR INFO-----------------------------------------------------------------------
PipeID Type bLoadCCM FrameCnt rptTimes bZSL FrmDepth RollbaskMs Interval
-------------------------------VI SNAP STATUS INFO---------------------------------------------------------------------
Status bDoublePipe VideoPipe SnapPipe VcNum ProDelayInt
-------------------------------VI CHN OUTPUT RESOLUTION----------------------------------------------------------------
PipeID ChnID Enable Mirror Flip Width Height PixFmt VideoFmt DynamicRange CompressMode FrameRate
0 0 Y N N 0 0 SP420 LINEAR SDR8 None 0
-------------------------------VI PIPE STATUS--------------------------------------------------------------------------
PipeID Enable IntCnt FrameRate LostFrame VbFail Width Height
0 Y 352 0 352 352 1920 1080
-------------------------------VI CHN STATUS---------------------------------------------------------------------------
PipeID ChnID Enable FrameRate LostFrame VbFail Width Height
0 0 Y 0 0 0 0 0
-------------------------------VI PIPE Statistic-----------------------------------------------------------------------
PipeID RecvPic LostCnt BufCnt CurSoftTm MaxSoftTm CurTaskTm MaxTaskTm LowBandWidth BeBufNum
0 0 0 0 0 0 0 0 0 0
-------------------------------VI HW STATISTIC-------------------------------------------------------------------------
ProcIdx HWCostTm MaxHWCostTm CycleCnt MaxCycleCnt
0 0 0 0 0
-------------------------------VI PROC OFFLINE IRQ STATISTIC----------------------------------------------------------
ProcIdx SubmitCnt IntCnt ListCnt TmOutCnt BusErrCnt DcmpErrCnt StartErrCnt NodeIdErrCnt
0 0 0 0 0 0 0 0 0
-------------------------------VI PROC ONLINE IRQ STATISTIC-----------------------------------------------------------
ProcIdx IntCnt FrmStartCnt FrmErrCnt FrmFlowCnt BusErrCnt DcmpErrCnt CfgLossCnt
0 0 0 0 0 0 0 0
-------------------------------VI PROC COST TIME STATISTIC-----------------------------------------------------------
ProcIdx IntCntPerSec MaxIntCntPerSec CurIntCostTm MaxIntCostTm TotalIntCostTm IntTmPerSec MaxIntTmPerSec
0 0 0 0 0 0 0 0
-------------------------------VI DEV DETECT INFO----------------------------------------------------------------------
DevID ValidWidth ValidHeight TotalWidth
0 1952 1000 17777
-------------------------------VI BAS DETECT INFO----------------------------------------------------------------------
DevID ValidWidth ValidHeight TotalWidth
0 1920 1000 17777
-------------------------------VI ISP DETECT INFO----------------------------------------------------------------------
ISPID ValidWidth ValidHeight TotalWidth
0 1920 1000 17777
我来回答
回答0个
时间排序
认可量排序
暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2020-12-01 21:46:37
-
2021-06-08 19:54:39
-
2020-02-20 15:52:46
-
2017-03-22 17:26:44
-
2020-08-04 10:22:24
-
2016-07-20 16:06:38
-
2018-11-15 15:16:11
-
2021-07-09 16:51:42
-
2019-07-30 15:08:20
-
2018-12-27 09:28:26
-
2021-01-14 11:46:44
-
2016-11-06 23:18:26
-
2016-03-11 08:33:57
-
2020-04-05 14:27:01
-
2017-06-21 17:05:51
-
2019-12-27 17:40:47
-
2024-08-24 11:40:04
-
2018-08-24 11:29:46
-
2018-07-17 18:05:35
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认