Draft
Conversation
bbf65c6 to
3eff3f1
Compare
3eff3f1 to
e567e11
Compare
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 of Changes
Build a minified version of ffmpeg for Windows
Rationale behind Changes
Avoids having to download an extra dependency for media capture.
ffmpeg and it's dependencies are built size optimised with LTO.
However, asm is enabled, which inflates the build size.
We require
makeavailable in the path, which the runners already have.I've opted to use pkgconf, as it seemed easier to build on Windows compared to pkgconfig.
ffmpeg is built with the following video encoders;
AMD AMF (H264, H265, AV1)
Intel QSV (H264, H265, AV1)
Nvidia NVENC (H264, H265, AV1)
MediaFoundations (H264, H265, AV1)
Vulkan (H264, H265, AV1)
libx264 (H264)
libsvtav1 (AV1)
ffv1 (FFmpeg's own codec)
qtrle (Apple QT RLE)
And the following audio encoders;
aac
libopus
flac
pcm_s16
Suggested Testing Steps
Test software encoders
Test hardware encoders (on the 3 supported GPUs)
Did you use AI to help find, test, or implement this issue or feature?
No