Toybrick

MPP1.4.0的问题,官方解码demo打印错误

zhuo799154051

中级会员

积分
443
楼主
发表于 2021-4-15 09:09:41    查看: 7668|回复: 3 | [复制链接]    打印 | 只看该作者
我测试了官方提供的解码demo,会打印以下结果。测得是/usr/share/rockchip-mpp/example/legacy/mpp_decode。我在自己的项目中用了这个库,跑了几天代码是稳定运行的,功能也是正常的,但是log日志会一直增加,存储会满。盲猜版主会让我看新的MPP库,但是我没时间大量修改代码了。卖家问题老是让买家买单。
  1. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  2. Get frame 46: width 640, height 480, size 460800
  3. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  4. Get frame 47: width 640, height 480, size 460800
  5. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  6. Get frame 48: width 640, height 480, size 460800
  7. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  8. Get frame 49: width 640, height 480, size 460800
  9. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  10. Get frame 50: width 640, height 480, size 460800
  11. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  12. Get frame 51: width 640, height 480, size 460800
  13. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  14. Get frame 52: width 640, height 480, size 460800
  15. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  16. Get frame 53: width 640, height 480, size 460800
  17. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  18. Get frame 54: width 640, height 480, size 460800
  19. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  20. Get frame 55: width 640, height 480, size 460800
  21. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  22. Get frame 56: width 640, height 480, size 460800
  23. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  24. Get frame 57: width 640, height 480, size 460800
  25. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  26. Get frame 58: width 640, height 480, size 460800
  27. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  28. Get frame 59: width 640, height 480, size 460800
  29. mpp[11507]: mpp_frame: check_is_mpp_frame pointer 0x559440ce50 failed on check
  30. Get frame 60: width 640, height 480, size 460800
复制代码


回复

使用道具 举报

zhuo799154051

中级会员

积分
443
沙发
 楼主| 发表于 2021-4-15 09:12:12 | 只看该作者
我现在担心花大把时间把解码改成其他版本,结果还是一样
回复

使用道具 举报

addy

超级版主

积分
609
板凳
发表于 2021-4-15 11:18:01 | 只看该作者
解决办法:
1. 把错误信息重定向到/dev/null
2. 执行命令升级mpp库:
    sudo apt update
   sudo apt upgrade (如果只想升级mpp库,可以执行命令:sudo apt install rockchip-mpp-dev)
回复

使用道具 举报

zhuo799154051

中级会员

积分
443
地板
 楼主| 发表于 2021-4-15 13:56:07 | 只看该作者
addy 发表于 2021-4-15 11:18
解决办法:
1. 把错误信息重定向到/dev/null
2. 执行命令升级mpp库:

更新到1.4.0-5可以了,不会输出log了。昨天还是有问题的1.4.0-4。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


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