obsproject / obsproject/obs-studio

Dynamic Bitrate breaks Intel QuickSync encoder

Open
#9,017 0 comments 0 reactions 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

29.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2FRBoKQDAgL6nLkZMs#logURL

OBS Studio Crash Log URL

No response

Expected Behavior

After changed from NVENC to QUICKSYNC i expected for everything to work as intended but using my iGPU encoder instead of the dGPU encoder, to free power for the GPU to use in demanding games.

Current Behavior

I changed from NVENC to QUICKSYNC encoder and the dynamic bitrate settings started malfunctioning, drops the bitrate to 0 at irregular times and never recovers, can't even stop the stream via the GUI (have to force close OBS from task manager).
Never happened with NVENC.
If i disable dynamic bitrate, i get flooded with dropped frames, but mostly functional, NEVER had dropped frames until i started using QUICKSYNC and disabled dynamic bitrate, video encoding on the iGPU hovers at 20% usage.

Steps to Reproduce
  1. Set dynamic bitrate in advanced options with intel quicksync encoder
  2. Set bitrate to 8000 kbps, CBR, Target: quality, Profile: high, Keyframe 2s, Latency: normal and 3 BFrames.
  3. wait for the bitrate to reach 0 and never recover
    5.Im using 12600k as CPU/iGPU and 2060 as dGPU.
    ...
Anything else we should know?

Everything is updated to the latest version, OS, OBS, Drivers.

Here are 2 logs from the crashes.
https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2FRBoKQDAgL6nLkZMs#logURL
https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2F8cpNlR5AIXfMPWCZ

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 reviewing the two OBS analyzer logs linked in the issue and reproducing the setup with Intel QuickSync, dynamic bitrate, and the listed 8000 kbps CBR settings. Trace where dynamic bitrate responds to the QuickSync encoder state; done means the bitrate does not remain at 0 and OBS can stop the stream normally without force-closing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.