🎥 Make videos programmatically with React
`@remotion/media`: Upgrade Mediabunny to 1.56.1
JonnyBurger5ce9b2115a36
diff --git a/bun.lock b/bun.lockindex 13fc96c348..7aa41a80cb 100644--- a/bun.lock+++ b/bun.lock@@ -1989,7 +1989,7 @@"@remotion/media": "workspace:*","@remotion/media-utils": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2134,7 +2134,7 @@"@remotion/media": "workspace:*","@remotion/media-utils": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2456,7 +2456,7 @@"connect": "3.7.0","eslint": "9.19.0","lucide-react": "0.516.0",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2592,7 +2592,7 @@"@remotion/media": "workspace:*","@remotion/three": "workspace:*","@remotion/zod-types": "workspace:*",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","react": "19.2.3","react-dom": "19.2.3","remotion": "workspace:*",@@ -2931,13 +2931,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.55.5",- "@mediabunny/ac3": "1.55.5",- "@mediabunny/dts": "1.55.5",- "@mediabunny/flac-encoder": "1.55.5",- "@mediabunny/mp3-encoder": "1.55.5",- "@mediabunny/prores": "1.55.5",- "@mediabunny/server": "1.55.5",+ "@mediabunny/aac-encoder": "1.56.1",+ "@mediabunny/ac3": "1.56.1",+ "@mediabunny/dts": "1.56.1",+ "@mediabunny/flac-encoder": "1.56.1",+ "@mediabunny/mp3-encoder": "1.56.1",+ "@mediabunny/prores": "1.56.1",+ "@mediabunny/server": "1.56.1","@react-three/fiber": "9.2.0","@types/bun": "1.3.3","@types/dom-webcodecs": "0.1.11",@@ -2950,7 +2950,7 @@"@vitejs/plugin-react": "4.3.4","@vitest/browser-playwright": "4.0.9","eslint": "9.19.0",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","next": "16.3.3","openai": "4.67.1","playwright": "1.55.1",@@ -4017,19 +4017,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-u5x296ofN0Gf3tNW9zmFDYxejUFeibiTytbc2qBKilOHpf+RWAeyO7byDgwj48WweVOVC5x9dGSpnkJNnUK5mg=="],+ "@mediabunny/aac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-a+OY/BctP7zC4G/prHikooOVaoWXMD4+bUyEwHg2dtQiQdIwC6TDJdVYJu5dfrdSNOiAFkv1HKcYEeROdwMezg=="],- "@mediabunny/ac3": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-vq8PccOeE1DB/wmQ4JgNZEI9yUdBYXAdF3sGFqQ5MIxG7ivJAoTN/Lm8jrxPG/a9kTXu/lHsGQw8+3E/VH4joA=="],+ "@mediabunny/ac3": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-o8mM6PVdPHgxU7tp9gqEaIGngcrIIRrIv7CLOt2NUa3ceuwOE+DU0laLfxr7DsHbI2W4K/gUAyqlUuwoHZyCew=="],- "@mediabunny/dts": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-MSjnndy/jL5Kc7ZWYe1Wyl8ogFPWGbRv5f7Jdu2j3kSwzCluIQ0fnNrWx+iCH3xzW76OWQVgU2x5v8C4hZCoXQ=="],+ "@mediabunny/dts": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-Stq8ln3wCjKOb8+zXXPIpdDQxmwaTkAMuqapV/2lQQ813IRkRcQ3A0T/i21GqK66+tr5JCAY5tmlGiEDo7cdFg=="],- "@mediabunny/flac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-vGtetM8SwjTweqWmQ+zER49aWKw3bzuGv1t/AEdS5N9SiHntiwoiBFOSzm18b+7Zah6I/vHLF9DRaHB85jqrMg=="],+ "@mediabunny/flac-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-zbmorMVlF1izwtlz5mWnu7A1rJLM+V26I0pEFr9Td1EDTwE5uAGRSW+/UZlnjwj1t00Woe3Zonfh9kb7lRRBqg=="],- "@mediabunny/mp3-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-WNdWY40KXy6P23iXboIJ8IuLaUsukEF3m+kQ4jCXnDwHTOlyRd+hyq4trTDq7g9kVwB+rpj5ZSzsBq8LKsRYwQ=="],+ "@mediabunny/mp3-encoder": ["@mediabunny/[email protected]", "", { "peerDependencies": { "mediabunny": "^1.0.0" } }, "sha512-p66ovEq6mZt3ejje45NOju84hIJI4v8rHfsmc1D2J34ziV0USE8AdJBzmiwqxl6nZkIAQLNB19HzbVRcQfc51g=="],- "@mediabunny/prores": ["@mediabunny/[email protected]", "", { "dependencies": { "turbores": "^1.2.2" }, "peerDependencies": { "mediabunny": "^1.49.0" } }, "sha512-0QKx4t21TEbq3BGEbiRlrb3roCAUOyyK8hZd9lHlDaqGuKSh3/p+YG/zY6ZoMLXdOKhbvZZcldnKKZRbCiXNfA=="],+ "@mediabunny/prores": ["@mediabunny/[email protected]", "", { "dependencies": { "turbores": "^1.2.2" }, "peerDependencies": { "mediabunny": "^1.49.0" } }, "sha512-/72SdlEmEdB3KjEic7BY0ZKISoLRoNwvB/CJK2xPLPgvRg1RYaebXeoJCG02Z92GbZ+BAX8dcZk8hEbgddgIBQ=="],- "@mediabunny/server": ["@mediabunny/[email protected]", "", { "dependencies": { "@mediabunny/prores": "^1.55.5", "node-av": "^6.0.0" }, "peerDependencies": { "mediabunny": "^1.45.0" } }, "sha512-Yow7q+vIAPIqB1ptWWM5fDmLOsqed/qX1zglibKnYzeAu0fG6Asc3x8cOsa3405gLGfxh1790haa/eJl3M/UOg=="],+ "@mediabunny/server": ["@mediabunny/[email protected]", "", { "dependencies": { "@mediabunny/prores": "^1.56.1", "node-av": "^6.0.0" }, "peerDependencies": { "mediabunny": "^1.45.0" } }, "sha512-w4UoureGA63SN1AJrvO1ETS9ctcHHezTTJA+r20UjvgAVfSo7KoiAA/Bhr8MLSTXyfD7hxvSATb58Wkro+Fh0A=="],"@mediapipe/tasks-vision": ["@mediapipe/[email protected]", "", {}, "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg=="],@@ -7443,7 +7443,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-m0v6y8FGXiK+HKOc3AZqU+kJPLYsSKaLitmQNQIIHZKIGlTwQ34OF+X6Ul0K8iV4b03oPse10apwuoqbvmKeAA=="],+ "mediabunny": ["[email protected]", "", { "dependencies": { "@types/dom-mediacapture-transform": "^0.1.11", "@types/dom-webcodecs": "0.1.13" } }, "sha512-DNOm0bRBmeOxJgCK/g3LxNWbxY5morTauNdlychujGmJ9L37ezVezkNoI1WtO2Xdb4WlWWJlYfIKnOEzd5phRw=="],"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=="],diff --git a/package.json b/package.jsonindex eb9c293799..edd643a3d2 100644--- a/package.json+++ b/package.json@@ -132,14 +132,14 @@"@types/node": "20.12.14","@types/web": "0.0.166","@types/bun": "1.3.3",- "mediabunny": "1.55.5",- "@mediabunny/server": "1.55.5",- "@mediabunny/mp3-encoder": "1.55.5",- "@mediabunny/aac-encoder": "1.55.5",- "@mediabunny/flac-encoder": "1.55.5",- "@mediabunny/prores": "1.55.5",- "@mediabunny/ac3": "1.55.5",- "@mediabunny/dts": "1.55.5",+ "mediabunny": "1.56.1",+ "@mediabunny/server": "1.56.1",+ "@mediabunny/mp3-encoder": "1.56.1",+ "@mediabunny/aac-encoder": "1.56.1",+ "@mediabunny/flac-encoder": "1.56.1",+ "@mediabunny/prores": "1.56.1",+ "@mediabunny/ac3": "1.56.1",+ "@mediabunny/dts": "1.56.1","next": "16.3.3","three": "0.178.0","sharp": "0.34.5",diff --git a/packages/cli/src/extra-packages.ts b/packages/cli/src/extra-packages.tsindex 91ddcebb9a..f28101c3df 100644--- a/packages/cli/src/extra-packages.ts+++ b/packages/cli/src/extra-packages.ts@@ -4,9 +4,9 @@ export const EXTRA_PACKAGES: Record<string, string> = {...Object.fromEntries(extraPackages.map(({name, version}) => [name, version]),),- '@mediabunny/mp3-encoder': '1.55.5',- '@mediabunny/aac-encoder': '1.55.5',- '@mediabunny/flac-encoder': '1.55.5',+ '@mediabunny/mp3-encoder': '1.56.1',+ '@mediabunny/aac-encoder': '1.56.1',+ '@mediabunny/flac-encoder': '1.56.1',};export const EXTRA_PACKAGES_DOCS: Record<string, string> = {diff --git a/packages/docs/docs/mediabunny/version.mdx b/packages/docs/docs/mediabunny/version.mdxindex 84de485e21..139829df04 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.55.5`](https://github.com/Vanilagy/mediabunny/releases/tag/v1.55.5) of Mediabunny.+The current version of Remotion uses version [`1.56.1`](https://github.com/Vanilagy/mediabunny/releases/tag/v1.56.1) 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.524 | 1.56.1 || 4.0.520 | 1.55.5 || 4.0.513 | 1.55.1 || 4.0.488 | 1.50.8 |diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.tsindex 955621482c..2f4e149369 100644--- a/packages/studio-shared/src/package-info.ts+++ b/packages/studio-shared/src/package-info.ts@@ -138,14 +138,14 @@ export const extraPackages: ExtraPackage[] = [},{name: 'mediabunny',- version: '1.55.5',+ version: '1.56.1',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.55.5',+ version: '1.56.1',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:@@ -153,14 +153,14 @@ export const extraPackages: ExtraPackage[] = [},{name: '@mediabunny/dts',- version: '1.55.5',+ version: '1.56.1',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.55.5',+ version: '1.56.1',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 2bcabb973e..ed369de7cd 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.55.5",+ "mediabunny": "1.56.1","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 d2d226041d..af58cc3e89 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.55.5",+ "mediabunny": "1.56.1","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 9c92601a22..9f991d6306 100644--- a/packages/template-recorder/package.json+++ b/packages/template-recorder/package.json@@ -39,7 +39,7 @@"connect": "3.7.0","eslint": "9.19.0","lucide-react": "0.516.0",- "mediabunny": "1.55.5",+ "mediabunny": "1.56.1","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 8b3ad50807..5045328018 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.55.5"+ "mediabunny": "1.56.1"},"devDependencies": {"@remotion/eslint-config-flat": "workspace:*",