9978
- 收藏
- 点赞
- 分享
- 举报
HI3516接BT656输入【已解决】
本帖最后由 18823762523 于 2017-11-1 13:40 编辑
请各位路过的大神指点一下,小弟日前调试BT656输入,发现一个奇怪的现象:
一、设备断电重启,然后手动启动sample程序
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
发现VI通道把采集到的数据都丢了。
调试信息如下:
/proc/umap # cat vi
[VIU] Version: [Hi3516A_MPP_V1.0.7.0 B050 Release], Build Time: [Nov 25 2016, 21:36:12]
VI-VPSS is offline.
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level
10 0 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT656 1Mux ff000000 0 I -1 -1 -1 -1 UYVY ByPass YUV N 0 0 720 576
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev CapX CapY CapW CapH
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat Comp
0 0 0 720 576 720 576 both N N Y SP420 -1 -1 N
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 2148 0 2 0 2 2 42 109 intl 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 159 20040 20056 0 1 0 0 0 0 25
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 N
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 N 0
CSC Type HueVal ContrVal LumaVal StatuVal TVMode
-- 709 50 50 50 50 N
DCI En BlackGain ContrGain LightGain
-- N 60 60 60
DIS En
-- N
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS--------------------------------------------------------
IntGap IntCnt CcErrCnt
0 0 0
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 0 0 0 2146 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
0 0 2146 0 0 0 0 0 0
-----VI CHN CALL VGS STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
/proc/umap #
二、当我不重启设备,再次运行程序时就好了
/nfsroot # clear
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
Jan 1 08:05:27 login[1161]: root login on 'pts/0'
[main]-2885: program exit normally!
/nfsroot #
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
调试信息如下:
/proc/umap # cat vi
[VIU] Version: [Hi3516A_MPP_V1.0.7.0 B050 Release], Build Time: [Nov 25 2016, 21:36:12]
VI-VPSS is offline.
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level
10 0 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT656 1Mux ff000000 0 I -1 -1 -1 -1 UYVY ByPass YUV N 0 0 720 576
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev CapX CapY CapW CapH
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat Comp
0 0 0 720 576 720 576 both N N Y SP420 -1 -1 N
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 821 0 2 0 2 1 41 25 intl 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 62 19970 20039 0 1 0 0 0 0 25
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 N
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 N 0
CSC Type HueVal ContrVal LumaVal StatuVal TVMode
-- 709 50 50 50 50 N
DCI En BlackGain ContrGain LightGain
-- N 60 60 60
DIS En
-- N
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS--------------------------------------------------------
IntGap IntCnt CcErrCnt
0 0 0
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 40005 25 820 0 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL VGS STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
/proc/umap #
请大神指点一下会是什么原因导致这种现象。:handshake :handshake
请各位路过的大神指点一下,小弟日前调试BT656输入,发现一个奇怪的现象:
一、设备断电重启,然后手动启动sample程序
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
发现VI通道把采集到的数据都丢了。
调试信息如下:
/proc/umap # cat vi
[VIU] Version: [Hi3516A_MPP_V1.0.7.0 B050 Release], Build Time: [Nov 25 2016, 21:36:12]
VI-VPSS is offline.
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level
10 0 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT656 1Mux ff000000 0 I -1 -1 -1 -1 UYVY ByPass YUV N 0 0 720 576
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev CapX CapY CapW CapH
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat Comp
0 0 0 720 576 720 576 both N N Y SP420 -1 -1 N
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 2148 0 2 0 2 2 42 109 intl 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 159 20040 20056 0 1 0 0 0 0 25
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 N
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 N 0
CSC Type HueVal ContrVal LumaVal StatuVal TVMode
-- 709 50 50 50 50 N
DCI En BlackGain ContrGain LightGain
-- N 60 60 60
DIS En
-- N
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS--------------------------------------------------------
IntGap IntCnt CcErrCnt
0 0 0
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 0 0 0 2146 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
0 0 2146 0 0 0 0 0 0
-----VI CHN CALL VGS STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
/proc/umap #
二、当我不重启设备,再次运行程序时就好了
/nfsroot # clear
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
Jan 1 08:05:27 login[1161]: root login on 'pts/0'
[main]-2885: program exit normally!
/nfsroot #
/nfsroot # ./sample_vio 8 0
u32Width:720, u32Square:1
---------------press the Enter key to exit!---------------
调试信息如下:
/proc/umap # cat vi
[VIU] Version: [Hi3516A_MPP_V1.0.7.0 B050 Release], Build Time: [Nov 25 2016, 21:36:12]
VI-VPSS is offline.
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level
10 0 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT656 1Mux ff000000 0 I -1 -1 -1 -1 UYVY ByPass YUV N 0 0 720 576
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev CapX CapY CapW CapH
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat Comp
0 0 0 720 576 720 576 both N N Y SP420 -1 -1 N
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 821 0 2 0 2 1 41 25 intl 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 62 19970 20039 0 1 0 0 0 0 25
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 N
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 N 0
CSC Type HueVal ContrVal LumaVal StatuVal TVMode
-- 709 50 50 50 50 N
DCI En BlackGain ContrGain LightGain
-- N 60 60 60
DIS En
-- N
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS--------------------------------------------------------
IntGap IntCnt CcErrCnt
0 0 0
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 40005 25 820 0 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL VGS STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
/proc/umap #
请大神指点一下会是什么原因导致这种现象。:handshake :handshake
我来回答
回答15个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-11-03 09:52:27
-
2018-08-06 18:53:48
-
2019-10-09 22:44:44
-
2020-12-18 15:05:31
-
2017-07-24 14:07:39
-
2023-07-13 15:03:25
-
2017-07-22 12:52:57
-
2019-08-30 23:49:16
-
2020-06-27 01:26:19
-
2023-08-31 09:17:30
-
2021-03-30 18:58:49
-
2019-06-20 16:33:19
-
2016-11-24 11:28:46
-
2020-12-05 16:05:45
-
2018-09-03 15:30:03
-
2020-03-09 16:52:12
-
2023-06-08 14:30:04
-
2020-04-10 09:55:25
-
2018-02-01 15:39:10
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认