Community
cancel
Showing results for 
Search instead for 
Did you mean: 
W__Yang
Beginner
29 Views

Dynamic generate I frame

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
29 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