lghcall 发表于 2021-7-23 18:34:44

运行系统的mpi_dec_test测试mpp解码成功,自己下载编译的源码运行报错


root@firefly:~/mpp-develop/build/test# mpi_dec_test -t 7 -i test.h264 -o output.yuv -n 10
mpi_dec_test: cmd parse result:
mpi_dec_test: inputfile name: test.h264
mpi_dec_test: output file name: output.yuv
mpi_dec_test: config file name:
mpi_dec_test: width      :    0
mpi_dec_test: height   :    0
mpi_dec_test: type       : 7
mpi_dec_test: debug flag : 0
mpi_dec_test: max frames : 10
mpi_dec_test: mpi_dec_test start
mpi_dec_test: input file size 8330818
mpi_dec_test: mpi_dec_test decoder test start w 0 h 0 type 7
mpi: mpp version: 1614c5d4 author: Caesar Wang debian: add rules for mpp with 20191031
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
mpi_dec_test: decode_get_frame get info changed found
mpi_dec_test: decoder require buffer w:h stride buf_size 3760128
mpi_dec_test: decode_get_frame get frame 1
mpi_dec_test: decode_get_frame get frame 2
mpi_dec_test: decode_get_frame get frame 3
mpi_dec_test: decode_get_frame get frame 4
mpi_dec_test: decode_get_frame get frame 5
mpi_dec_test: decode_get_frame get frame 6
mpi_dec_test: decode_get_frame get frame 7
mpi_dec_test: decode_get_frame get frame 8
mpi_dec_test: decode_get_frame get frame 9
mpi_dec_test: decode_get_frame get frame 10
mpi_dec_test: reach max frame number 10
mpi_dec_test: test success max memory 21.52 MB
上面系统自带程序运行没有这个报错

下面是编译源码运行的结果
root@firefly:~/mpp-develop/build/test# ./mpi_dec_test -t 7 -i test.h264 -o output.yuv -n 10
mpp: mpi_dec_utils: cmd parse result:
mpp: mpi_dec_utils: inputfile name: test.h264
mpp: mpi_dec_utils: output file name: output.yuv
mpp: mpi_dec_utils: config file name:
mpp: mpi_dec_utils: width      :    0
mpp: mpi_dec_utils: height   :    0
mpp: mpi_dec_utils: type       : 7
mpp: mpi_dec_utils: debug flag : 0
mpp: mpi_dec_utils: max frames : 10
mpp: mpi_dec_test: mpi_dec_test start
mpp: mpi_dec_test: input file size 8330818
mpp: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp: mpi_dec_test: 0x559c16b9c0 mpi_dec_test decoder test start w 0 h 0 type 7
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
mpp: mpi_dec_test: 0x559c16b9c0 decode_get_frame get info changed found
mpp: mpi_dec_test: 0x559c16b9c0 decoder require buffer w:h stride buf_size 3760128
mpp: vcodec_service: vcodec_service_cmd_send ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address
mpp: hal_h264d_vdpu_reg: vdpu2_h264d_start send cmd failed 14
mpp: vcodec_service: vcodec_service_cmd_poll ioctl VPU_IOC_GET_REG failed ret -1 errno 110 Connection timed out
mpp: hal_h264d_vdpu_reg: vdpu2_h264d_wait poll cmd failed 110
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 0 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 1 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 2 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 3 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 4 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 5 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 6 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 7 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 8 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 decode get frame 9 err 1 discard 0
mpp: mpi_dec_test: 0x559c16b9c0 reach max frame number 10
mpp: mpi_dec_test: 0x559c16b9c0 input 360 pkt output 11 frm decode 10 frames
mpp: mpi_dec_test: test success max memory 14.34 MB
页: [1]
查看完整版本: 运行系统的mpi_dec_test测试mpp解码成功,自己下载编译的源码运行报错