Media (Intel® 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
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Dynamic generate I frame

W__Yang
Beginner
218 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
218 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.

 

0 Kudos
Reply