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.

DM8168 A8端获取编码后码流帧率问题

大家好,

       我拿DM8168编码时帧率设置为:             

encPrm.chCreateParams[i].defaultDynamicParams.interFrameInterval = 1;
encPrm.chCreateParams[i].defaultDynamicParams.intraFrameInterval = 50;
encPrm.chCreateParams[i].defaultDynamicParams.inputFrameRate = 25;
encPrm.chCreateParams[i].defaultDynamicParams.targetFrameRate = 25;

      在A8端获取编码后码流时,1s钟能获取到60帧数据,这个不是应该根据我编码后的输出帧率来的吗?应该是25帧啊

while(FALSE == thrObj->exitBitsInThread)
{
OSA_semWait(&thrObj->bitsInNotifySem, OSA_TIMEOUT_FOREVER);

IpcBitsInLink_getFullVideoBitStreamBufs(SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0, &fullBufList);

for (ch = 0; ch < fullBufList.numBufs; ch++)
{
pFullBuf = fullBufList.bufs[ch];

if(pFullBuf->fillLength > 0 && chCfg->encFlag)
{

IpcBitsInLink_putEmptyVideoBitStreamBufs(SYSTEM_HOST_LINK_ID_IPC_BITS_IN_0, &fullBufList);