🎥 Make videos programmatically with React
support video codec
Jonny Burgerc29c1a0268b4
diff --git a/packages/docs/docs/media-parser/parse-media.mdx b/packages/docs/docs/media-parser/parse-media.mdxindex 322f4d7e3b..657a125e9d 100644--- a/packages/docs/docs/media-parser/parse-media.mdx+++ b/packages/docs/docs/media-parser/parse-media.mdx@@ -85,7 +85,7 @@ The frame rate of the video.#### `videoCodec`-The video codec of the video. One of `"h264"` or `null`.+The video codec of the video. One of `"h264"`, `"h265"`, `"vp8"`, `"av1"`, `"prores"` or `null` (in case of an unknown codec).### `reader`diff --git a/packages/media-parser/src/test/stream-local.test.ts b/packages/media-parser/src/test/stream-local.test.tsindex 6aa73b154c..f009481f00 100644--- a/packages/media-parser/src/test/stream-local.test.ts+++ b/packages/media-parser/src/test/stream-local.test.ts@@ -108,7 +108,6 @@ test('Should stream ProRes video', async () => {nodeReader,);- await Bun.write('prores.json', JSON.stringify(parsed, null, 2));// TODO: FPS should be 60expect(parsed.fps).toBe(3.90625);expect(parsed.dimensions.width).toBe(1920);