-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
obs-ffmpeg: Add AV1 support for VA-API #8832
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
Conversation
a49538a to
40e1a2c
Compare
|
Patches have been submitted upstream: http://ffmpeg.org/pipermail/ffmpeg-devel/2023-July/311892.html |
|
Hi @nowrep , the one idea to handle this might be to split this PR into
This way the first PR could already be merged and afterwards there would be no conflict between the nvenc & vaapi PRs. What do you think? |
|
Opened #9475 with only the AV1 parsing commit. |
25228f0 to
c4faeec
Compare
|
FYI, looks like we'll have AV1 support in ffmpeg 6.1: FFmpeg/FFmpeg@3be81e3 |
|
If anyone (who is comfortable with patching/rebuilding ffmpeg) wants to test this, I've backported the ffmpeg av1 encoder patches required for it to work on ffmpeg 6.0, verified it works on my side with this PR: https://gist.github.com/GloriousEggroll/6e207ec166ec76510f32505439adef43 *Please, if you are not familiar with patching do not ask for assistance here, I will not provide it. This PR is not a 'how to' guide and I do not want to pollute the tracker with unrelated comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also tested this now that I have some amd and intel hardware, and it seems to work fine on my machine with ffmpeg's dev branch.
|
Now that ffmpeg landed AV1 vaapi encoding, will this be merged into OBS? |
|
Wow, I tested this on 7900XTX with pached ffmpeg and all work (short test) :) . Waiting until support for ffmpeg 6.1 is added? Or did I miss something? |
|
6.1 should have it: https://github.com/FFmpeg/FFmpeg/blob/n6.1/libavcodec/Makefile#L258 |
|
Surely this will be merged soon! |
|
Would this work with a RX 6800 XT? |
Should only work with cards that support vaapi AV1 Encoding (RDNA3+, Intel Arc etc) |
|
With Mesa 23.3 out now I assume this is one of the last changes required to bring AV1 encode support for RDNA3 on Linux? If so, it would be great to see this merged 😄 |
|
Mesa had VAAPI AV1 encoding for AMD for a while already, so it's not a blocker. |
|
Can this be merged please, so it could be released in 30.0.3? |
We don't add new features in patch/point releases. PRs are reviewed and merged as we have time to do so. |
I see, thanks. May be this can be added to 30.1 then? Since such releases happen around twice a year, it would be good not to miss the next one. |
Again, PRs are reviewed and merged as we have time to do so. We have a lot of things to look at and prioritize at any given time. We understand and share the enthusiasm for AV1, but I'd please ask that we keep PR comments to actual reviews of the PR content so that reviewers don't have to dig through unrelated contents to figure out if a specific topic on the substance of the PR has been discussed/resolved. Thank you for your understanding. |
0faf4ff to
9952d32
Compare
Use High profile for H264 and auto level with all codecs. Remove setting default value for unused "rendermode" option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed my own mistake. Seems fine, and others off-thread have said this seems fine.
AV1 support for VA-API encoder.
Description
Added FFmpeg VAAPI AV1 encoder.
Motivation and Context
Draft for now as av1_vaapi FFmpeg encoder is not yet upstreamed.How Has This Been Tested?
Tested with Mesa driver.
Types of changes
Checklist: