4296
- 收藏
- 点赞
- 分享
- 举报
vi和vpss视频采集输入问题,请问各位大神该如何排查?
本帖最后由 yuran070 于 2019-1-21 18:06 编辑
硬件平台:hi3531d
图像格式:yuv422
使用的通道:videv0 ch0
vpss ch0
已测试输入为1080p60(148.5单沿采样)且vo为4k30时,图像传输正常;
我使用mpp中的sample_vio例程,修改为4k30输入输出,vi输入正常,用vi_dump能获取正常画面;
但是当vi传到在vpss处数据全部丢失,可以在vpss日志中看到ViLost 数据持续增长,也就是说vpss收到的数据全丢了
请问各位大神该如何排查?
以下为vi和vpss的日志:
vi日志:
[code]~/private/mpp/tools # cat /proc/umap/vi
[VIU] Version: [Hi3531D_MPP_V2.0.3.0 B040 Release], Build Time: [Nov 24 2017, 13:47:17]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
2 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
4 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
6 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
8 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
16 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
24 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 43355 0 3 0 2 2 19 8 frm 3840
8 2 0 0 0 0 0 0 0 0 0 (null) 0
16 4 0 0 0 0 0 0 0 0 0 (null) 0
24 6 0 0 0 0 0 0 0 0 0 (null) 0
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 53 33333 33767 0 0 1 0 0 0 1 29
8 0 0 0 0 0 0 0 0 0 0 0
16 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 33333 30 43352 0 1 NONE
8 N 0 0 0 0 0 NONE
16 N 0 0 0 0 0 NONE
24 N 0 0 0 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk[/code]
vpss日志:
[code]~/private/mpp/tools # cat /proc/umap/vpss
[VPSS] Version: [Hi3531D_MPP_V2.0.3.0 B040 Release], Build Time[Nov 24 2017, 13:47:20]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio
0 0
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode
0 3840 2160 SP422 auto N Y N N N VPSS
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 30 30 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N N 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 3840 2160 3840 2160
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 4 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 44536 44532 0 1 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 USER 8 0 1 30 30 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 3840 2160 SP422 NONE NONE 0 0 3840 2160 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 StartSuc1 StartSuc2 LinkInt StartErr0 StartErr1 StartErr2 NodeIdErr0 NodeIdErr1 NodeIdErr2 BusErr
1 0 0 0 0 0 0 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0 Busy10 Busy11 Sel1 Busy20 Busy21 Sel2
456 0 0 1 0 0 0 0 0 0 0 0
[/code]
联系方式QQ:524380007
硬件平台:hi3531d
图像格式:yuv422
使用的通道:videv0 ch0
vpss ch0
已测试输入为1080p60(148.5单沿采样)且vo为4k30时,图像传输正常;
我使用mpp中的sample_vio例程,修改为4k30输入输出,vi输入正常,用vi_dump能获取正常画面;
但是当vi传到在vpss处数据全部丢失,可以在vpss日志中看到ViLost 数据持续增长,也就是说vpss收到的数据全丢了
请问各位大神该如何排查?
以下为vi和vpss的日志:
vi日志:
[code]~/private/mpp/tools # cat /proc/umap/vi
[VIU] Version: [Hi3531D_MPP_V2.0.3.0 B040 Release], Build Time: [Nov 24 2017, 13:47:17]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap min_cas_gap
10 0 0 28000 0
discard_int int_gap_time int_time vi_vb_source
0 45000 10000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
2 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
4 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
6 BT1120S 1Mux ff000000 ff0000 DOUBLE -1 -1 -1 -1 UVUV ByPass YUV N Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
8 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
16 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
24 0 0 3840 2160 3840 2160 both P SKIPNON N N Y sp422 -1 -1 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 43355 0 3 0 2 2 19 8 frm 3840
8 2 0 0 0 0 0 0 0 0 0 (null) 0
16 4 0 0 0 0 0 0 0 0 0 (null) 0
24 6 0 0 0 0 0 0 0 0 0 (null) 0
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 53 33333 33767 0 0 1 0 0 0 1 29
8 0 0 0 0 0 0 0 0 0 0 0
16 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 33333 30 43352 0 1 NONE
8 N 0 0 0 0 0 NONE
16 N 0 0 0 0 0 NONE
24 N 0 0 0 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk[/code]
vpss日志:
[code]~/private/mpp/tools # cat /proc/umap/vpss
[VPSS] Version: [Hi3531D_MPP_V2.0.3.0 B040 Release], Build Time[Nov 24 2017, 13:47:20]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source vpss_en_ratio
0 0
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode
0 3840 2160 SP422 auto N Y N N N VPSS
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 30 30 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 Y N N N 2 2 2 2 ffffff ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 N RIT 0 0 0 0 3840 2160 3840 2160
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 4 3 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 44536 44532 0 1 0 0 0 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 USER 8 0 1 30 30 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 Y 3840 2160 SP422 NONE NONE 0 0 3840 2160 0 0 0
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 StartSuc1 StartSuc2 LinkInt StartErr0 StartErr1 StartErr2 NodeIdErr0 NodeIdErr1 NodeIdErr2 BusErr
1 0 0 0 0 0 0 0 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0 Busy10 Busy11 Sel1 Busy20 Busy21 Sel2
456 0 0 1 0 0 0 0 0 0 0 0
[/code]
联系方式QQ:524380007
我来回答
回答17个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-09-29 13:40:37
-
2016-02-23 21:37:50
-
2019-01-02 11:23:11
-
2018-12-19 14:15:34
-
2019-02-20 10:46:22
-
2016-04-22 11:03:35
-
2017-11-22 14:39:31
-
2018-01-31 17:07:01
-
2018-01-31 16:13:23
-
2024-03-22 16:30:03
-
2018-10-22 14:13:37
-
2021-09-02 12:23:30
-
2016-11-15 18:18:34
-
2019-11-24 15:55:19
-
2019-12-02 17:51:49
-
2014-11-05 18:03:49
-
2016-12-16 15:48:54
-
2014-12-01 15:48:52
-
2023-08-08 09:02:21
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认