Repository navigation
fix(release): fetch Intel macOS ffmpeg from osxexperts after evermeet's 410 - #96
Conversation
…'s 410 evermeet.cx retired its unversioned "latest release" redirect (/ffmpeg/getrelease/zip now answers 410 "API endpoint removed due to exorbitant abuse"), which failed ffmpeg staging for darwin/x64 and with it the v1.0.16 release and the nightly snapshot. Stage the Intel build from osxexperts.net instead, the host darwin/arm64 already uses. The URLs are pinned to a version because osxexperts keeps superseded builds online; evermeet's versioned files redirect to a mirror too slow to fit the release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| 'https://evermeet.cx/ffmpeg/getrelease/zip', | ||
| 'https://evermeet.cx/ffmpeg/getrelease/ffprobe/zip', | ||
| 'https://www.osxexperts.net/ffmpeg80intel.zip', | ||
| 'https://www.osxexperts.net/ffprobe80intel.zip', |
There was a problem hiding this comment.
Important: the Intel build is now ffmpeg 8.0 (80intel) while the arm64 build next to it is 7.1.1 (711arm). The two macOS release archives now ship different ffmpeg major versions. Muxer, poster-frame and audio-extraction behaviour can differ between 7.x and 8.x, so a video upload that works on Apple Silicon can fail or produce different output on Intel, and the reverse. Nothing in the script or the CI checks this. Fix: pin both architectures to the same ffmpeg version if osxexperts publishes matching builds (for example ffmpeg711intel.zip and ffprobe711intel.zip). Otherwise record the skew explicitly and add a smoke test that runs ffmpeg -version and the metadata and poster paths against each staged binary.
| * timeout and archive checks below rather than trusted. The URLs are pinned to | ||
| * a version because osxexperts keeps superseded builds online; evermeet.cx, | ||
| * which used to serve Intel, retired its unversioned "latest release" redirect | ||
| * with a 410, and its versioned files sit behind a far slower mirror. |
There was a problem hiding this comment.
Important: the comment says the URLs are "pinned to a version" and that osxexperts "keeps superseded builds online". The files are plain names like ffmpeg80intel.zip, hosted by a single personal site, and the script has no checksum. Nothing stops the host from replacing the contents behind the same name, and a replacement would pass the size and zip-magic checks and go into a signed release. The new claim also isn't backed by anything in the repo. Fix: add a pinned SHA-256 per URL and verify it in verify(), or at least weaken the comment so it doesn't promise immutability.
Related: the header at lines 14-17 says every entry is an LGPL build. osxexperts' static builds are, as far as I know, normally built with --enable-gpl (x264/x265), and that wasn't checked for the new Intel archives. If any are GPL, the licensing rationale in that header no longer holds. Please confirm the configure flags (ffmpeg -version) for both macOS archives.
| * with a few kilobytes of HTML under a 200. macOS has no equivalent CDN-hosted | ||
| * build, so it stays on the two established hosts — bounded by the timeout and | ||
| * archive checks below rather than trusted. | ||
| * build, so both architectures come from osxexperts.net — bounded by the |
There was a problem hiding this comment.
Nit (optional): with both macOS architectures now on osxexperts.net, several comments elsewhere in the file are stale. Line 239 says "Every target is a different host", but four archive downloads (two per arch) now run in parallel against this one personal host. That makes throttling or stalls more likely, and the retry and stall limits were tuned for one download per host. The "macOS hosts" wording at lines 49, 94-95 and 182-183 is stale in the same way. Fix: update that wording, and consider fetching the macOS targets sequentially.
🤖 Claude Code · Fix CI Release Failure in FFmpeg StagingInvestigated the failed CI release and implemented a fix in the FFmpeg staging script.
2.5M tokens: 1.2K input · 14.2K output · 2.4M cache read · 83K cache write 📝 AI summaryReviewed the latest release failure in CI and traced the issue to the FFmpeg staging workflow. The investigation used shell commands and repository tooling to inspect the release process and determine the necessary correction. Updated View this session on ShellTime → Updated 2026-11-26 15:33 UTC by ShellTime · totals for the whole session so far · the session page is visible to its owner |
Why
The v1.0.16 release (run) and the nightly Release Snapshot both fail in the
stage-ffmpeg.tsGoReleaser hook. The darwin/x64 download from evermeet.cx now returns:evermeet retired its unversioned
getreleaseredirect. Its versioned files (/ffmpeg/ffmpeg-9.1.zip) still exist, but they redirect to a personal mirror on port 4242 that took over 2 minutes without finishing one 26 MB file.What
darwin/x64 now downloads from osxexperts.net, the host darwin/arm64 already uses:
https://www.osxexperts.net/ffmpeg80intel.ziphttps://www.osxexperts.net/ffprobe80intel.zipThe URLs are pinned to a version, as the arm64 ones are. osxexperts keeps superseded builds online: the arm64
ffmpeg711arm.zipis no longer linked from its page but still downloads. The comment above the target list now describes the macOS source accurately.Verification
bun run scripts/stage-ffmpeg.tsstages all 5 targets locally, andfilereports the right format for each binary: Mach-O x86_64/arm64, ELF x86-64/aarch64, PE32+.__MACOSX/entry inffmpeg80intel.zipis already skipped bycollect().main, so they come from my local setup. CI is the reference for the test run.After merge
The
v1.0.16tag still contains the broken URL, so re-running its job won't help. Release-please will open a 1.0.17 PR, and merging that ships the binaries. In the meantimev1.0.15is marked Latest again, becauseinstall.shandinstall.ps1download fromreleases/latest/downloadandv1.0.16has no assets.Note, not changed here
The script comment says each entry is an LGPL build. The macOS builds (osxexperts now, evermeet before) are configured with
--enable-gpl --enable-version3, which makes them GPLv3. Only the BtbN Linux/Windows builds are LGPL.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.