8059
- 收藏
- 点赞
- 分享
- 举报
sample_venc 720p改1080p出错
本帖最后由 kibin 于 2016-7-20 16:23 编辑
因为SENSOR为1080P的,MPP2下的sample_venc默认是720p,想改成1080p。MPP2版本1.0.8.1,程序可见附件。
将SAMPLE_VENC_720P_CLASSIC中
PIC_SIZE_E enSize[1] = {PIC_HD1080};
enSize[0] = PIC_HD1080;
做了这两个改动,运行时报time out 错误。请问哪里还需要改动吗?谢谢。
[SAMPLE_COMM_VENC_GetVencStreamProc]-920: get venc stream time out, exit thread
附上proc信息
# cat /proc/media-mem
+---ZONE: PHYS(0x82000000, 0x87FFFFFF), GFP=0, nBYTES=98304KB, NAME="anonymous"
|-MMB: phys(0x82000000, 0x8201FFFF), kvirt=0x (null), flags=0x00000000, length=128KB, name="FwReg"
|-MMB: phys(0x82020000, 0x820DFFFF), kvirt=0xc2b00000, flags=0x00000003, length=768KB, name="TDE_MEMPOOL_MMB"
|-MMB: phys(0x820E0000, 0x820E0FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="TDE_COEF_MMB0"
|-MMB: phys(0x820E1000, 0x82275FFF), kvirt=0xc2e00000, flags=0x00000001, length=1620KB, name="hifb_layer0"
|-MMB: phys(0x82276000, 0x8405CFFF), kvirt=0x (null), flags=0x00000000, length=30620KB, name="vb"
|-MMB: phys(0x8405D000, 0x84061FFF), kvirt=0x (null), flags=0x00000000, length=20KB, name="vb"
|-MMB: phys(0x84062000, 0x84064FFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="Chnl"
|-MMB: phys(0x84065000, 0x84067FFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="sclcoeffset"
|-MMB: phys(0x84068000, 0x84069FFF), kvirt=0x (null), flags=0x00000000, length=8KB, name="Chnl"
|-MMB: phys(0x8406A000, 0x8406CFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="Chnl"
|-MMB: phys(0x8406D000, 0x84074FFF), kvirt=0x (null), flags=0x00000000, length=32KB, name="IVE_QUEUE"
|-MMB: phys(0x84075000, 0x8407CFFF), kvirt=0x (null), flags=0x00000000, length=32KB, name="IVE_QUEUE"
|-MMB: phys(0x8407D000, 0x8408CFFF), kvirt=0x (null), flags=0x00000000, length=64KB, name="VirtReg0"
|-MMB: phys(0x8408D000, 0x8408FFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="ISPStat"
|-MMB: phys(0x84090000, 0x8409FFFF), kvirt=0x (null), flags=0x00000000, length=64KB, name="ISPProc"
|-MMB: phys(0x840A0000, 0x840A0FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="VirtReg1"
|-MMB: phys(0x840A1000, 0x840A1FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="VirtReg2"
|-MMB: phys(0x840A2000, 0x8470FFFF), kvirt=0x (null), flags=0x00000000, length=6584KB, name="Ref&Mad buf"
|-MMB: phys(0x84710000, 0x84710FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="HistRd buf"
|-MMB: phys(0x84711000, 0x84733FFF), kvirt=0x (null), flags=0x00000000, length=140KB, name="model buf"
|-MMB: phys(0x84734000, 0x84B2BFFF), kvirt=0x (null), flags=0x00000000, length=4064KB, name="h264e0_Str"
|-MMB: phys(0x84B2C000, 0x84B2EFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="h264e0_Ctx"
|-MMB: phys(0x84B2F000, 0x85128FFF), kvirt=0x (null), flags=0x00000000, length=6120KB, name="vb"
---MMZ_USE_INFO:
total size=98304KB(96MB),used=50340KB(49MB + 164KB),remain=47964KB(46MB + 860KB),zone_number=1,block_number=23
# cat /proc/umap/vi
[VIU] Version: [Hi3518_MPP_V1.0.8.1 ], Build Time: [Mar 18 2014, 11:52:09]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
0 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 DC 1Mux ffc00000 0 P -1 -1 -1 -1 YUYV ISP RGB N
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat
0 0 0 1280 720 1280 720 both N N Y sp420 25 25
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 2 0 2 0 2 2 107 0 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 138 33875 33875 0 0 1 0 0 0 2 29
-----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
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn DstW DstH PixFom SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate
0 N 0 0 0 0 NONE
-----VI CHN CALL DSU STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL DSU STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL DSU STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
# cat /proc/umap/vb
[VB] Version: [Hi3518_MPP_V1.0.8.1 ], Build Time[Mar 18 2014, 11:52:07]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 3135488 2832 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 10 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
0 0x82276000 0xc3000000 1 3135488 10 8(8) 8
BLK VIU VOU DSU VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
1 0x8405d000 0xc2820000 1 2832 6 6(6) 6
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
2 0x84b2f000 0xc5800000 0 3133440 2 0(0) 0
BLK VIU VOU DSU VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0
因为SENSOR为1080P的,MPP2下的sample_venc默认是720p,想改成1080p。MPP2版本1.0.8.1,程序可见附件。
将SAMPLE_VENC_720P_CLASSIC中
PIC_SIZE_E enSize[1] = {PIC_HD1080};
enSize[0] = PIC_HD1080;
做了这两个改动,运行时报time out 错误。请问哪里还需要改动吗?谢谢。
[SAMPLE_COMM_VENC_GetVencStreamProc]-920: get venc stream time out, exit thread
附上proc信息
# cat /proc/media-mem
+---ZONE: PHYS(0x82000000, 0x87FFFFFF), GFP=0, nBYTES=98304KB, NAME="anonymous"
|-MMB: phys(0x82000000, 0x8201FFFF), kvirt=0x (null), flags=0x00000000, length=128KB, name="FwReg"
|-MMB: phys(0x82020000, 0x820DFFFF), kvirt=0xc2b00000, flags=0x00000003, length=768KB, name="TDE_MEMPOOL_MMB"
|-MMB: phys(0x820E0000, 0x820E0FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="TDE_COEF_MMB0"
|-MMB: phys(0x820E1000, 0x82275FFF), kvirt=0xc2e00000, flags=0x00000001, length=1620KB, name="hifb_layer0"
|-MMB: phys(0x82276000, 0x8405CFFF), kvirt=0x (null), flags=0x00000000, length=30620KB, name="vb"
|-MMB: phys(0x8405D000, 0x84061FFF), kvirt=0x (null), flags=0x00000000, length=20KB, name="vb"
|-MMB: phys(0x84062000, 0x84064FFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="Chnl"
|-MMB: phys(0x84065000, 0x84067FFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="sclcoeffset"
|-MMB: phys(0x84068000, 0x84069FFF), kvirt=0x (null), flags=0x00000000, length=8KB, name="Chnl"
|-MMB: phys(0x8406A000, 0x8406CFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="Chnl"
|-MMB: phys(0x8406D000, 0x84074FFF), kvirt=0x (null), flags=0x00000000, length=32KB, name="IVE_QUEUE"
|-MMB: phys(0x84075000, 0x8407CFFF), kvirt=0x (null), flags=0x00000000, length=32KB, name="IVE_QUEUE"
|-MMB: phys(0x8407D000, 0x8408CFFF), kvirt=0x (null), flags=0x00000000, length=64KB, name="VirtReg0"
|-MMB: phys(0x8408D000, 0x8408FFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="ISPStat"
|-MMB: phys(0x84090000, 0x8409FFFF), kvirt=0x (null), flags=0x00000000, length=64KB, name="ISPProc"
|-MMB: phys(0x840A0000, 0x840A0FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="VirtReg1"
|-MMB: phys(0x840A1000, 0x840A1FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="VirtReg2"
|-MMB: phys(0x840A2000, 0x8470FFFF), kvirt=0x (null), flags=0x00000000, length=6584KB, name="Ref&Mad buf"
|-MMB: phys(0x84710000, 0x84710FFF), kvirt=0x (null), flags=0x00000000, length=4KB, name="HistRd buf"
|-MMB: phys(0x84711000, 0x84733FFF), kvirt=0x (null), flags=0x00000000, length=140KB, name="model buf"
|-MMB: phys(0x84734000, 0x84B2BFFF), kvirt=0x (null), flags=0x00000000, length=4064KB, name="h264e0_Str"
|-MMB: phys(0x84B2C000, 0x84B2EFFF), kvirt=0x (null), flags=0x00000000, length=12KB, name="h264e0_Ctx"
|-MMB: phys(0x84B2F000, 0x85128FFF), kvirt=0x (null), flags=0x00000000, length=6120KB, name="vb"
---MMZ_USE_INFO:
total size=98304KB(96MB),used=50340KB(49MB + 164KB),remain=47964KB(46MB + 860KB),zone_number=1,block_number=23
# cat /proc/umap/vi
[VIU] Version: [Hi3518_MPP_V1.0.8.1 ], Build Time: [Mar 18 2014, 11:52:09]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
0 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 DC 1Mux ffc00000 0 P -1 -1 -1 -1 YUYV ISP RGB N
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel Mirror Flip IntEn PixFom SrcRat DstRat
0 0 0 1280 720 1280 720 both N N Y sp420 25 25
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn Dev IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 2 0 2 0 2 2 107 0 frm 1280
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 138 33875 33875 0 0 1 0 0 0 2 29
-----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
-----VI EXTCHN ATTR------------------------------------------------------------
ExtChn BindChn DstW DstH PixFom SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Rotate
0 N 0 0 0 0 NONE
-----VI CHN CALL DSU STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL DSU STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
-----VI CHN CALL DSU STATUS 3-------------------------------------------------
ViChn RotateNOk RotCancel RotEndOk RotCbOk LDCNOk LDCCancel LDCEndOk LDCCbOk
# cat /proc/umap/vb
[VB] Version: [Hi3518_MPP_V1.0.8.1 ], Build Time[Mar 18 2014, 11:52:07]
-----VB PUB CONFIG-------------------------------------------------------------
Max Count of Pools: 256
-----COMMON POOL CONFIG--------------------------------------------------------
PoolId 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Size 3135488 2832 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Count 10 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
0 0x82276000 0xc3000000 1 3135488 10 8(8) 8
BLK VIU VOU DSU VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sum 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
1 0x8405d000 0xc2820000 1 2832 6 6(6) 6
----- anony--------------------------------------------------------------------
PoolId PhysAddr VirtAddr IsComm BlkSz BlkCnt Free MinFree
2 0x84b2f000 0xc5800000 0 3133440 2 0(0) 0
BLK VIU VOU DSU VENC VDEC VDA H264E JPEGE MPEGE H264D JPEGD MPEGD VPSS GRP MPI PCIV AI AENC RC
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Sum 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0
文件: sample_venc.rar
下载
我来回答
回答7个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-03-15 14:07:26
-
2016-10-19 21:43:09
-
2013-03-30 10:06:57
-
2020-03-30 20:11:51
-
2023-05-25 09:57:39
-
2016-12-21 14:55:22
-
32014-03-01 20:16:56
-
2015-07-16 16:55:16
-
2020-04-30 17:36:34
-
2012-11-27 16:22:30
-
2017-06-23 16:34:54
-
2018-09-14 09:10:26
-
2020-11-12 18:20:12
-
2020-06-18 19:13:20
-
2016-02-19 06:06:56
-
2018-12-05 09:32:31
-
2017-12-28 14:45:16
-
2014-10-28 17:05:54
-
2015-03-31 17:25:57
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认