|
沙发
楼主 |
发表于 2020-11-10 10:09:14
|
只看该作者
编码YUV文件也失败了。
toybrick@debian10:~/Videos/mpp-release/build/linux/x86_64/test$ ./mpi_enc_test -w 352 -h 288 -t 7 -i akiyo_cif_352_288.yuv -o out.h264 -n 1
mpp[9331]: mpi_enc_utils: cmd parse result:
mpp[9331]: mpi_enc_utils: input file name: akiyo_cif_352_288.yuv
mpp[9331]: mpi_enc_utils: output file name: out.h264
mpp[9331]: mpi_enc_utils: width : 352
mpp[9331]: mpi_enc_utils: height : 288
mpp[9331]: mpi_enc_utils: format : 0
mpp[9331]: mpi_enc_utils: type : 7
mpp[9331]: mpi_enc_test: mpi_enc_test start
mpp[9331]: mpp_rt: NOT found ion allocator
mpp[9331]: mpp_rt: found drm allocator
mpp[9331]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[9331]: mpi_enc_test: 0x5587515ca0 mpi_enc_test encoder test start w 352 h 288 type 7
mpp[9331]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [352:288] stride [352:288]
mpp[9331]: h264e_api_v2: MPP_ENC_SET_RC_CFG bps 380160 [23760 : 403920] fps [30:30] gop 60
mpp[9331]: mpp_enc_v2: send header for set cfg change input/format
mpp[9331]: mpp_enc_v2: Please use MPP_ENC_GET_HDR_SYNC instead of unsafe MPP_ENC_GET_EXTRA_INFO
mpp[9331]: mpp_enc_v2: NOTE: MPP_ENC_GET_HDR_SYNC needs MppPacket input
mpp[9331]: mpp_enc_v2: mode cbr bps [23760:380160:403920] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[9331]: mpp_device: mpp_device_send_reg ioctl VPU_IOC_SET_REG failed ret -1 errno 14 Bad address
mpp[9331]: hal_h264e_vepu2_v2: mpp_device_send_reg failed ret -1
mpp[9331]: mpp_enc_v2: mpp 0x5587515d10 mpp_enc_hal_start failed return -1
mpp[9331]: mpi_enc_test: 0x5587515ca0 encoded frame 0 size 151
mpp[9331]: mpi_enc_test: 0x5587515ca0 encode max 1 frames
mpp[9331]: mpi_enc_test: 0x5587515ca0 mpi_enc_test success total frame 1 bps 36240
mpp[9331]: mpp_buffer: ~MppBufferService cleaning misc group
|
|