RK3588 使用rockit库初始化venc报错
1. 参数配置stAttr.stVencAttr.enType = RK_VIDEO_ID_AVC;
stAttr.stVencAttr.u32Profile = H264E_PROFILE_HIGH;
stAttr.stVencAttr.enPixelFormat = RK_FMT_YUV422SP;
stAttr.stVencAttr.u32PicWidth = 3840;
stAttr.stVencAttr.u32PicHeight= 2160;
stAttr.stVencAttr.enMirror = MIRROR_NONE;
stAttr.stVencAttr.u32VirHeight = 2160;
stAttr.stVencAttr.u32StreamBufCnt = 3;
stAttr.stVencAttr.u32BufSize = 3840*2160/2;
2. 报错日志
u32PicWidth = 3840, u32PicHeight = 2160
RTTaskGraph 23:42:23-699 {autoLinkSource :216} link rga_out output stream 0x1 to input stream 0x3
RKVencChannel 23:42:23-700 {checkVideoParam :1395} stVencAttr illegal params: u32PicWidt -1181731976 u32PicHeight 3840
cmpi 23:42:23-701 {SAMPLE_VENC_Create:227} RK_MPI_VENC_CreateChn failed with 0xa0048003!
问题已解决
页:
[1]