6397
- 收藏
- 点赞
- 分享
- 举报
hi3518Ev200 使用vpss拓展通道帧率不对
我使用sdk是Hi3518E V200R001C01SPC021, sensor是720P的 9732 , 使用vpss拓展通道放大成1080P之后, vpss通道的帧率不正确,
1.使用vpss拓展通道的帧率情况:
720P: (没有放大的时候)
vi ----> vpss ----> venc
FrameRate: 25 17 14
1080P:(放大的时候)
vi ----> vpss ----> venc
FrameRate: 25 14 9
2. 不使用vpss拓展通道的帧率情况:
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 25
0 2 1 640 480 SP420 0 25
0 4 1 1280 720 SP420 0 0
问题一: 为什么在使用了vpss 拓展通道之后, vpss通道的输出帧率会降下来, 并且在venc编码通道还会继续降帧, 而不使用vpss拓展通道的话, 在vpss通道和vence通道都不会有降帧的情况出现??
问题二: 使用了vpss拓展通道,并放大到1080P之后, vpss通道的输出帧率会又降一点, .
###########################################################
以下是720P和1080P的proc 信息对比:
1. 720P:
# cat /proc/umap/vi
[VIU] Version: [Hi3518EV200_MPP_V1.0.2.1 B000 Release], Build Time: [Mar 7 2016, 17:04:57]
VI-VPSS is online.
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 DC 1Mux ffc0000 0 P -1 -1 -1 -1 YUYV ISP RGB N 0 0 1280 720
----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 104 39983 40136 0 0 0 0 0 0 0 26
# cat /proc/umap/vpss
-------------------------------VPSS CHN ATTR----------------------------------------------------------------
GrpID PhyChnID Enable SpEn FrmWkEn MirrorEn FlipEn SrcFRate DstFRate
0 1 1 0 0 0 0 -1 -1
0 2 1 0 0 0 0 -1 -1
-------------------------------VPSS PHY CHN MODE-----------------------------------------------------------
GrpID PhyChnID WorkMode Width Height Double Pixfmt CompressMode
0 1 USER 1280 720 0 SP420 0
0 2 USER 640 480 0 SP420 0
-------------------------------VPSS EXT-CHN ATTR------------------------------------------------------------
GrpID ExtChnID Enable SrcChn Width Height Srcfrc Dstfrc Pixfmt
0 4 1 1 1280 720 -1 -1 SP420
-------------------------------VPSS EXT-CHN CROP ATTR-------------------------------------------------------
GrpID ExtChnID CropEn CoorType CoorX CoorY Width Height
0 4 1 ABS 0 0 1280 720
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 17
0 2 1 640 480 SP420 0 25
0 4 1 1280 720 SP420 0 17
# cat /proc/umap/venc
-----VENC CHN ATTR 1-------------------------------------------------------------
NO. Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1280 720 96 1 1 22913 0 0 1 0
1 640 480 96 1 1 34402 0 0 1 0
-----VENC STREAM STATE------------------------------------------------------------
NO. FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 16 0 0 27611 27611 22913 112963 14
1 24 0 0 39520 39520 34402 39935 22
2. 1080P:
# cat /proc/umap/vi
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 DC 1Mux ffc0000 0 P -1 -1 -1 -1 YUYV ISP RGB N 0 0 1280 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 112 39977 40164 0 0 0 0 0 0 0 26
# cat /proc/umap/vpss
-------------------------------VPSS CHN ATTR----------------------------------------------------------------
GrpID PhyChnID Enable SpEn FrmWkEn MirrorEn FlipEn SrcFRate DstFRate
0 1 1 0 0 0 0 -1 -1
0 2 1 0 0 0 0 -1 -1
-------------------------------VPSS PHY CHN MODE-----------------------------------------------------------
GrpID PhyChnID WorkMode Width Height Double Pixfmt CompressMode
0 1 USER 1280 720 0 SP420 0
0 2 USER 640 480 0 SP420 0
-------------------------------VPSS EXT-CHN ATTR------------------------------------------------------------
GrpID ExtChnID Enable SrcChn Width Height Srcfrc Dstfrc Pixfmt
0 4 1 1 1920 1080 -1 -1 SP420
-------------------------------VPSS EXT-CHN CROP ATTR-------------------------------------------------------
GrpID ExtChnID CropEn CoorType CoorX CoorY Width Height
0 4 1 ABS 0 0 1920 1080
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 14
0 2 1 640 480 SP420 0 25
0 4 1 1920 1080 SP420 0 14
# cat /proc/umap/venc
-----VENC CHN ATTR 1-------------------------------------------------------------
NO. Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1920 1080 96 1 1 8225 0 0 1 0
1 640 480 96 1 1 21905 0 0 1 0
-----VENC STREAM STATE------------------------------------------------------------
NO. FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 12 0 0 11222 11222 8225 160436 9
1 24 0 0 24950 24950 21905 25780 22
1.使用vpss拓展通道的帧率情况:
720P: (没有放大的时候)
vi ----> vpss ----> venc
FrameRate: 25 17 14
1080P:(放大的时候)
vi ----> vpss ----> venc
FrameRate: 25 14 9
2. 不使用vpss拓展通道的帧率情况:
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 25
0 2 1 640 480 SP420 0 25
0 4 1 1280 720 SP420 0 0
问题一: 为什么在使用了vpss 拓展通道之后, vpss通道的输出帧率会降下来, 并且在venc编码通道还会继续降帧, 而不使用vpss拓展通道的话, 在vpss通道和vence通道都不会有降帧的情况出现??
问题二: 使用了vpss拓展通道,并放大到1080P之后, vpss通道的输出帧率会又降一点, .
###########################################################
以下是720P和1080P的proc 信息对比:
1. 720P:
# cat /proc/umap/vi
[VIU] Version: [Hi3518EV200_MPP_V1.0.2.1 B000 Release], Build Time: [Mar 7 2016, 17:04:57]
VI-VPSS is online.
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 DC 1Mux ffc0000 0 P -1 -1 -1 -1 YUYV ISP RGB N 0 0 1280 720
----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 104 39983 40136 0 0 0 0 0 0 0 26
# cat /proc/umap/vpss
-------------------------------VPSS CHN ATTR----------------------------------------------------------------
GrpID PhyChnID Enable SpEn FrmWkEn MirrorEn FlipEn SrcFRate DstFRate
0 1 1 0 0 0 0 -1 -1
0 2 1 0 0 0 0 -1 -1
-------------------------------VPSS PHY CHN MODE-----------------------------------------------------------
GrpID PhyChnID WorkMode Width Height Double Pixfmt CompressMode
0 1 USER 1280 720 0 SP420 0
0 2 USER 640 480 0 SP420 0
-------------------------------VPSS EXT-CHN ATTR------------------------------------------------------------
GrpID ExtChnID Enable SrcChn Width Height Srcfrc Dstfrc Pixfmt
0 4 1 1 1280 720 -1 -1 SP420
-------------------------------VPSS EXT-CHN CROP ATTR-------------------------------------------------------
GrpID ExtChnID CropEn CoorType CoorX CoorY Width Height
0 4 1 ABS 0 0 1280 720
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 17
0 2 1 640 480 SP420 0 25
0 4 1 1280 720 SP420 0 17
# cat /proc/umap/venc
-----VENC CHN ATTR 1-------------------------------------------------------------
NO. Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1280 720 96 1 1 22913 0 0 1 0
1 640 480 96 1 1 34402 0 0 1 0
-----VENC STREAM STATE------------------------------------------------------------
NO. FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 16 0 0 27611 27611 22913 112963 14
1 24 0 0 39520 39520 34402 39935 22
2. 1080P:
# cat /proc/umap/vi
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 ScanM AD0 AD1 AD2 AD3 Seq DPath DType DRev CapX CapY CapW CapH
0 DC 1Mux ffc0000 0 P -1 -1 -1 -1 YUYV ISP RGB N 0 0 1280 720
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 112 39977 40164 0 0 0 0 0 0 0 26
# cat /proc/umap/vpss
-------------------------------VPSS CHN ATTR----------------------------------------------------------------
GrpID PhyChnID Enable SpEn FrmWkEn MirrorEn FlipEn SrcFRate DstFRate
0 1 1 0 0 0 0 -1 -1
0 2 1 0 0 0 0 -1 -1
-------------------------------VPSS PHY CHN MODE-----------------------------------------------------------
GrpID PhyChnID WorkMode Width Height Double Pixfmt CompressMode
0 1 USER 1280 720 0 SP420 0
0 2 USER 640 480 0 SP420 0
-------------------------------VPSS EXT-CHN ATTR------------------------------------------------------------
GrpID ExtChnID Enable SrcChn Width Height Srcfrc Dstfrc Pixfmt
0 4 1 1 1920 1080 -1 -1 SP420
-------------------------------VPSS EXT-CHN CROP ATTR-------------------------------------------------------
GrpID ExtChnID CropEn CoorType CoorX CoorY Width Height
0 4 1 ABS 0 0 1920 1080
-------------------------------VPSS CHN OUTPUT RESOLUTION---------------------------------------------------
GrpID ChnID Enable Width Height Pixfmt CompressMode FrameRate
0 1 1 1280 720 SP420 0 14
0 2 1 640 480 SP420 0 25
0 4 1 1920 1080 SP420 0 14
# cat /proc/umap/venc
-----VENC CHN ATTR 1-------------------------------------------------------------
NO. Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1920 1080 96 1 1 8225 0 0 1 0
1 640 480 96 1 1 21905 0 0 1 0
-----VENC STREAM STATE------------------------------------------------------------
NO. FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 12 0 0 11222 11222 8225 160436 9
1 24 0 0 24950 24950 21905 25780 22
我来回答
回答9个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-07-31 18:10:50
-
2017-01-20 09:14:08
-
2017-12-05 11:59:15
-
2016-12-09 15:51:55
-
2019-08-06 21:25:02
-
2017-03-27 18:49:36
-
2017-05-03 19:09:01
-
2017-02-10 13:49:13
-
2017-08-17 13:16:11
-
2016-09-25 15:44:12
-
2017-11-15 09:57:31
-
2018-11-30 09:32:29
-
2019-10-17 11:28:16
-
2016-10-09 17:22:16
-
2017-06-21 15:03:43
-
2020-12-24 15:35:24
-
2017-07-29 17:57:23
-
2016-11-28 12:14:40
-
2016-09-23 17:39:01
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50帮忙解决个交叉编译的问题
-
20帮忙交叉编译个源码
-
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 多摄像头同步模式
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认