Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous27
Beginner
74 Views

Setting up desired GOP Sequence

Hello,

I wanted to know how to set up the GOP sequence to be all Closed. What settings do I need to achieve this?

I currently have the following code set up in addition to the GOPPicSize and GOPRefDist set but when I check the GOP flag some are closed and some are open.

    pMFXInfo->GopOptFlag     =    MFX_GOP_CLOSED;   (or I've tried  pMFXInfo->GopOptFlag     =    MFX_GOP_STRICT;)
    pMFXInfo->IdrInterval         =    0;

Any help will be greatly appreciated.

0 Kudos
2 Replies
Jeffrey_M_Intel1
Employee
74 Views

You've got the right group of parameters and the settings seem very reasonable.  Are you encoding to H.264 or MPEG2?   With H.264 IDR implies closed GOP.  

Anonymous27
Beginner
74 Views

I am currently encoding in both H264 and MPEG2. I am using the IDR setting in the H264 encode. When I analyze the MPEG2 file in MProbe the GOP has a pattern of being closed for a few frames, then open for another few, then closed again, etc.

Reply