Skip to content

πŸŽ₯ Make videos programmatically with React

`@remotion/media`: Document AC3 and EAC3 decoding support

Jonny Burgeref784d3f4749
diff --git a/packages/docs/docs/mediabunny/formats.mdx b/packages/docs/docs/mediabunny/formats.mdx
index 5aff063cc1..a10b66b4c6 100644
--- a/packages/docs/docs/mediabunny/formats.mdx
+++ b/packages/docs/docs/mediabunny/formats.mdx
@@ -61,6 +61,13 @@ This means that during rendering of Remotion videos server-side, HEVC videos can
- `'pcm-f64be'` - 64-bit big-endian float PCM
- `'ulaw'` - ΞΌ-law PCM
- `'alaw'` - A-law PCM
+- `'ac3'` - Dolby Digital (AC-3)
+- `'eac3'` - Dolby Digital Plus (E-AC-3)
+
+:::note
+AC-3 and E-AC-3 are not natively supported by WebCodecs.
+Remotion registers a software decoder from [`@mediabunny/ac3`](https://www.npmjs.com/package/@mediabunny/ac3) to enable decoding of these codecs.
+:::
## Compatibility table
@@ -92,6 +99,8 @@ Not all codecs can be used with all containers. The following table specifies th
| `'pcm-f64be'` | βœ“ | βœ“ | | | | | | | | |
| `'ulaw'` | | βœ“ | | | | | βœ“ | | | |
| `'alaw'` | | βœ“ | | | | | βœ“ | | | |
+| `'ac3'` | βœ“ | βœ“ | βœ“ | | | | | | | βœ“ |
+| `'eac3'` | βœ“ | βœ“ | βœ“ | | | | | | | βœ“ |
## CORS