New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMD HW AV1 cannot use P010 colour format with QVBR, HQVBR, HQCBR rate control, OBS does not provide any useful errors why recording fails #10193
Comments
has related thread on the forum: |
Use Rate Control |
Thanks, that worked, in a sense of "I could record P010 successfully after switching to CQP" How is it misleading? Obviously OBS can't do anything about the fact that HQVBR requires preanalysis and that only works with NV12, but it sure can provide a more meaningful error Basically your message minus the snark would explain everything perfectly |
Because your title implies P010 doesn't work with AMF AV1 And yes, I agree that the error could be more informative. |
@lextra2 Please keep comments on-topic, and don't berate users for not having knowledge you think they should posses. As for this issue, I agree that if this is a known universal fail condition we should have some kind of protection or warning against it. @empZealoth Can you adjust the title to reflect the error is with P010 and specific rate control methods so this can be better tracked? |
I'm not sure that we can reliably know that QVBR, HQVBR & HQCBR will forever set We can probably add detection on our end for this (check color format and rate control method?), but we'll have to be mindful if AMF changes what it does or supports. |
Can you not check for I changed the title. If it still needs to be changed just say what needs to be improved |
@RytoEX Also, AMD is probably working on making PreAnalysis work with P010 |
I'm not sure the property itself is initialized in AMF until we try to call Init, since I don't think we are setting it ourselves. I'm actually not clear from the AMF docs if these rate control methods forcefully enable PreAnalysis, or if you must enable it for them to work. From the AMF docs:
Yes, I mentioned this as a possibility above, with the caveat that we will have to keep on top of what changes AMD continues to make:
|
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
...
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
The text was updated successfully, but these errors were encountered: