Closed FantasyGmm closed 1 year ago
rock-5b:test:% mpi_dec_test -i demo.mp4 mpp[2326]: mpi_dec_utils: input file demo.mp4 size 257847677 mpp[2326]: mpi_dec_utils: cmd parse result: mpp[2326]: mpi_dec_utils: input file name: demo.mp4 mpp[2326]: mpi_dec_utils: output file name: mpp[2326]: mpi_dec_utils: width : 0 mpp[2326]: mpi_dec_utils: height : 0 mpp[2326]: mpi_dec_utils: type : 0 mpp[2326]: mpi_dec_utils: max frames : 0 mpp[2326]: mpi_dec_test: mpi_dec_test start mpp[2326]: mpp_info: mpp version: d7f0b0e author: sayon.chen 2022-09-27 [hal_h265]: Fix memset strmbuf align_offset maybe overflow mpp[2326]: mpi_dec_test: 0x55964a62e0 mpi_dec_test decoder test start w 0 h 0 type 0 mpp[2326]: mpp: unable to create dec unused for soc rk3588 unsupported mpp[2326]: mpi_dec_test: 0x55964a62e0 mpp_init failed mpp[2326]: mpi_dec_test: test failed ret -1 mpi_dec_test[2326]: mpp_mem_pool: put_pool found 1 used buffer size 304 rock-5b:test:% uname -a <develop> Linux rock-5b 5.10.72-rockchip-rk3588 #trunk.0046 SMP Wed Sep 28 03:43:58 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux rock-5b:test:% lsb_release -a <develop> No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy
mpi_dec_test 的输入要用祼码流,需要用 ffmpeg 解出 raw 数据才能解码,mp4 文件是带封装的,解析出 .h264 或者 .h265 数据才能给 mpi_dec_test 解码