Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

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

Open
shgitcode opened this issue Jul 14, 2022 · 0 comments
Labels

Comments

@shgitcode
Copy link

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.log first 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):
@shgitcode shgitcode added the bug label Jul 14, 2022
@shgitcode shgitcode changed the title when call MFXVideoENCODE_Reset function lead to blurred frame when call MFXVideoENCODE_Reset function lead to mosaic Jul 15, 2022
@shgitcode shgitcode changed the title when call MFXVideoENCODE_Reset function lead to mosaic when bitrate change, then call MFXVideoENCODE_Reset function lead to mosaic Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant