cmake: add logic to download ffmpeg for win32#190
Open
crmurillo wants to merge 2 commits intoKhronosGroup:mainfrom
Open
cmake: add logic to download ffmpeg for win32#190crmurillo wants to merge 2 commits intoKhronosGroup:mainfrom
crmurillo wants to merge 2 commits intoKhronosGroup:mainfrom
Conversation
c78d419 to
2ae4448
Compare
dabrain34
requested changes
Apr 9, 2026
07c051a to
e93e08b
Compare
Download FFmpeg shared libraries for Windows if they are not already present. Pre-built LGPL binaries are fetched from BtbN/FFmpeg-Builds for win64 and winarm64 platfoms. Downloads are verified against published SHA256 checksums. The automatic download can be disabled with -DDOWNLOAD_FFMPEG=OFF.
-Removed step to download FFmpeg for Windows since this is now handled by cmake. -Downloading FFmpeg is enabled by default for 64-bit builds except for the new job windows-x64-without-ffmpeg. -Disabled FFmpeg download for 32-bit Windows builds: pre-built 32-bit FFmpeg libraries are not available from BtbN/FFmpeg-Builds.
e93e08b to
1e1c21f
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
Currently, using FFmpeg on Windows requires manual installation.
This patch adds a cmake module that downloads FFmpeg shared libraries for Windows when they are not already present. Pre-built LGPL binaries are fetched from BtbN/FFmpeg-Builds for win64 and winarm64 platforms, and verified against published SHA256 checksums.
The automatic download can be disabled with
-DDOWNLOAD_FFMPEG=OFF.Type of change
feature
Tests
AMD proprietary driver 26.3.1 (AMD proprietary shader compiler) / Windows 10
Total Tests: 73
Passed: 37
Crashed: 2
Failed: 2
Not Supported: 28
Skipped: 4 (in skip list)
Success Rate: 90.2%
Intel(R) UHD Graphics 770 (ADL-S GT1) / Intel open-source Mesa driver Mesa 26.1.0-devel (git-055aec542e) / Ubuntu 24.04.4 LTS
Total Tests: 73
Passed: 54
Crashed: 0
Failed: 0
Not Supported: 14
Skipped: 5 (in skip list)
Success Rate: 100.0%
AMD Radeon RX 7600 (RADV NAVI33) / radv Mesa 26.1.0-devel (git-055aec542e) / Ubuntu 24.04.4 LTS
Total Tests: 73
Passed: 63
Crashed: 0
Failed: 0
Not Supported: 6
Skipped: 4 (in skip list)
Success Rate: 100.0%
Additional Details (optional)
For AMD proprietary driver for Windows, there are 2 tests that fail and 2 tests that crash.
Those tests should be skipped, this change is currently part of another pull request.
See commit 5b6c01.