Toybrick

标题: MPP1.4.0的问题,官方解码demo打印错误 [打印本页]

作者: zhuo799154051    时间: 2021-4-15 09:09
标题: MPP1.4.0的问题,官方解码demo打印错误
我测试了官方提供的解码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    时间: 2021-4-15 09:12
我现在担心花大把时间把解码改成其他版本,结果还是一样
作者: addy    时间: 2021-4-15 11:18
解决办法:
1. 把错误信息重定向到/dev/null
2. 执行命令升级mpp库:
    sudo apt update
   sudo apt upgrade (如果只想升级mpp库,可以执行命令:sudo apt install rockchip-mpp-dev)
作者: zhuo799154051    时间: 2021-4-15 13:56
addy 发表于 2021-4-15 11:18
解决办法:
1. 把错误信息重定向到/dev/null
2. 执行命令升级mpp库:

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




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3