Hi,
I intended to see the frame type (I,P,B,etc.) during the encoding stage by checking the "FrameType" as a member of "mfxBitstream" structer.
But it seemed that some of the FrameTypes were not the pre-defined values in "mfxstructurs.h", such as MFX_FRAMETYPE_I =0x0001.
As shown below in my test result, the GOP pattern can be specified actually (I P B B B B P B B B B).
PTS: 1 (0x00c1), DTS: 0
PTS: 6 (0x0042), DTS: 1
PTS: 2 (0x0004), DTS: 2
PTS: 3 (0x0004), DTS: 3
PTS: 4 (0x0004), DTS: 4
PTS: 5 (0x0004), DTS: 5
PTS: 11 (0x0042), DTS: 6
PTS: 7 (0x0004), DTS: 7
PTS: 8 (0x0004), DTS: 8
PTS: 9 (0x0004), DTS: 9
PTS: 10 (0x0004), DTS: 10
PTS: 16 (0x0042), DTS: 11
Any idea how the strange values came?
Thanks