这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » 国产MCU » RK3588使用官方mpp内的mpidectest进行解码,报错

共7条 1/1 1 跳转至

RK3588使用官方mpp内的mpidectest进行解码,报错

工程师
2023-07-15 20:56:02     打赏

Screenshot from 2022-12-28 08-29-11.png

使用的命令是./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    

助工
2023-07-15 20:56:24     打赏
2楼

补充下,昨天重新弄了段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  


专家
2023-07-16 01:31:17     打赏
3楼

感谢楼主的分享,很实用了。


专家
2023-07-16 01:36:33     打赏
4楼

感谢楼主的分享,很实用了。


专家
2023-07-16 09:18:41     打赏
5楼

感谢楼主的分享


专家
2023-07-16 10:46:01     打赏
6楼

感谢楼主的分享


高工
2023-07-16 10:48:12     打赏
7楼

学习资料


共7条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]