使用的命令是./mpi_dec_test -i BLD.h264 -t 7 -n 300 -o 1.yuv -w 1024 -h 768其中BLD.h264为曾经的项目压缩的H264文件,解码时报错
mpp[32983]: mpp_rt: NOT found ion allocator
mpp[32983]: mpp_rt: found drm allocator
mpp[32983]: mpp_log: can not found match soc name: rockchip,roc-rk3588-pc rockchip,rk3588
RK3588使用官方mpp内的mpidectest进行解码,报错
补充下,昨天重新弄了段YUV 1920X1080的,压缩可以正常运行了,但是编码出来的文件有问题,不能播放,信息如下
root@firefly:/opt/mpp/build/linux/aarch64/test# sudo ./mpi_enc_test -i
md_sample_sp420_1080p.yuv -t 7 -n 100 -o md_sample_sp420_1080p.h264 -w
1920 -h 1080 -r 25
mpp[4667]: mpi_enc_utils: cmd parse result:
mpp[4667]: mpi_enc_utils: input file name: md_sample_sp420_1080p.yuv
mpp[4667]: mpi_enc_utils: output file name: md_sample_sp420_1080p.h264
mpp[4667]: mpi_enc_utils: width : 1920
mpp[4667]: mpi_enc_utils: height : 1080
mpp[4667]: mpi_enc_utils: format : 0
mpp[4667]: mpi_enc_utils: type : 7
mpp[4667]: mpi_enc_test: mpi_enc_test start
mpp[4667]: mpp_rt: NOT found ion allocator
mpp[4667]: mpp_rt: found drm allocator
mpp[4667]: mpp_info: mpp version: 3c5dc7fe author: sayon.chen 2020-11-23 [h265d_syntax]: Fix h265 syntax fill sps rps issue
mpp[4667]: mpi_enc_test: 0x5581fb8c40 mpi_enc_test encoder test start w 1920 h 1080 type 7
mpp[4667]: mpp_log: can not found match soc name: rockchip,roc-rk3588-pc rockchip,rk3588
mpp[4667]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [1920:1080] stride [1920:1080]
mpp[4667]: h264e_api_v2: MPP_ENC_SET_RC_CFG bps 6480000 [405000 : 6885000] fps [25:25] gop 50
mpp[4667]: mpp_enc_v2: send header for set cfg change input/format
mpp[4667]: mpp_enc_v2: mode vbr bps [405000:6480000:6885000] fps fix [25/1] -> fix [25/1] gop i [50] v [0]
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 0 size 206
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 1 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 2 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 3 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 4 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 5 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 6 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 7 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 8 size 0
mpp[4667]: mpi_enc_test: 0x5581fb8c40 encoded frame 9 size 0
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |