|
在RK3588,ubuntu20.04系统上,同步了仓库https://github.com/rockchip-linux/mpp
编译后安装mpp到系统里,然后执行如下命令测试程序解码一个mp4的文件。
mpi_dec_test -t 7 -i 1.mp4 -n 10
输出如下:
mpi_dec_test -t 7 -i 1.mp4 -n 10
mpp[86645]: mpi_dec_test: cmd parse result:
mpp[86645]: mpi_dec_test: input file name: 1.mp4
mpp[86645]: mpi_dec_test: output file name:
mpp[86645]: mpi_dec_test: config file name:
mpp[86645]: mpi_dec_test: width : 0
mpp[86645]: mpi_dec_test: height : 0
mpp[86645]: mpi_dec_test: type : 7
mpp[86645]: mpi_dec_test: debug flag : 0
mpp[86645]: mpi_dec_test: max frames : 10
mpp[86645]: mpi_dec_test: mpi_dec_test start
mpp[86645]: mpi_dec_test: input file size 13683820
mpp[86645]: mpp_info: mpp version: 3c5dc7fe author: sayon.chen 2020-11-23 [h265d_syntax]: Fix h265 syntax fill sps rps issue
mpp[86645]: mpi_dec_test: 0x558d130520 mpi_dec_test decoder test start w 0 h 0 type 7
mpp[86645]: mpp_rt: NOT found ion allocator
mpp[86645]: mpp_rt: NOT found drm allocator
mpp[86645]: mpp_log: can not found match soc name: rockchip,rk3588-firefly-itx-3588j rockchip,rk3588
mpp[86645]: mpp_serivce: open mpp_service to check cmd capability failed
mpp[86645]: hal_h264d_api: hal_h264d_init can not found H.264 decoder hardware on platform 0
mpp[86645]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -2
mpp[86645]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[86645]: mpp_dec: mpp_dec_init could not init hal
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[86645]: mpp: error found on mpp initialization
mpp[86645]: mpi_dec_test: 0x558d130520 mpp_init failed
mpp[86645]: mpi_dec_test: test failed ret -1
看到这行日志
hal_h264d_api: hal_h264d_init can not found H.264 decoder hardware on platform 0
似乎没有找到H264的解码器,请问这可能是什么原因,是不是有什么驱动没有转?
|
|