i use the intel media sdk to encode video .
when i get the encoded frame i want to know what frame it is .
sts = m_VideoSession.SyncOperation(syncp,6000) ;
nLenOut = m_fxBS.DataLength ;
bKeyFrame = TRUE ;
bKeyFrame = FALSE ;
up is my code i am confused about the m_fxBS.FrameType
its value is 193 when i encoded the first frame ,this must be a key frame ,but the sdk do not define any value 193 as the frame type ,
sometime it return 66 the same .
and very little it return 4 that means a B_frame
i was confused about this
is anybody who can give me some suggest?
very appreciate it
thank you very much in advanced
Look in the file mfxstructures.h
/* FrameType */
If you do the following:
sts = m_pmfxENC-> EncodeFrameAsync (NULL, & m_pEncSurfaces [nEncSurfIdx], & pCurrentTask-> mfxBS, & pCurrentTask-> EncSyncP);
How do I know if I am on the current frame is a key frame?
Or Do I know from another function?