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.

FPS settings DM8168 Capture and Encode application



Hi All,

We have devloped DM8168 based Encoder, In that we are facing the problem while settings the FPS to less than 30.

EZSDK Version : 5.05.02.00

Sample application used : capture_encode

Input Video : 720p / 60FPS

we are using the following code to set the Input Frame skip

OMX_ERRORTYPE eError = OMX_ErrorNone;
OMX_CONFIG_VFCC_FRAMESKIP_INFO sCapSkipFrames;
OMX_INIT_PARAM (&sCapSkipFrames);
switch(fps)
{
case 30: sCapSkipFrames.frameSkipMask = 0x2AAAAAAA; break;
case 1: sCapSkipFrames.frameSkipMask = 0x2FFFFFFF; break;
}
eError = OMX_SetConfig (hCapture,(OMX_INDEXTYPE) OMX_TI_IndexConfigVFCCFrameSkip,(OMX_PTR) & sCapSkipFrames);

For 30 FPS it is working fine with the "frameSkipMask = 0x2AAAAAAA"

but for 1 FPS the capture component gives 2 frames to the Encoder component.

any Idea why this is happening in 1 FPS with 720p/60 Input video.

Thanks a lot .

Regards

R.Abdul Rahman