- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Go to the definition of MFX_FRAMETYPE_I and you'll see enum filled with MFX_FRAMETYPE_* flags. FrameType field holds combination of that flags. 0x00c1 = MFX_FRAMETYPE_I | MFX_FRAMETYPE_REF | MFX_FRAMETYPE_IDR, etc.
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Go to the definition of MFX_FRAMETYPE_I and you'll see enum filled with MFX_FRAMETYPE_* flags. FrameType field holds combination of that flags. 0x00c1 = MFX_FRAMETYPE_I | MFX_FRAMETYPE_REF | MFX_FRAMETYPE_IDR, etc.
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite