Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mohammad_T_1
Beginner
69 Views

Set Encoding Frame Order

Jump to solution

Hello,

I am using Intel Media SDK 388 version 1.16. I do Encode raw data in h264 and it's working fine. Encoding parameters are:

m_mfxEncParams.mfx.EncodedOrder = 0; 
m_mfxEncParams.mfx.IdrInterval = 0;
m_mfxEncParams.mfx.GopPicSize = 24;
m_mfxEncParams.mfx.GopRefDist = 3;

 m_mfxEncParams.mfx.CodecProfile = MFX_PROFILE_AVC_MAIN;   

The encoded h264 file is working fine. Output frames are in orders: IPBBPBBPBB... and so on.

But for one requirement i want to change the Frame orders as IBBPBBPBBP... and so on.

I tried to change Encode order by changing m_mfxEncParams.mfx.EncodedOrder = 1; but not succeeded.  

So please guide me, how can in set Encoding Frame order. 

Thank you

 

0 Kudos
1 Solution
Anna_B_Intel
Employee
69 Views

Hi Mohammad,

First of all you should update your Media SDK up to Media SDK 2016 R2.

To have gop-structure "IBBPBBPBBP" you should set m_mfxEncParams.mfx.EncodedOrder = 1; and specify type of frames by FrameType enumerator (see details in mediasdk-man.pdf).

Best wishes,

Anna

View solution in original post

1 Reply
Anna_B_Intel
Employee
70 Views

Hi Mohammad,

First of all you should update your Media SDK up to Media SDK 2016 R2.

To have gop-structure "IBBPBBPBBP" you should set m_mfxEncParams.mfx.EncodedOrder = 1; and specify type of frames by FrameType enumerator (see details in mediasdk-man.pdf).

Best wishes,

Anna

View solution in original post

Reply