5571
- 收藏
- 点赞
- 分享
- 举报
hi3519开发板HDMI输入,视频编码颜色失真问题
各位大神们好:
我现在在使用hi3519开发板,做H.265视频编码这一块,视频源通过HDMI输入给3519开发板,现在是当输入分辨率为720时,视频完全正常,没有任何问题。但是当输入分辨率为1080时,无论是隔行还是逐行,通过vlc解出来的视频颜色都不太正常,红色好像失真了,图片我已经上传上去了,是从输入vi处抓的yuv图片,vi的打印信息如下:
# cat /proc/umap/vi
[VIU] Version: [Hi3519V101_MPP_V1.0.4.0 B040 Release], Build Time: [Nov 10 2017, 14:08:58]
-----MODULE PARAM---------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level yuv_skip
10 0 0 0
-----VI-VPSS ONLINE STATE-------------------------------------------------------
OnlineState
offline
-----VI MODULE STATE------------------------------------------------------------
ModuleState
Started
-----VI PORT SIZE---------------------------------------------------------------
Dev WIDTH HEIGHT
1 1920 1079
-----VI DEV ATTR1---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
1 BT1120S 1Mux ff000000 ff0000 P -1 -1 -1
-----VI DEV ATTR2---------------------------------------------------------------
AD3 Seq DPath DType DRev CapX CapY CapW CapH BasW BasH Comp HReph VReph
-1 UVUV ByPass YUV N 0 0 1920 1080 1920 1080 N NONE NONE
-----VI HIGH DEV ATTR 1---------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
-----VI HIGH DEV ATTR 2---------------------------------------------------------
AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI HIGH DEV ATTR 3---------------------------------------------------------
CapX CapY CapW CapH BasW BasH Comp HReph VReph
-----VI PHYCHN ATTR 1-----------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip
1 0 0 1920 1080 1920 1080 both N N
-----VI PHYCHN ATTR 2-----------------------------------------------------------
IntEn PixFom SrcRat DstRat Comp
Y SP420 60 30 N
-----VI PHYCHN STATUS 1---------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT
1 1 7188 0 3595 0 3595 1 15
-----VI PHYCHN STATUS 2---------------------------------------------------------
SendT Field Stride MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis
0 frm 1920 324 16687 16828 0 1 0
-----VI PHYCHN STATUS 3---------------------------------------------------------
CasAutD TmgErr ccErrN IntRat
0 0 0 60
-----VI LDC ATTR----------------------------------------------------------------
PhyChn ViewType Ratio minRatio COffX COffY Enable
-----VI Cylind Correction ATTR------------------------------------------------------------
PhyChn Enable Ratio CYOffX CYOffY
-----VI SPREAD ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef
-----VI ROTATE_EX ATTR------------------------------------------------------------
PhyChn Enable ViewType Angle CYOffX CYOffY OutW OutH
-----VI Stitching Correction ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef0 Coef1 Coef2 Coef3 Coef4 Coef5 Coef6 Coef7 Coef8
-----VI FLASH ATTR--------------------------------------------------------------
Dev Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
1 Once 0 0 0 0 N 0
-----VI CSC ATTR----------------------------------------------------------------
Dev Type HueVal ContrVal LumaVal StatuVal TVMode
1 709 60 60 50 50 N
-----VI DCI ATTR----------------------------------------------------------------
Dev Enable BlackGain ContrGain LightGain ManBlendEn BlendRatio BlackStretchEn
1 Y 18 18 18 Y 50 N
-----VI DIS ATTR----------------------------------------------------------------
Dev Enable
1 N
-----VI VC NUMBER---------------------------------------------------------------
Dev Linear DES0 DES1 DES2
0 NA NA NA NA
1 NA NA NA NA
-----VI WDR ATTR----------------------------------------------------------------
Dev Mode BufNum DstW DstH PoolId VcNum DesNum State Comp
1 NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS------------------------------------------------------
Dev IntGap IntCnt CcErrCnt
1 0 0 0
-----VI SNAP ATTR-------------------------------------------------------------------------
Dev IspDev Type RefNum Depth SrcRat DstRat bZSL RollbackMs Interval FrameCnt
-----VI SNAP STATUS-----------------------------------------------------------------------
Dev State TotalCnt CapturedCnt ReadCnt OverCnt 0RefCurCnt 2RefCurCnt 2RefRefCnt
-----VI EXTCHN ATTR 1-----------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom
-----VI EXTCHN ATTR 2-----------------------------------------------------------
SrcRat DstRat Depth Comp
-----VI FISHEYE ATTR-----------------------------------------------------
ViChn Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
-----VI FISHEYE Region Attr----------------------------------------------------------------
ExtChn RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
-----VI DIS INFO1--------------------------------------------------------------------------------
ViChn bEnable Acc Mode Fixlevel Roef BufNum MovSub NoMov Dof CropRatio DISFrmRate
-----VI DIS INFO2--------------------------------------------------------------------------------
ViChn TimeLag AngleType ViewAngle bScale OutW OutH DelayNum RetCenter GyroWeight bStillCrop
-----VI DISDebug INFO---------------------------------------------------------------------
ViChn PyFrmlost AfFrmlost Pyflag Srcflag Mvflag PyTime AfTime MvTime MaxPyTime MaxAfTime MaxMvTime
-----VI CHN STATUS--------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
1 N 33364 30 3593 0 NONE 0
-----VI CHN CALL VGS STATUS 1---------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk
-----VI CHN CALL VGS STATUS 2---------------------------------------------------
ViChn CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 3---------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk
-----VI CHN CALL VGS STATUS 4---------------------------------------------------
ViChn ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL VGS STATUS 5---------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk
-----VI CHN CALL VGS STATUS 6---------------------------------------------------
ViChn LDCNOk LDCCancel LDCEndOk LDCCbOk
-----VI CHN CALL VGS STATUS 7---------------------------------------------------
ViChn OnlineNOk OnlCancel OnlEndOk OnlCbOk
-----VI CHN CALL FISHEYE STATUS 8-----------------------------------------------
ViChn PMFNOk PMFCancel PMFEndOk PMFCbOk
~ #
希望有经验的各位大神们帮忙给看看,小弟在此多谢了。
我现在在使用hi3519开发板,做H.265视频编码这一块,视频源通过HDMI输入给3519开发板,现在是当输入分辨率为720时,视频完全正常,没有任何问题。但是当输入分辨率为1080时,无论是隔行还是逐行,通过vlc解出来的视频颜色都不太正常,红色好像失真了,图片我已经上传上去了,是从输入vi处抓的yuv图片,vi的打印信息如下:
# cat /proc/umap/vi
[VIU] Version: [Hi3519V101_MPP_V1.0.4.0 B040 Release], Build Time: [Nov 10 2017, 14:08:58]
-----MODULE PARAM---------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level yuv_skip
10 0 0 0
-----VI-VPSS ONLINE STATE-------------------------------------------------------
OnlineState
offline
-----VI MODULE STATE------------------------------------------------------------
ModuleState
Started
-----VI PORT SIZE---------------------------------------------------------------
Dev WIDTH HEIGHT
1 1920 1079
-----VI DEV ATTR1---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
1 BT1120S 1Mux ff000000 ff0000 P -1 -1 -1
-----VI DEV ATTR2---------------------------------------------------------------
AD3 Seq DPath DType DRev CapX CapY CapW CapH BasW BasH Comp HReph VReph
-1 UVUV ByPass YUV N 0 0 1920 1080 1920 1080 N NONE NONE
-----VI HIGH DEV ATTR 1---------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2
-----VI HIGH DEV ATTR 2---------------------------------------------------------
AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI HIGH DEV ATTR 3---------------------------------------------------------
CapX CapY CapW CapH BasW BasH Comp HReph VReph
-----VI PHYCHN ATTR 1-----------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip
1 0 0 1920 1080 1920 1080 both N N
-----VI PHYCHN ATTR 2-----------------------------------------------------------
IntEn PixFom SrcRat DstRat Comp
Y SP420 60 30 N
-----VI PHYCHN STATUS 1---------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT
1 1 7188 0 3595 0 3595 1 15
-----VI PHYCHN STATUS 2---------------------------------------------------------
SendT Field Stride MaxIntT IntGapT MaxGapT LIntCnt ThrCnt AutoDis
0 frm 1920 324 16687 16828 0 1 0
-----VI PHYCHN STATUS 3---------------------------------------------------------
CasAutD TmgErr ccErrN IntRat
0 0 0 60
-----VI LDC ATTR----------------------------------------------------------------
PhyChn ViewType Ratio minRatio COffX COffY Enable
-----VI Cylind Correction ATTR------------------------------------------------------------
PhyChn Enable Ratio CYOffX CYOffY
-----VI SPREAD ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef
-----VI ROTATE_EX ATTR------------------------------------------------------------
PhyChn Enable ViewType Angle CYOffX CYOffY OutW OutH
-----VI Stitching Correction ATTR------------------------------------------------------------
PhyChn Enable OutW OutH Coef0 Coef1 Coef2 Coef3 Coef4 Coef5 Coef6 Coef7 Coef8
-----VI FLASH ATTR--------------------------------------------------------------
Dev Mode StartTime DuraTime InterVal CapIdx Enable FlashedNum
1 Once 0 0 0 0 N 0
-----VI CSC ATTR----------------------------------------------------------------
Dev Type HueVal ContrVal LumaVal StatuVal TVMode
1 709 60 60 50 50 N
-----VI DCI ATTR----------------------------------------------------------------
Dev Enable BlackGain ContrGain LightGain ManBlendEn BlendRatio BlackStretchEn
1 Y 18 18 18 Y 50 N
-----VI DIS ATTR----------------------------------------------------------------
Dev Enable
1 N
-----VI VC NUMBER---------------------------------------------------------------
Dev Linear DES0 DES1 DES2
0 NA NA NA NA
1 NA NA NA NA
-----VI WDR ATTR----------------------------------------------------------------
Dev Mode BufNum DstW DstH PoolId VcNum DesNum State Comp
1 NONE 0 0 0 -1 0 0 NONE N
-----VI WDR DES STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR SRC STATUS----------------------------------------------------------
Dev Idx IntGap IntCnt CcErrCnt
-----VI WDR COMBINE STATUS------------------------------------------------------
Dev IntGap IntCnt CcErrCnt
1 0 0 0
-----VI SNAP ATTR-------------------------------------------------------------------------
Dev IspDev Type RefNum Depth SrcRat DstRat bZSL RollbackMs Interval FrameCnt
-----VI SNAP STATUS-----------------------------------------------------------------------
Dev State TotalCnt CapturedCnt ReadCnt OverCnt 0RefCurCnt 2RefCurCnt 2RefRefCnt
-----VI EXTCHN ATTR 1-----------------------------------------------------------
ExtChn BindChn CropEn CropX CropY CropW CropH DstW DstH PixFom
-----VI EXTCHN ATTR 2-----------------------------------------------------------
SrcRat DstRat Depth Comp
-----VI FISHEYE ATTR-----------------------------------------------------
ViChn Enable MntMode RgnNum BgEnable BgColor LMF HOffset VOffset TCoef FStrength
-----VI FISHEYE Region Attr----------------------------------------------------------------
ExtChn RgnIndex ViewMode InRadius OutRadius Pan Tilt HorZoom VerZoom OutX OutY OutW OutH
-----VI DIS INFO1--------------------------------------------------------------------------------
ViChn bEnable Acc Mode Fixlevel Roef BufNum MovSub NoMov Dof CropRatio DISFrmRate
-----VI DIS INFO2--------------------------------------------------------------------------------
ViChn TimeLag AngleType ViewAngle bScale OutW OutH DelayNum RetCenter GyroWeight bStillCrop
-----VI DISDebug INFO---------------------------------------------------------------------
ViChn PyFrmlost AfFrmlost Pyflag Srcflag Mvflag PyTime AfTime MvTime MaxPyTime MaxAfTime MaxMvTime
-----VI CHN STATUS--------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate Depth
1 N 33364 30 3593 0 NONE 0
-----VI CHN CALL VGS STATUS 1---------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk
-----VI CHN CALL VGS STATUS 2---------------------------------------------------
ViChn CovBgnNOk CovCancel CovEndOk CovCbOk
-----VI CHN CALL VGS STATUS 3---------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk
-----VI CHN CALL VGS STATUS 4---------------------------------------------------
ViChn ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL VGS STATUS 5---------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk
-----VI CHN CALL VGS STATUS 6---------------------------------------------------
ViChn LDCNOk LDCCancel LDCEndOk LDCCbOk
-----VI CHN CALL VGS STATUS 7---------------------------------------------------
ViChn OnlineNOk OnlCancel OnlEndOk OnlCbOk
-----VI CHN CALL FISHEYE STATUS 8-----------------------------------------------
ViChn PMFNOk PMFCancel PMFEndOk PMFCbOk
~ #
希望有经验的各位大神们帮忙给看看,小弟在此多谢了。
我来回答
回答23个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2015-07-01 11:56:20
-
2016-11-15 23:22:11
-
2016-12-29 11:42:20
-
2017-04-27 10:50:25
-
2016-05-06 10:57:34
-
2017-02-04 15:38:48
-
2017-03-03 17:57:06
-
2017-12-08 14:38:10
-
2017-09-13 20:58:54
-
2017-06-23 15:47:17
-
2015-04-13 13:50:26
-
2018-05-17 14:35:46
-
2016-06-02 09:46:03
-
2016-08-23 22:07:22
-
2018-11-08 18:48:36
-
2017-06-16 12:48:23
-
2017-06-16 12:38:56
-
2017-11-08 22:26:24
-
2020-11-26 15:46:02
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认