intel / intel/media-driver

[Bug]: dynamic change bitrate issue

Open
#1,880 1 comment 0 reactions 1 assignee Assigned to @bai-isaac View on GitHub
Encode
Dominant language
C
Stars
1.2k
Forks
383
Avg merge
8d 18h
Merged PRs (30d)
4

Description

### Which component impacted?

Encode

### Is it regression? Good in old configuration?

No, this issue exist a long time

### What happened?

> ** when I use " Intel MediaSDK 2022Q3 Release - 22.5.4" at 11th Gen Intel(R) Core(TM) i7-1165G7.**
>
> use h264 encode, 720p5994,BufferSizeInKB set to 3500 at init, when I change bitrate from 27Mbps -> 32Mbps . m_pmfxENC->Reset faild, ret=-14 or ret=5. hevc don't have this issue.
>
> Q1: Is there any way to avoid this error(ret=-14/ret = 5)?
>
> when encode ret=-14 or ret=5, sometime will cause sample_decode return -14(MFX_ERR_INCOMPATIBLE_VIDEO_PARAM).


I have add use LD_PRELOAD=/opt/intel/mediasdk/lib64/libmfx-tracer.so.1.35 to catch the debug log, please see at the comment. you can search MFX_WRN_INCOMPATIBLE_VIDEO_PARAM.

I also meet this issue when use one vpl.



### What's the usage scenario when you are seeing the problem?

Others

### What impacted?

_No response_

### Debug Information

_No response_

### Do you want to contribute a patch to fix the issue?

None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.