obsproject / obsproject/obs-studio

AMD HW H.264 (AVC) HQCBR and HQVBR ignores bitrate settings

Open
#10,696 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/pEvB87fs4SfOBF33

OBS Studio Crash Log URL

No response

Expected Behavior

The resulting bitrate corresponds to the indicated in the settings.

Current Behavior

The resulting bitrate does not even closely correspond to the indicated in the settings. For example, I set 6 Mbps. In simple scenes bitrate will be ~20 Mbps, in complex ~140 Mbps. This is displayed both in the Stats window and in the properties of the resulting file.

Steps to Reproduce
  1. Output Mode - Advanced
  2. On Recording tab:
    Video Encoder - AMD HW H.264 (AVC)
    Rate Control - HQCBR or HQVBR
    Bitrate - 6000 Kbps
    It seems the rest of the settings does not affect this.
  3. Start Recording
Anything else we should know?

AMD Adrenalin version 24.5.1
The problem is present only with AVC. HEVC and AV1 work as expected.
This behavior is very similar to CQP ~20. Clarification: CQP value displayed in the log is not related to this problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with OBS Studio 30.1.2 on Windows 11 using AMD HW H.264 (AVC), HQCBR or HQVBR, and a 6000 Kbps bitrate. Compare the OBS log and resulting recording bitrate with the expected setting, and verify that AVC is corrected without regressing the working HEVC and AV1 paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.