|
【Linux】
运行系统的mpi_dec_test测试mpp解码成功,自己下载编译的源码运行报错
发表于 2021-7-23 18:34:44
浏览:6244
|
回复:0
打印
只看该作者
[复制链接]
楼主
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: input file 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 [1920:1080] stride [1920:1088] 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[20329]: mpi_dec_utils: cmd parse result:
mpp[20329]: mpi_dec_utils: input file name: test.h264
mpp[20329]: mpi_dec_utils: output file name: output.yuv
mpp[20329]: mpi_dec_utils: config file name:
mpp[20329]: mpi_dec_utils: width : 0
mpp[20329]: mpi_dec_utils: height : 0
mpp[20329]: mpi_dec_utils: type : 7
mpp[20329]: mpi_dec_utils: debug flag : 0
mpp[20329]: mpi_dec_utils: max frames : 10
mpp[20329]: mpi_dec_test: mpi_dec_test start
mpp[20329]: mpi_dec_test: input file size 8330818
mpp[20329]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[20329]: mpi_dec_test: 0x559c16b9c0 mpi_dec_test decoder test start w 0 h 0 type 7
mpp[20329]: mpp_rt: NOT found ion allocator
mpp[20329]: mpp_rt: found drm allocator
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode_get_frame get info changed found
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decoder require buffer w:h [1920:1080] stride [1920:1088] buf_size 3760128
mpp[20329]: vcodec_service: vcodec_service_cmd_send ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address
mpp[20329]: hal_h264d_vdpu_reg: vdpu2_h264d_start send cmd failed 14
mpp[20329]: vcodec_service: vcodec_service_cmd_poll ioctl VPU_IOC_GET_REG failed ret -1 errno 110 Connection timed out
mpp[20329]: hal_h264d_vdpu_reg: vdpu2_h264d_wait poll cmd failed 110
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 0 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 1 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 2 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 3 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 4 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 5 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 6 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 7 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 8 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 decode get frame 9 err 1 discard 0
mpp[20329]: mpi_dec_test: 0x559c16b9c0 reach max frame number 10
mpp[20329]: mpi_dec_test: 0x559c16b9c0 input 360 pkt output 11 frm decode 10 frames
mpp[20329]: mpi_dec_test: test success max memory 14.34 MB |
|