Skip to content

Deps: Bundle ffmpeg on Windows#14065

Draft
TheLastRar wants to merge 1 commit intoPCSX2:masterfrom
TheLastRar:Bundle-ffmpeg-Win
Draft

Deps: Bundle ffmpeg on Windows#14065
TheLastRar wants to merge 1 commit intoPCSX2:masterfrom
TheLastRar:Bundle-ffmpeg-Win

Conversation

@TheLastRar
Copy link
Contributor

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 make available 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant