This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8127 IPNC RDK3.8 : 请问H264采用CBR编码时,当外界光线比较暗,传感器增益比较大时,Bitrates 非常大的原因

您好! 

        我使用DM8127 (IPNC RDK 3.8) 做1080P 的H264 编码。

        图像格式是:1920x1080,帧率是30fps,bitrates:8000Kbps,cbr mode。

        正常情况下,H264 输出码流 大小在8500Kbps 左右。

       但是当我关闭光圈,设置传感器增益较高时,H264输出码流却很高,平均达到60000Kbps。

        我的参数是:

pLinkChPrm->format = IVIDEO_H264HP; 
pLinkChPrm->profile = VENC_CHN_HIGH_PROFILE;
pLinkChPrm->dataLayout = IVIDEO_PROGRESSIVE;
pLinkChPrm->fieldMergeEncodeEnable = FALSE;
pLinkChPrm->maxBitRate = -1;
pLinkChPrm->encodingPreset = VENC_XDM_USER_DEFINED;
pLinkChPrm->rateControlPreset = IVIDEO_USER_DEFINED; 
pLinkChPrm->enableHighSpeed = FALSE;
pLinkChPrm->enableWaterMarking = 0;
pLinkChPrm->StreamPreset = 0;
pLinkDynPrm->intraFrameInterval = 25;
pLinkDynPrm->interFrameInterval = 1;
pLinkDynPrm->mvAccuracy = IVIDENC2_MOTIONVECTOR_QUARTERPEL;
pLinkDynPrm->inputFrameRate = 30;
pLinkChPrm->profile = VENC_CHN_HIGH_PROFILE;
pLinkChPrm->enableAnalyticinfo = 1;
pLinkDynPrm->rcAlg =VENC_RATE_CTRL_CBR;
pLinkDynPrm->qpMin = 10;
pLinkDynPrm->qpMax = 40;
pLinkDynPrm->qpInit = -1;
pLinkDynPrm->vbrDuration = 8;
pLinkDynPrm->vbrSensitivity = 0;
encPrm.numBufPerCh[0] = 6;
pLinkDynPrm->targetBitRate = 8000*1000;

          附件是测试的场景的图像。