---
name: remotion-dev-upgrade-mediabunny
description: "Upgrade Mediabunny and related @mediabunny packages across the Remotion repo. Use when asked to update Mediabunny to the latest version."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "d9bfb508-11c9-4f1f-a7b6-cac37acfe7be"
  decimalai-version-id: "9fa8ee4c-9bb1-4f10-99fc-4ec63590ba9f"
  decimalai-version: "1"
  decimalai-body-sha256: "3c1a99c2a64ffc862273825f53107c1e61d54eb3ceacb27ed490a0069d1c4034"
  decimalai-name: "remotion-dev/upgrade-mediabunny"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "coding"
  decimalai-source: "https://app.decimal.ai/s/remotion-dev-upgrade-mediabunny@1/SKILL.md"
---
- Find the latest version of Mediabunny with `npm view mediabunny version`.
- In the root `package.json`, update the `catalog` versions for `mediabunny`, `@mediabunny/mp3-encoder`, and `@mediabunny/ac3` to that version.
- In `packages/template-*/package.json`, update `mediabunny` and any `@mediabunny/*` packages to the same version. Templates use explicit versions, not `catalog:`, so update them manually.
- Update `packages/cli/src/extra-packages.ts` with the new Mediabunny version.
- Update `packages/studio-shared/src/package-info.ts` with the new Mediabunny version in `extraPackages`.
- Update the compatibility table in `packages/docs/docs/mediabunny/version.mdx`. To find the next version this upgrade will be applied to, look in the root `package.json` for the version and increment the patch version by 1.
- Run `bun i` at the end.
