Loading...

RK,px30的板子运行编译的mpp源码,报错

lghcall
lghcall  发布于 2021-07-26 10:44:15 132

root@firefly:~/mpp-developild/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

我来回答
回答可得5积分
1个回答
发布于 2021-07-26 10:45:27

附带一个直接运行板子自带的mpi_dec_test的运行正常的日志

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

0
+ 添加网盘链接/附件
或将文件直接拖到这里
悬赏:
EBC
文件格式必须为doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,tar,7z,gz
网盘
* 网盘链接:
* 提取码:
悬赏:
EBC
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区