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
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
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
- I'm using W11 and 7800XT GPU and these settings:
- In my inexperienced/limited testing it's enough to switch to P010 colour format to get the error in my setup
- Start Recording
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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