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.

Dynamic generate I frame

W__Yang
Beginner
80 Views

Hi all,

  I encode h264 data  in my application using the intel media sdk. The default frame sequence is I P B B B B P B B B B.  Can I  set the frame type before encode h264 data ?  

Thanks!

0 Kudos
1 Reply
Anthony_P_Intel
Employee
80 Views


Yes, you can set the general GOP Pattern using the GopPicSize, GopRefDist, GopOptFlag and IdrInterval parameters of the mfxInfoMFX when encoder is initialized and you can dynamically force key frame generation using the FrameType parameter of the mfxEncodeCtrl structure.
(See the "Forced Key Frame Generation" section of Appendix C in the reference manual).
You may also want to look at some of the available tutorial or white papers on dealing with video conferencing.

 

Reply