mpp icon indicating copy to clipboard operation
mpp copied to clipboard

Rk3399解码JPEG失败

Open cvidkal opened this issue 2 years ago • 1 comments

用最新版本的mpp在rk3399上运行mpi_dec_test 解码jpeg文件 运行下面的命令: ./mpi_dec_test -t 8 -i 3.jpg -w 1920 -h 1080 -n 10 -o test.yuv 输出: mpp[27346]: mpi_dec_utils: input file 3.jpg size 188817 mpp[27346]: mpi_dec_utils: cmd parse result: mpp[27346]: mpi_dec_utils: input file name: 3.jpg mpp[27346]: mpi_dec_utils: output file name: test.yuv mpp[27346]: mpi_dec_utils: width : 1920 mpp[27346]: mpi_dec_utils: height : 1080 mpp[27346]: mpi_dec_utils: type : 8 mpp[27346]: mpi_dec_utils: max frames : 10 mpp[27346]: mpi_dec_test: mpi_dec_test start mpp[27346]: mpp_info: mpp version: 09116fef author: Herman Chen 2022-08-31 [hal_jpege_vepu2]: Fix memory leak on multi-core mpp[27346]: mpi_dec_test: 0x558e2964a0 mpi_dec_test decoder test start w 1920 h 1080 type 8 mpp[27346]: vcodec_service: vcodec_service_reg_wr reg size mismatch wr 636 rd 736 mpp[27346]: vcodec_service: vcodec_service_reg_rd reg size mismatch rd 736 rd 636 mpp[27346]: vcodec_service: vcodec_service_cmd_send ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address mpp[27346]: HAL_JPEG_VDPU2: hal_jpegd_vdpu2_start send cmd failed 14 mpp[27346]: vcodec_service: vcodec_service_cmd_poll ioctl VPU_IOC_GET_REG failed ret -1 errno 110 Connection timed out mpp[27346]: HAL_JPEG_VDPU2: hal_jpegd_vdpu2_wait poll cmd failed 110 mpp[27346]: mpi_dec_test: 0x558e2964a0 decoded frame 0 mpp[27346]: vcodec_service: vcodec_service_reg_wr reg size mismatch wr 636 rd 736 mpp[27346]: vcodec_service: vcodec_service_reg_rd reg size mismatch rd 736 rd 636 mpp[27346]: vcodec_service: vcodec_service_cmd_send ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address mpp[27346]: HAL_JPEG_VDPU2: hal_jpegd_vdpu2_start send cmd failed 14 这个是图片 3.jpg.zip

cvidkal avatar Sep 15 '22 13:09 cvidkal

3399 用的是 4.4 的内核么?如果可以的话,升级内核到 4.19 会好一些 4.4 内核的兼容性可能有问题,需要分析下内核版本

HermanChen avatar Sep 16 '22 03:09 HermanChen