- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I set a Encoder with GOP = 3 to generate the h264 stream, then I check the frame type with checking the mfxStream.FrameType flag, but I get the weird order like: P, P, K, P ,P, K, P , P , K ( P is p frame and K is key frame).
I just wonder why the encoder didnt generate the h264 stream start with K frame? like K, P ,P, K, P , P , K , P, P
Here is my parameter:
encodepara.mfx.GopPicSize = 3;
encodepara.mfx.GopRefDist = 1;
encodepara.mfx.GopOptFlag = MFX_FRAMETYPE_I | MFX_FRAMETYPE_REF;
encodepara.mfx.IdrInterval = 0;
encodepara.mfx.NumRefFrame = 1;
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page