obs-ffmpeg: Fix hardware decode failed with av1 video#10785
Open
Hlongyu wants to merge 1 commit intoobsproject:masterfrom
Open
obs-ffmpeg: Fix hardware decode failed with av1 video#10785Hlongyu wants to merge 1 commit intoobsproject:masterfrom
Hlongyu wants to merge 1 commit intoobsproject:masterfrom
Conversation
Author
|
When decoding AV1 video, ffmpeg utilizes libdav1d as the optimal decoder, which does not support hardware decoding. The only decoder that supports hardware decoding is named "av1," but it does not support software decoding. Therefore, if an attempt is made to decode an AV1 video using hardware, the "av1" decoder will be employed. If decoding fails due to unsupported GPU capabilities, OBS should switch to libdav1d for software decoding. However, it is uncertain whether OBS will make this switch. Could someone verify this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add support for av1 hardware decode
Motivation and Context
#10213
https://github.com/mpv-player/mpv/blob/112fa549beb52ab3d75999c8d8a82936e13001c4/video/decode/vd_lavc.c#L312
How Has This Been Tested?
Tested on Windows11 nvidia 3060 laptop with 8k av1 video
Types of changes
Checklist: