|
发表于 2022-12-29 10:11:15
浏览:4416
|
回复:3
打印
只看该作者
[复制链接]
楼主
3588J上
mpi_enc_test 是不是不能编码YUV422
命令:
./mpi_enc_test -i dw_422.yuv -w 1920 -h 1080 -f 2 -t 7 -o 422.h264
结果:
输出文件422.h264尺寸为0
打印:
mpp[24754]: mpi_enc_utils: cmd parse result:
mpp[24754]: mpi_enc_utils: input file name: dw_422.yuv
mpp[24754]: mpi_enc_utils: output file name: 422.h264
mpp[24754]: mpi_enc_utils: width : 1920
mpp[24754]: mpi_enc_utils: height : 1080
mpp[24754]: mpi_enc_utils: format : 2
mpp[24754]: mpi_enc_utils: type : 7
mpp[24754]: mpi_enc_test: ./mpi_enc_test start
mpp[24754]: mpi_enc_test: cmd->format:2
mpp[24754]: mpp_rt: NOT found ion allocator
mpp[24754]: mpp_rt: found drm allocator
mpp[24754]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[24754]: mpi_enc_test: 0x7f98001ea0 encoder test start w 1920 h 1080 type 7
mpp[24754]: mpp_enc: MPP_ENC_SET_RC_CFG bps 7776000 [486000 : 8262000] fps [30:30] gop 60
mpp[24754]: h264e_api_v2: MPP_ENC_SET_PREP_CFG w:h [1920:1080] stride [1920:1080]
mpp[24754]: mpp_enc: send header for set cfg change input/format/color
mpp[24754]: mpp_enc: mode vbr bps [486000:7776000:8262000] fps fix [30/1] -> fix [30/1] gop i [60] v [0]
mpp[24754]: utils: read_with_pixel_width invalid 16bit color config: hor_stride 1920 is smaller then width 1920 multiply by 4
mpp[24754]: utils: read_with_pixel_width width should be defined by pixel count
mpp[24754]: utils: read_with_pixel_width stride should be defined by byte count
mpp[24754]: mpi_enc_test: chn 0 encoded frame 0 size 580 qp 10
可以编码的话,求指导正确的命令
|
|