|
您好,我这边是rk1808的板子,系统是debian9,在运行官方测试程序mpi_dec_test的时候,输出如下:
- root@rk1808:~/rtsp# ./mpi_dec_test -t 7 -i Tennis1080p.h264 -n 9
- mpi_dec_test: cmd parse result:
- mpi_dec_test: input file name: Tennis1080p.h264
- mpi_dec_test: output file name:
- 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 : 9
- mpi_dec_test: mpi_dec_test start
- mpi_dec_test: input file size 10786528
- mpi_dec_test: mpi_dec_test decoder test start w 0 h 0 type 7
- mpi: mpp version: 7c26b23 author: Johnson Ding [h264d]: Fix dpb size not bigger enough issue
- mpp_rt: NOT found ion allocator
- mpp_rt: NOT 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: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 1
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 2
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 3
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 4
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 5
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 6
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 7
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 8
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 9
- mpi_dec_test: reach max frame number 9
- mpi_dec_test: test success max memory 14.34 MB
虽然最后提示成功,但是感觉有问题,每次get err info都是1。
另外,如果我把-n选项调大一点,比如执行命令:
- ./mpi_dec_test -t 7 -i Tennis1080p.h264 -n 1000
期间就会有这样的输出:
- mpp_device: mpp_device_send_reg ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address
- hal_h264d_vdpu_reg: H264 VDPU FlushRegs fail, pid=641.
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 119
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
- mpi_dec_test: decode_get_frame get frame 120
- mpp_device: mpp_device_wait_reg ioctl VPU_IOC_GET_REG failed ret -1 errno 110 Connection timed out
- hal_h264d_vdpu_reg: H264 VDPU wait result fail, pid=641.
- mpi_dec_test: decoder_get_frame get err info:1 discard:0.
内核是4.4.194的,/dev/vpu_service设备文件也是存在的。
请问一下,这会是什么问题? |
|