🎥 Make videos programmatically with React
`@remotion/media`: Upgrade Mediabunny to 1.62.0
Jonny Burgercb0abe57eb50
diff --git a/bun.lock b/bun.lockindex de7b5c5e7a..c3d251b170 100644--- a/bun.lock+++ b/bun.lock@@ -2043,7 +2043,7 @@"@remotion/media": "workspace:*","@remotion/media-utils": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2172,7 +2172,7 @@"@remotion/media": "workspace:*","@remotion/media-utils": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2420,7 +2420,7 @@"connect": "3.7.0","eslint": "10.12.0","lucide-react": "0.516.0",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2556,7 +2556,7 @@"@remotion/media": "workspace:*","@remotion/three": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2946,13 +2946,13 @@"@aws-sdk/middleware-flexible-checksums": "3.972.5","@aws-sdk/s3-request-presigner": "3.986.0","@huggingface/transformers": "4.2.0",- "@mediabunny/aac-encoder": "1.61.3",- "@mediabunny/ac3": "1.61.3",- "@mediabunny/dts": "1.61.3",- "@mediabunny/flac-encoder": "1.61.3",- "@mediabunny/mp3-encoder": "1.61.3",- "@mediabunny/prores": "1.61.3",- "@mediabunny/server": "1.61.3",+ "@mediabunny/aac-encoder": "1.62.0",+ "@mediabunny/ac3": "1.62.0",+ "@mediabunny/dts": "1.62.0",+ "@mediabunny/flac-encoder": "1.62.0",+ "@mediabunny/mp3-encoder": "1.62.0",+ "@mediabunny/prores": "1.62.0",+ "@mediabunny/server": "1.62.0","@react-three/fiber": "9.2.0","@types/bun": "1.4.2","@types/dom-webcodecs": "0.1.11",@@ -2965,7 +2965,7 @@"@vitejs/plugin-react": "4.3.4","@vitest/browser-playwright": "5.0.3","eslint": "9.19.0",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","next": "16.4.0","onnxruntime-node": "1.24.3","openai": "4.67.1",@@ -4043,19 +4043,19 @@"@mdx-js/react": ["@mdx-js/[email protected]", "", { "dependencies": { "@types/mdx": "2.0.5", "@types/react": "19.0.0" }, "peerDependencies": { "react": "19.0.0" } }, "sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g=="],- "@mediabunny/aac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-SH4DdqqUJRqIErXbuxIze0ACbSyi3Rau90skDwp8YbwopFYm2dgPidLPbwqdmTd/sESHwq7Nf3nDbczAxtcVmA=="],+ "@mediabunny/aac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-BtGaX3GVGgfQzbqeuqeKAOvHF2lhV70FO3T2orAr4Lr6YklRBOaggfRsKEp93cd6Y7DQab9GFYAuURa1DksCYw=="],- "@mediabunny/ac3": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-kEupOERqZ6zCQBzx0Ea5R9LgP2pQJUFx/Yo+UL0jL71QIZmoAfdZXXZJKpMfKVWToEacvc9+1XQagfHV6jZNpQ=="],+ "@mediabunny/ac3": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-9EyY1hsZFd5iYlhQVMH+YlFx3aLbZki/YN/ynCKOokMHTJ7X78slPPU1sMS4orgajYK0i24341r2z8Z8r3iUhg=="],- "@mediabunny/dts": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-WqpDuQDTgBd3ohQxlAVpnb8B4rb8FHYk/+kNKi1Yp37EdJVahwNj1QULClN87XaneE8s0rDC6ArdXHqOuTYYGA=="],+ "@mediabunny/dts": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-xXbF05aRTPeg8Iz4yf9xwXTqgRakEggO5j7i1b9k9O39BjZOaiCjH8ar9uK9bbkUev1cwTQVyYsr5IxQnVOaNA=="],- "@mediabunny/flac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-j/WaaxIKA1KtyplrRLkSEb68+TMkMfg854CPm/R5Luf0KEx6maZabuHtARmoZ25PsFoyTgutJXLiVupyF7V/jw=="],+ "@mediabunny/flac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-ZxyElacW8o61mydIXVzYClv6E0ULkXcq9Aup+GQGpuaHKaZPF1y8S5gGrs4rFkr1s0bZ7iYGYPxHeGrg7J1yjg=="],- "@mediabunny/mp3-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-Qmegig3hXp8dhbJnze1fumsC7GXkMp6NH5mGgvl5o4zzp2cYgmjjbWps5mPyRq3VHcxLbDdiXDNVcl4Mv7c1tQ=="],+ "@mediabunny/mp3-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-72yrJXFO+qkFurWzVpkTu7e5yVF6qFB0mmyaMcg7Ztwz5a+bSvuitkaIY82FBk5vM7euCKzFuqVwOzH0YUCcLg=="],- "@mediabunny/prores": ["@mediabunny/[email protected]", "", { "dependencies": { "turbores": "^1.2.2" }, "peerDependencies": { "mediabunny": "^1.49.0" } }, "sha512-ZZK+TGzHra6mEH+qFR8OwvfUpo4beI7+FotArwZKzDSsLLCew9Lgj2zVZgsv7vmBf8H7KGxTbF5mrMkWYnMJSg=="],+ "@mediabunny/prores": ["@mediabunny/[email protected]", "", { "dependencies": { "turbores": "^1.2.4" }, "peerDependencies": { "mediabunny": "^1.49.0" } }, "sha512-w+sXA86HtNWQ7rGMOx9UUfMeWaJ35c4YkocF+NhuAmH5BbwAAr60o/6DOVdCoPjCqRcW2adBTQ4LeXpOaNVVdg=="],- "@mediabunny/server": ["@mediabunny/[email protected]", "", { "dependencies": { "@mediabunny/prores": "^1.61.3", "node-av": "^6.0.0" }, "peerDependencies": { "mediabunny": "^1.45.0" } }, "sha512-KOYbrbjO+JDfmnflcHenjfL+S66X03HeceRra/oX4Twjhp1Rb8iZ7InFanuMsI8XxGU649e1UiG2QVzezpY1Yw=="],+ "@mediabunny/server": ["@mediabunny/[email protected]", "", { "dependencies": { "@mediabunny/prores": "^1.62.0", "node-av": "^6.0.0" }, "peerDependencies": { "mediabunny": "^1.45.0" } }, "sha512-Js4ytdx0y5QJJqdcFHIzCxqa92OGr48n0BUdtUEV1DdD/NL9oDHUDfSKrQNFrto+GzI+8gt/hbfhAiQNhW5ETA=="],"@mediapipe/tasks-vision": ["@mediapipe/[email protected]", "", {}, "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg=="],@@ -7397,7 +7397,7 @@"media-typer": ["[email protected]", "", {}, "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ=="],- "mediabunny": ["[email protected]", "", { "dependencies": { "@types/dom-mediacapture-transform": "^0.1.11", "@types/dom-webcodecs": "0.1.13" } }, "sha512-kUqLKVXQVwHR62GkOJxYosAmXERJbqnXBgJDTtRlxHEYviVkMg/Evhl9XN6kedqS5LP1tV4kFKyzY/V4a4ofow=="],+ "mediabunny": ["[email protected]", "", { "dependencies": { "@types/dom-mediacapture-transform": "^0.1.11", "@types/dom-webcodecs": "0.1.13" } }, "sha512-D8E8BDxjCyqyrGj074jLRQNgilDW5izJu8o9pg7THMYMIZBL1Fao5hOtdDPDfA+nSnk68tMa8IaCJmz8hSpJpw=="],"mem": ["[email protected]", "", { "dependencies": { "map-age-cleaner": "^0.1.1", "mimic-fn": "^2.0.0", "p-is-promise": "^2.0.0" } }, "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w=="],@@ -8773,7 +8773,7 @@"turbo-stream": ["[email protected]", "", {}, "sha512-v8kOJXpG3WoTN/+at8vK7erSzo6nW6CIaeOvNOkHQVDajfz1ZVeSxCbc6tOH4hrGZW7VUCV0TOXd8CPzYnYkrw=="],- "turbores": ["[email protected]", "", { "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "4.62.1" } }, "sha512-dTSKeZ6/BgBKz9T5goMS5ZMcqOiNYO1MbvresYGfWXEF5ZWK+yIZDxNjh86bRj1mnEzhtdsMOJ5GBi8b3Azcpg=="],+ "turbores": ["[email protected]", "", { "optionalDependencies": { "@rollup/rollup-linux-x64-gnu": "4.62.1" } }, "sha512-t1or4DcDMhNoA7PN3ruKbxCnb5pCvvocpJVXnD4tcDX3N3z+JBRC04NYntpR0zzSQYT+iOwFUoPzObs5hh70lQ=="],"tw-animate-css": ["[email protected]", "", {}, "sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ=="],diff --git a/package.json b/package.jsonindex eda35ce750..16c4bb5427 100644--- a/package.json+++ b/package.json@@ -137,14 +137,14 @@"@types/node": "20.12.14","@types/web": "0.0.166","@types/bun": "1.4.2",- "mediabunny": "1.61.3",- "@mediabunny/server": "1.61.3",- "@mediabunny/mp3-encoder": "1.61.3",- "@mediabunny/aac-encoder": "1.61.3",- "@mediabunny/flac-encoder": "1.61.3",- "@mediabunny/prores": "1.61.3",- "@mediabunny/ac3": "1.61.3",- "@mediabunny/dts": "1.61.3",+ "mediabunny": "1.62.0",+ "@mediabunny/server": "1.62.0",+ "@mediabunny/mp3-encoder": "1.62.0",+ "@mediabunny/aac-encoder": "1.62.0",+ "@mediabunny/flac-encoder": "1.62.0",+ "@mediabunny/prores": "1.62.0",+ "@mediabunny/ac3": "1.62.0",+ "@mediabunny/dts": "1.62.0","next": "16.4.0","three": "0.178.0","sharp": "0.34.5",diff --git a/packages/cli/src/extra-packages.ts b/packages/cli/src/extra-packages.tsindex 4432db5930..87fb522c2c 100644--- a/packages/cli/src/extra-packages.ts+++ b/packages/cli/src/extra-packages.ts@@ -4,10 +4,10 @@ export const EXTRA_PACKAGES: Record<string, string> = {...Object.fromEntries(extraPackages.map(({name, version}) => [name, version]),),- '@mediabunny/mp3-encoder': '1.61.3',- '@mediabunny/aac-encoder': '1.61.3',- '@mediabunny/flac-encoder': '1.61.3',- '@mediabunny/server': '1.61.3',+ '@mediabunny/mp3-encoder': '1.62.0',+ '@mediabunny/aac-encoder': '1.62.0',+ '@mediabunny/flac-encoder': '1.62.0',+ '@mediabunny/server': '1.62.0',};export const EXTRA_PACKAGES_DOCS: Record<string, string> = {diff --git a/packages/docs/docs/mediabunny/version.mdx b/packages/docs/docs/mediabunny/version.mdxindex 15e7d010fe..4d8f90c7cd 100644--- a/packages/docs/docs/mediabunny/version.mdx+++ b/packages/docs/docs/mediabunny/version.mdx@@ -10,7 +10,7 @@ The following packages of Remotion are using [Mediabunny](https://mediabunny.dev- [`@remotion/media`](/docs/media)- [`@remotion/media-utils`](/docs/media-utils)-The current version of Remotion uses version [`1.61.3`](https://github.com/Vanilagy/mediabunny/releases/tag/v1.61.3) of Mediabunny.+The current version of Remotion uses version [`1.62.0`](https://github.com/Vanilagy/mediabunny/releases/tag/v1.62.0) of Mediabunny.If you use Mediabunny as a direct dependency in your project, you can install it with the correct version using:@@ -41,6 +41,7 @@ Note that only from 4.0.355, Mediabunny is not bundled in with Remotion but load| Remotion Version | Mediabunny Version || ---------------- | ------------------ |+| 4.0.537 | 1.62.0 || 4.0.535 | 1.61.3 || 4.0.524 | 1.56.1 || 4.0.520 | 1.55.5 |diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.tsindex 2061e530a5..c4040ce046 100644--- a/packages/studio-shared/src/package-info.ts+++ b/packages/studio-shared/src/package-info.ts@@ -139,14 +139,14 @@ export const extraPackages: ExtraPackage[] = [},{name: 'mediabunny',- version: '1.61.3',+ version: '1.62.0',description: 'Multimedia library used by Remotion',docsUrl: 'https://www.remotion.dev/docs/mediabunny',versionDocsUrl: 'https://www.remotion.dev/docs/mediabunny/version',},{name: '@mediabunny/ac3',- version: '1.61.3',+ version: '1.62.0',description: 'AC-3 and E-AC-3 audio codec support for Mediabunny',docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#ac-3-and-e-ac-3',versionDocsUrl:@@ -154,14 +154,14 @@ export const extraPackages: ExtraPackage[] = [},{name: '@mediabunny/dts',- version: '1.61.3',+ version: '1.62.0',description: 'DTS audio codec support for Mediabunny',docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#dts',versionDocsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#dts',},{name: '@mediabunny/prores',- version: '1.61.3',+ version: '1.62.0',description: 'Apple ProRes decoder support for Mediabunny',docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats',versionDocsUrl: 'https://www.remotion.dev/docs/mediabunny/formats',diff --git a/packages/template-audiogram/package.json b/packages/template-audiogram/package.jsonindex 75848a63f0..ee04170c9c 100644--- a/packages/template-audiogram/package.json+++ b/packages/template-audiogram/package.json@@ -20,7 +20,7 @@"@remotion/google-fonts": "workspace:*","@remotion/layout-utils": "workspace:*","@remotion/install-whisper-cpp": "workspace:*",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",diff --git a/packages/template-music-visualization/package.json b/packages/template-music-visualization/package.jsonindex 0fd173585b..b6a999fe25 100644--- a/packages/template-music-visualization/package.json+++ b/packages/template-music-visualization/package.json@@ -17,7 +17,7 @@"@remotion/media-utils": "workspace:*","@remotion/google-fonts": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",diff --git a/packages/template-recorder/package.json b/packages/template-recorder/package.jsonindex 955ce301fe..b580d793ff 100644--- a/packages/template-recorder/package.json+++ b/packages/template-recorder/package.json@@ -42,7 +42,7 @@"connect": "3.7.0","eslint": "10.12.0","lucide-react": "0.516.0",- "mediabunny": "1.61.3",+ "mediabunny": "1.62.0","react": "19.2.3","react-dom": "19.2.3","tailwind-merge": "1.14.0",diff --git a/packages/template-three/package.json b/packages/template-three/package.jsonindex f2de4b9876..6411c6b3dc 100644--- a/packages/template-three/package.json+++ b/packages/template-three/package.json@@ -21,7 +21,7 @@"remotion": "workspace:*","three": "0.178.0","zod": "4.5.4",- "mediabunny": "1.61.3"+ "mediabunny": "1.62.0"},"devDependencies": {"@remotion/eslint-config-flat": "workspace:*",