1879
- 收藏
- 点赞
- 分享
- 举报
【结帖】3518ev200+nvp6124b 采集D1,逐行扫描超时,求大神指导
本帖最后由 qn1513131564 于 2019-5-31 13:19 编辑
./sample_venc 0
come in bt656
SAMPLE_VI_MODE_1_D1
u32BitCnt ===== 8
please press twice ENTER to exit this sample
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1112: select failed!
program termination abnormally!
驱动里面修改了
for(ch=0;ch
{
nvp6124_set_chnmode(ch, PAL, NVP6124_VI_SD/*NVP6124_VI_720P_2530*/); //Ĭ������Ϊ720Pģʽ.
}
for(chip=0;chip
{
if(chip_id[chip] == NVP6124_R0_ID)
{
nvp6124_set_portmode(chip, 0, NVP6124_OUTMODE_1MUX_FHD, 2); //����nvp6124 4��port�����ģʽ
nvp6124_set_portmode(chip, 1, NVP6124_OUTMODE_1MUX_FHD, 3);
nvp6124_set_portmode(chip, 2, NVP6124_OUTMODE_1MUX_FHD, 0);
nvp6124_set_portmode(chip, 3, NVP6124_OUTMODE_1MUX_FHD, 1);
}
else if(chip_id[chip] == NVP6114A_R0_ID)
{
nvp6114a_set_portmode(chip, 0, NVP6124_OUTMODE_1MUX_FHD, 0); //����nvp6114a 2��port�����ģʽ
nvp6114a_set_portmode(chip, 1, NVP6124_OUTMODE_1MUX_FHD, 1);
}
else if(chip_id[chip] == NVP6124B_R0_ID)
{
nvp6124b_set_portmode(chip, 0, /*NVP6124_OUTMODE_1MUX_HD*/NVP6124_OUTMODE_1MUX_SD, 0); //����nvp6124b 2��port�����ģʽ
nvp6124b_set_portmode(chip, 1, /*NVP6124_OUTMODE_1MUX_HD*/NVP6124_OUTMODE_1MUX_SD, 0);
}
}
设备设置参数如下
VI_DEV_ATTR_S DEV_ATTR_BT656D1_1MUX =
{
/* interface mode */
VI_MODE_BT656,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFF000000, 0x0},
/* progessive or interleaving */
//VI_SCAN_INTERLACED,
VI_SCAN_PROGRESSIVE,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_YVYU,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_FIELD, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 0, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 0, 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}
};
哪位大神给看看
cat /proc/umap/vi
[VIU] Version: [Hi3518EV200_MPP_V1.0.1.0 B010 Release], Build Time: [Aug 23 2015, 17:39:10]
VI-VPSS is online.
-----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 P -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 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------------------------------------------------------------
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
-- 1 32 32 32
-----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
./sample_venc 0
come in bt656
SAMPLE_VI_MODE_1_D1
u32BitCnt ===== 8
please press twice ENTER to exit this sample
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1117: get venc stream time out, exit thread
[SAMPLE_COMM_VENC_GetVencStreamProc]-1112: select failed!
program termination abnormally!
驱动里面修改了
for(ch=0;ch
nvp6124_set_chnmode(ch, PAL, NVP6124_VI_SD/*NVP6124_VI_720P_2530*/); //Ĭ������Ϊ720Pģʽ.
}
for(chip=0;chip
if(chip_id[chip] == NVP6124_R0_ID)
{
nvp6124_set_portmode(chip, 0, NVP6124_OUTMODE_1MUX_FHD, 2); //����nvp6124 4��port�����ģʽ
nvp6124_set_portmode(chip, 1, NVP6124_OUTMODE_1MUX_FHD, 3);
nvp6124_set_portmode(chip, 2, NVP6124_OUTMODE_1MUX_FHD, 0);
nvp6124_set_portmode(chip, 3, NVP6124_OUTMODE_1MUX_FHD, 1);
}
else if(chip_id[chip] == NVP6114A_R0_ID)
{
nvp6114a_set_portmode(chip, 0, NVP6124_OUTMODE_1MUX_FHD, 0); //����nvp6114a 2��port�����ģʽ
nvp6114a_set_portmode(chip, 1, NVP6124_OUTMODE_1MUX_FHD, 1);
}
else if(chip_id[chip] == NVP6124B_R0_ID)
{
nvp6124b_set_portmode(chip, 0, /*NVP6124_OUTMODE_1MUX_HD*/NVP6124_OUTMODE_1MUX_SD, 0); //����nvp6124b 2��port�����ģʽ
nvp6124b_set_portmode(chip, 1, /*NVP6124_OUTMODE_1MUX_HD*/NVP6124_OUTMODE_1MUX_SD, 0);
}
}
设备设置参数如下
VI_DEV_ATTR_S DEV_ATTR_BT656D1_1MUX =
{
/* interface mode */
VI_MODE_BT656,
/* multiplex mode */
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0xFF000000, 0x0},
/* progessive or interleaving */
//VI_SCAN_INTERLACED,
VI_SCAN_PROGRESSIVE,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, only support yuv*/
VI_INPUT_DATA_YVYU,
/* synchronization information */
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_FIELD, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_VALID_SINGAL,VI_VSYNC_VALID_NEG_HIGH,
/*hsync_hfb hsync_act hsync_hhb*/
{0, 0, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 0, 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}
};
哪位大神给看看
cat /proc/umap/vi
[VIU] Version: [Hi3518EV200_MPP_V1.0.1.0 B010 Release], Build Time: [Aug 23 2015, 17:39:10]
VI-VPSS is online.
-----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 P -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 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------------------------------------------------------------
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
-- 1 32 32 32
-----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
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-05-29 12:51:27
-
2017-04-18 15:31:18
-
2016-07-20 15:50:08
-
2019-12-11 09:25:54
-
392016-10-13 07:56:41
-
2019-07-30 10:37:17
-
2017-07-11 17:38:07
-
2018-12-10 11:45:42
-
2019-05-30 17:18:27
-
2017-04-04 16:52:37
-
2020-10-30 14:31:30
-
2020-04-26 10:33:59
-
2019-05-16 14:24:52
-
2017-09-30 10:01:40
-
2017-08-24 09:25:51
-
2016-03-31 11:39:54
-
2015-09-22 15:49:28
-
2018-01-15 09:42:43
-
2016-09-26 17:43:24
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
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板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认