obsproject / obsproject/obs-studio

AMD HW AV1 cannot use P010 colour format with QVBR, HQVBR, HQCBR rate control, OBS does not provide any useful errors why recording fails

Open
#10,193 10 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

30.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/tSO2db1BOnxNJl4Q

OBS Studio Crash Log URL

No response

Expected Behavior

Succesfully record HDR footage using AMD HW AV1 by switching to P010 colour format and Rec. 2100 (PQ) colour space as well as switching capture colour space to Rec. 2100 (PQ)

Current Behavior

Switching to P010 colour space causes recording to fail with weird/irrelevant error
image
I already verified both my AMD drivers and OBS are up-to-date

The log line is also pretty cryptic:
12:23:05.451: [fallback-amf-av1] amf_av1_create_fallback: AMFComponent::Init failed: AMF_INVALID_ARG

Steps to Reproduce
  1. I'm using W11 and 7800XT GPU and these settings:
    image
    image
    image
  2. In my inexperienced/limited testing it's enough to switch to P010 colour format to get the error in my setup
  3. Start Recording
  4. Error -> recording cancelled

...

Anything else we should know?

Current settings work perfectly when I'm using AMD HW AV1 with NV12 and Rec.709, so at least some part of my hardware encoder is clearly working

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 with the fallback-amf-av1 entry point, amf_av1_create_fallback, and the reported AMFComponent::Init failure. Reproduce the Windows 11 setup with AMD HW AV1, P010, and the listed rate controls, then compare it with the working NV12 and Rec.709 configuration. Done means recording either succeeds with P010 or reports a useful, relevant error.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.