Hi I want to have 2 B-frames from Media encoder and set GopRefDist to be 3. But the size of encoded file is same as that of GopRefDist = 1 (no B-frame). It is supposed that encoded data size with B-frame is lower than that without B-frame. Here is the code m_mfxEncParams.mfx.GopPicSize = 15; //gop length should be enough to consume bitrate m_mfxEncParams.mfx.GopRefDist = 3; //Distance between I- or P- key frames (1 means no B-frames) m_mfxEncParams.AsyncDepth = 1;//internal buffering should be disabled in encode m_mfxEncParams.mfx.NumRefFrame = 1; Thanks for any advice. Jiuxiang
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.