Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK

How to insert key frame with Intel SDK?

lance7
Beginner
402 Views
Hi all,

In early thread, we can found the insert key frame function,
that is, mfxStatus MFXVideoENCODE_EncodeFrameAsync(
mfxSession session,
mfxEncodeCtrl *ctrl,
mfxFrameSurface1 *surface,
mfxBitstream *bs,
mfxSyncPoint *syncp);

And use mfxEncodeCtrl to control the I frame,

my new question is whom can invoke this MFXVideoENCODE_EncodeFrameAsyn API ,
or how to invoke this function in any place?
There is no body invoke this function in all Intel Media sample ?

Thanks!!

Lance
0 Kudos
2 Replies
lance7
Beginner
402 Views
Hi All,

Is there any shortcut to insert key frame(I frame)in Intel Encoder?


Thanks

Lance


0 Kudos
Nina_K_Intel
Employee
402 Views
Hi Lance,

As for your first question, the EncodeFrameAsync function is called in sample_encode, you may check it out.

But the feature of key frame insertion, according to Media SDK developers, is not yet supported in Media SDK 2.0/SandyBridge encoders - this is a limitation. It will be available only starting with next generation of Media SDK.
If you represent a company could you please contact us via private post - so we could discuss schedules/plans/features in more details.
Regards,
Nina
0 Kudos
Reply