Intel-Media-SDK / MediaSDK

The Intel® Media SDK
MIT License
926 stars 457 forks source link

when bitrate change, then call MFXVideoENCODE_Reset function lead to mosaic #2959

Open shgitcode opened 2 years ago

shgitcode commented 2 years ago

System information

Issue behavior

Describe the current behavior

Encode information: H264 BP 1920*1080@NV12

Detect "dynamic change of bitrate" feature: when mfxVideoParam.mfx.TargetKbps changed, I can call this function: MFXVideoENCODE_Reset(m_session, mfxVideoParam); and then call function MFXVideoENCODE_EncodeFrameAsync(m_session, ctrl, surface, bs, syncp) to encode video frame, I hope all encoded frames are very good, but sometimes some frames are blurred frame.

图片

Describe the expected behavior

Debug information