RK3588 使用rockit库初始化venc报错

固件类型:官方提供的固件
固件文件名称:ROC-RK3588-PC_Buildroot_v1.0.6f_230819.img
固件下载地址:百度网盘
Log日志:rockit venc创建失败.txt

  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!

tchip_askquestions
rockit venc创建失败.txt (3.57 KB)

问题已解决

关于您博客rockit初始化venc的问题,请问您是怎么改好的?