Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ralf_K_
Beginner
82 Views

EncodeFrameAsync detect I-Frame or B-Frame

 

for H264 Encoding i am using

EncodeFrameAsync(&EncodeCtrl_, mfxSurface, bitStream, &EncoderSyncp_);

successfully, but how do I know which kind of Frame (I-Frame or B-Frame) was encoded?

 

0 Kudos
1 Reply
Stefan_S_2
Beginner
82 Views

take a look at pCurrentTask->mfxBS.FrameType, which is available after synchronize.

Regards,
Stefan.

Reply