Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

EncodeFrameAsync detect I-Frame or B-Frame

Ralf_K_
Beginner
183 Views

 

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
183 Views

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

Regards,
Stefan.

Reply