MediaSDK
MediaSDK copied to clipboard
when bitrate change, then call MFXVideoENCODE_Reset function lead to mosaic
System information
- CPU information: Intel(R) Core(TM) i5-7500 CPU @3.40GHz
- GPU information: Intel(R) HD Graphics 630
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
- What's libva/libva-utils/gmmlib/media-driver/Media SDK version?
- Could you confirm whether GPU hardware exist or not by
ls /dev/dri? - Could you attach dmesg log if it's GPU hang by
dmesg >dmesg.log 2>&1? - Could you provide vainfo log if possible by
vainfo -a >vainfo.log 2>&1? - Could you provide strace log if possible by
strace YOUR_CMD >strace.log 2>&1? - Could you provide libva trace log if possible? Run cmd
export LIBVA_TRACE=/tmp/libva_trace.logfirst then execute the case. - Media SDK tracer output (https://github.com/Intel-Media-SDK/MediaSDK/blob/master/tools/tracer/README.md)?
- Do you want to contribute a PR? (yes/no):