build(ffmpeg): update to FFmpeg 7.1 #359
Merged
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
This PR rebases from FFmpeg 6.1 to FFmpeg 7.1.
Notable changes:
01-amf-colorspace-v3.patch
was upstreamed in FFmpeg 7.1, but it requires a fixup to pass-through the proper colorspace into the bitstream for HEVC and AV1. I replaced it with the patch I sent to ffmpeg-devel, but upstream will probably take a better fix that handles both internal RGB->YUV conversion and pre-converted YUV input02-idr-on-amf.patch
was upstreamed but missed the 7.1 cut, so this patch is replaced with my upstreamed version. This requires changes on the Sunshine side to set theforced_idr
option for AMF like we do for QSV and NVENC.05-amfenc-new-av1-usages.patch
was upstreamed for FFmpeg 7.1, so that patch is dropped completely05-vaapi-customized-surface-alignment.patch
needed to be reworked due to upstream refactoring of common VAAPI/D3D12VA/Vulkan encoding logic into a single base classTesting checklist:
Screenshot
Issues Fixed or Closed
Type of Change
.github/...
)Checklist