Skip to content

ci: pin a month-end FFmpeg 9.0 build on Windows - #279

Merged
dmtrKovalenko merged 2 commits into
dmtrKovalenko:mainfrom
silouanwright:ci/ffmpeg-9.1-windows
Dec 3, 2026
Merged

dmtrKovalenko merged 2 commits into
dmtrKovalenko:mainfrom
silouanwright:ci/ffmpeg-9.1-windows

Conversation

@silouanwright

@silouanwright silouanwright commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Hey, main is red right now, and so is every open PR. Both Windows jobs ("Windows build and render test" and "E2E frames (windows-latest)") fail before they build anything.

Nothing in fframes caused it. On Nov 27, FFmpeg-Builds replaced its 9.0 builds with 9.1 (FFmpeg-Builds/FFmpeg-Builds@36da811, "Replace 9.0 builds with 9.1"). The Windows jobs download ffmpeg-n9.0-latest-win64-gpl-shared-9.0.zip from the latest release, and that file is gone now, so curl gets a 404. You can see it in the scheduled runs on the same commit, 1cb1940:

The filename has pointed at latest since Windows support landed in #135, so this was bound to happen at the next point release.

The fix

My first try just switched to the 9.1 build. That doesn't work: the 9.1 headers break binding generation in ffmpeg-sys-fframes 9.0.0 (unknown type name 'CUarray' in libavutil/hwcontext_cuda.h).

So this pins the 9.0 build from FFmpeg-Builds' Oct 31 release instead (autobuild-2026-10-31-12-59, ffmpeg-n9.0.2-39-g7adfbe40dc). FFmpeg-Builds keeps month-end releases long term (they go back to Dec 2024), so this pin won't vanish the next time latest moves.

Moving to 9.1 later means teaching ffmpeg-sys-fframes about the new CUDA header first.

Summary by CodeRabbit

  • Chores
    • Updated the Windows build and automated test environments to use a specific FFmpeg release instead of the latest release. These changes affect build and test configuration only; no app functionality or user-facing behavior changed.

BtbN's latest release replaced the n9.0 build with n9.1, so downloading ffmpeg-n9.0-latest-win64-gpl-shared-9.0.zip returns 404 and both Windows jobs fail before building.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Windows build and E2E jobs now use the fixed FFmpeg release autobuild-2026-10-31-12-59 and build ffmpeg-n9.0.2-39-g7adfbe40dc-win64-gpl-shared-9.0 instead of the latest release.

Changes: Windows FFmpeg build pin

Layer / File(s) Summary
Pin Windows workflow versions
.github/workflows/main.yml
The Windows build and E2E jobs use the fixed FFmpeg release and build identifier. The build job comments on the release selection and the 9.1 header limitation.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: dmtrkovalenko

Merge Risk: Minimal · up to fae7b

The change pins the Windows CI FFmpeg download to a fixed 9.0 release, so CI no longer breaks when the latest release changes. No actionable merge risk remains. Updating the PR description to say 9.0 would remove the inconsistency.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Windows FFmpeg download now pins a fixed month-end FFmpeg 9.0 build instead of the moving latest release. The summary confirms the workflow now downloads from the …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: the Windows FFmpeg download now pins a fixed month-end FFmpeg 9.0 build instead of the moving latest release. The summary confirms the workflow now downloads from the fixed autobuild-2026-10-31 release with a 9.0 build name. The PR objectives note a conflict: the PR description says the switch goes to the 9.1 archive, while the commit message and the file changes use 9.0. The title matches the code and the commit message, so it passes.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 62f5983f-7ba1-4924-8d4a-f89307bf0826
Commits

Reviewing files that changed from the base of the PR and between 67e26fd and fae7bfa.

Files selected for processing: 1

  • .github/workflows/main.yml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

The 9.1 headers fail binding generation in ffmpeg-sys-fframes 9.0.0 (unknown type CUarray in hwcontext_cuda.h). Pin the 9.0 build from the Oct 31 FFmpeg-Builds release, which is kept as a month-end snapshot, so it does not disappear when latest moves on.
@silouanwright silouanwright changed the title ci: link the FFmpeg 9.1 build on Windows ci: pin a month-end FFmpeg 9.0 build on Windows Dec 1, 2026
@dmtrKovalenko
dmtrKovalenko merged commit cda70a4 into dmtrKovalenko:main Dec 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants