- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello?
i'm transcoding with Intel Media SDK
- Init GopPicSize 30
MFXVideoENCODE_Init() -> MFXVideoENCODE_Query()
loop()
MFXVideoDECODE_DecodeFrameAsync() -> MFXVideoENCODE_EncodeFrameAsync()
- Add MFXVideoENCODE_Reset() Fuction to chagne GopPicSize 150
MFXVideoENCODE_Init() -> MFXVideoENCODE_Query()
loop()
MFXVideoDECODE_DecodeFrameAsync() -> MFXVideoENCODE_EncodeFrameAsync() -> MFXVideoENCODE_Reset()
Is it the correct way to chagne GopPicSize to MFXVideoENCODE_Reset() Function?
Thank you..
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SeongHun,
You can change GOP size without calling Init() again.
Do this with simply changing "GopPicSize=150" and call Reset().
Like,
m_pmfxENC->EncodeFrameAsync(....)
.....
if( any condition here)
{
m_mfxEncParams.mfx.GopPicSize = 150;
m_pmfxENC->Reset(&m_mfxEncParams);
}
Regards,
Peter.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page