查看: 3638|回复: 2

[原创] imx6d vpu 硬解码 延时问题

[复制链接]
  • TA的每日心情
    奋斗
    2018-7-10 21:25
  • 签到天数: 3 天

    连续签到: 1 天

    [LV.2]偶尔看看I

    1

    主题

    6

    帖子

    0

    新手上路

    Rank: 1

    积分
    19
    最后登录
    2018-8-22
    发表于 2018-7-3 14:25:07 | 显示全部楼层 |阅读模式
    @群里高手 大神,烦请抽空帮忙看看,目前遇到问题;imx6d vpu 硬解h264,延时有点大,200-300ms; 跟踪发现:info->minFrameBufferCount = VpuReadReg(RET_DEC_SEQ_FRAME_NEED); 这里minFrameBufferCount 值为6;即需要最小缓存6帧才开始解码;跟实际现象吻合;


    设置为minFrameBufferCount = 1;时 解码就失败了;一直提示:
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -1 0,86884
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 0,5440
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 0,3033
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 0,3058
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -1 4,2777
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 4,2907
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 4,2640
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 4,2655
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 4,2461
    VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 4,2245


    请帮忙指点下
    该会员没有填写今日想说内容.
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    2018-7-10 21:25
  • 签到天数: 3 天

    连续签到: 1 天

    [LV.2]偶尔看看I

    1

    主题

    6

    帖子

    0

    新手上路

    Rank: 1

    积分
    19
    最后登录
    2018-8-22
     楼主| 发表于 2018-7-13 14:30:10 | 显示全部楼层
    木有回复。 求各路仙友 支持。 急急急!
    木有回复。 求各路仙友 支持。 急急急!
    木有回复。 求各路仙友 支持。 急急急!
    重要的事情 写三遍。
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    0

    主题

    2

    帖子

    0

    新手上路

    Rank: 1

    积分
    11
    最后登录
    2020-5-19
    发表于 2018-9-7 09:49:14 | 显示全部楼层
    h264编码有参数可调,ibpibpibp,你可以改变这个间隔。然后你这个帧缓存就可以改变
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-20 12:26 , Processed in 0.082742 second(s), 21 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表