Skip to content

fix: update local FFmpeg core version to 0.12.10 to fix export crash#1388

Open
Abhishek2005-ard wants to merge 7 commits into
magic-peach:mainfrom
Abhishek2005-ard:fix/ffmpeg-core-version-mismatch
Open

fix: update local FFmpeg core version to 0.12.10 to fix export crash#1388
Abhishek2005-ard wants to merge 7 commits into
magic-peach:mainfrom
Abhishek2005-ard:fix/ffmpeg-core-version-mismatch

Conversation

@Abhishek2005-ard
Copy link
Copy Markdown

Description

This PR resolves a critical version mismatch issue that was causing the FFmpeg WASM engine to fail to load when falling back to the locally hosted UMD files.

Previously, scripts/download_ffmpeg_umd.js was hardcoded to download @ffmpeg/core@0.12.6, but the application actually uses @ffmpeg/ffmpeg^0.12.10 and validates against SRI hashes for 0.12.10. This mismatch caused the export process to silently fail or throw WASM loading errors.

The download script has been updated to fetch the correct 0.12.10 versions of both ffmpeg-core.js and ffmpeg-core.wasm.

Changes Made

  • Updated lines 13 and 17 in scripts/download_ffmpeg_umd.js to change the CDN URL version from @0.12.6 to @0.12.10.
  • Triggered a fresh download to replace the outdated local binaries in public/ffmpeg/umd/.

Testing Instructions

  1. Run node scripts/download_ffmpeg_umd.js.
  2. Start the local dev server using npm run dev.
  3. Force the application to use the local FFmpeg UMD files (if testing offline).
  4. Upload a video and successfully export it without any loading crashes.

close #1384

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@Abhishek2005-ard is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

✅ PR Format Check Passed — @Abhishek2005-ard

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@github-actions
Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Abhishek2005-ard!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@github-actions github-actions Bot added level:advanced Advanced level - 55 pts type:bug Bug fix type:testing Testing labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:advanced Advanced level - 55 pts type:bug Bug fix type:testing Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] FFmpeg core version mismatch in download_ffmpeg_umd.js causes WASM load failures

1 participant