14395
- 收藏
- 点赞
- 分享
- 举报
hi3516a bt1120输入
使用HI3516A SDK中的sample_venc范例,通过BT1120采集FPGA送过来的1080P视频信号,VI模块采集不到信号。请各位大神们帮忙看下,谢谢
stream模块抓取不到任何数据,打印错误[SAMPLE_COMM_VENC_GetVencStreamProc]-1102: get venc stream time out, exit thread
VI/VPSS离线模式时使用vi_dump也从内存中读取不到数据,
HI_MPI_VI_SetDevAttr设置设备属性如下:
/* BT1120 1080P */
VI_DEV_ATTR_S DEV_ATTR_BT1120_1080P_BASE =
/* classical timing 3:7441 BT1120 1080P@60fps*/
{
/* interface mode */
VI_MODE_BT1120_STANDARD,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFF000000, 0xFF0000},
/* progessive or interleaving */
VI_SCAN_PROGRESSIVE,
//VI_SCAN_INTERLACED,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_UVUV,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_NORM_PULSE,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1920, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 1080, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/* ISP bypass */
VI_PATH_BYPASS,
/* input data type */
VI_DATA_TYPE_YUV,
/* bReverse */
HI_FALSE,
/* DEV CROP */
{0, 0, 1920, 1080}
};
查看/proc/umap/vi状态如下:
/home # cat /proc/umap/vi
[VIU] Version: [Hi3516A_MPP_V1.0.0.1 B010 Debug], Build Time: [Sep 27 2014, 18:44:37]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
10 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT1120S 1Mux ff000000 ff0000 P -1 -1 -1 -1 UVUV ByPass YUV N 0 0 1920 1080
-----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 1920 1080 1920 1080 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 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 0 0 0 0 0 0 0 0 0 0 0
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 0
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 0 0
CSC Type HueVal ContrVal LumaVal StatuVal
-- 709 50 50 50 50
DCI En BlackGain ContrGain LightGain
-- 0 0 0 0
DIS En
-- 0
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 0 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 DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 0 0 0 0 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk
-----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
stream模块抓取不到任何数据,打印错误[SAMPLE_COMM_VENC_GetVencStreamProc]-1102: get venc stream time out, exit thread
VI/VPSS离线模式时使用vi_dump也从内存中读取不到数据,
HI_MPI_VI_SetDevAttr设置设备属性如下:
/* BT1120 1080P */
VI_DEV_ATTR_S DEV_ATTR_BT1120_1080P_BASE =
/* classical timing 3:7441 BT1120 1080P@60fps*/
{
/* interface mode */
VI_MODE_BT1120_STANDARD,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFF000000, 0xFF0000},
/* progessive or interleaving */
VI_SCAN_PROGRESSIVE,
//VI_SCAN_INTERLACED,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_UVUV,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_NORM_PULSE,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 1920, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 1080, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/* ISP bypass */
VI_PATH_BYPASS,
/* input data type */
VI_DATA_TYPE_YUV,
/* bReverse */
HI_FALSE,
/* DEV CROP */
{0, 0, 1920, 1080}
};
查看/proc/umap/vi状态如下:
/home # cat /proc/umap/vi
[VIU] Version: [Hi3516A_MPP_V1.0.0.1 B010 Debug], Build Time: [Sep 27 2014, 18:44:37]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
10 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 BT1120S 1Mux ff000000 ff0000 P -1 -1 -1 -1 UVUV ByPass YUV N 0 0 1920 1080
-----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 1920 1080 1920 1080 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 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 0 0 0 0 0 0 0 0 0 0 0
-----VI OTHER ATTR------------------------------------------------------------
LDC Mode Ratio COffX COffY Enable
-- All 0 0 0 0
Flash Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
-- Once 0 0 0 0 0 0
CSC Type HueVal ContrVal LumaVal StatuVal
-- 709 50 50 50 50
DCI En BlackGain ContrGain LightGain
-- 0 0 0 0
DIS En
-- 0
-----VI WDR ATTR---------------------------------------------------------------
Mode BufNum DstW DstH PoolId VcNum DesNum State bCompress
NONE 0 0 0 0 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 DstW DstH PixFom SrcRat DstRat Depth Comp
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
0 N 0 0 0 0 NONE 0
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk
-----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
我来回答
回答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)
相关问答
-
2019-01-27 22:50:58
-
2016-03-28 22:06:13
-
2017-06-06 11:04:29
-
2015-07-31 14:20:56
-
2015-09-28 21:08:14
-
2015-04-21 13:27:06
-
2019-08-23 08:47:30
-
122017-07-12 11:05:27
-
2017-09-17 20:25:12
-
232020-09-17 09:54:07
-
2014-11-20 11:01:26
-
2015-07-29 16:43:18
-
2017-07-24 14:07:39
-
2015-02-06 13:52:08
-
2017-07-19 18:58:21
-
2015-08-17 18:06:31
-
2020-05-20 11:45:53
-
2015-01-22 14:01:28
-
2016-06-23 23:27:37
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认