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