Skip to content

🎥 Make videos programmatically with React

let's go

Jonny Burgerb71981b1c825
diff --git a/packages/docs/docs/media-parser/index.mdx b/packages/docs/docs/media-parser/index.mdx
index 09870ea201..cc07710464 100644
--- a/packages/docs/docs/media-parser/index.mdx
+++ b/packages/docs/docs/media-parser/index.mdx
@@ -18,7 +18,7 @@ This is an experimental package that parses video and other media files in order
Design goals:
-- Support as many relevant containers as possible - currently: `.mp4`, `.mov`, `.webm`, `.mkv`, `.avi`, `.ts`, `.mp3`, `.wav` and `.aac`.
+- Support as many relevant containers as possible - currently: `.mp4`, `.mov`, `.webm`, `.mkv`, `.avi`, `.ts`, `.mp3`, `.wav`, `.aac` and `.flac`.
- [Work in the browser, and server runtimes (Node.js, Bun, Edge, etc.)](/docs/media-parser/support)
- [Enable powerful WebCodecs use cases](/docs/media-parser/webcodecs)
- [Fine-grained querying, only download as much data as necessary](/docs/media-parser/fast-and-slow)
diff --git a/packages/docs/docs/media-parser/parse-media.mdx b/packages/docs/docs/media-parser/parse-media.mdx
index 46aad3579c..97259e6789 100644
--- a/packages/docs/docs/media-parser/parse-media.mdx
+++ b/packages/docs/docs/media-parser/parse-media.mdx
@@ -98,7 +98,7 @@ The name of the file.
#### `container`
-_"mp4" | "webm" | "avi" | "transport-stream" | "mp3"_
+_"mp4" | "webm" | "avi" | "transport-stream" | "mp3" | "aac" | "wav" | "flac"_
The container of the file.
@@ -143,7 +143,7 @@ One of `"h264"`, `"h265"`, `"vp8"`, `"vp9"`, `"av1"`, `"prores"` or `null` (in c
The audio codec of the file.
If multiple audio tracks are present, this will be the first audio track.
-One of `'aac'`, `'mp3'`, `'aiff'`, `'opus'`, `'pcm'`, `'unknown'` (audio is there but not recognized) or `null` (in case of no audio detected).
+One of `'aac'`, `'mp3'`, `'aiff'`, `'opus'`, `'pcm'`, `'flac'`, `'unknown'` (audio is there but not recognized) or `null` (in case of no audio detected).
#### `metadata`
diff --git a/packages/docs/docs/media-parser/tags.mdx b/packages/docs/docs/media-parser/tags.mdx
index 4e5608e7a7..be0ac5c9a7 100644
--- a/packages/docs/docs/media-parser/tags.mdx
+++ b/packages/docs/docs/media-parser/tags.mdx
@@ -108,6 +108,20 @@ The `APIC` tag will not be returned as part of the `metadata` field, but separat
| ------ | ------------------------------------ | ------------------------------------- |
| `ISFT` | Software used to encode stream/Video | `"Lavf60.16.100 (libsndfile-1.0.31)"` |
+### FLAC
+
+| Field | Description | Example value |
+| ------------- | ------------------------------------ | ------------------------------------ |
+| `vendor` | Software used to encode stream/Video | `"reference libFLAC 1.3.2 20190804"` |
+| `title` | Name of the track | `"The Happy Meeting"` |
+| `date` | Recording date, or year | `"2020"` |
+| `album` | Music album | `"Sample files"` |
+| `artist` | Music artist | `"Sample files"` |
+| `tracknumber` | Index of song in album | `"4"` |
+| `genre` | Music genre | `"Ambient"` |
+
+See more: https://www.rfc-editor.org/rfc/rfc9639.html#name-standard-field-names
+
## Fields are not unique
Some fields may appear multiple times per video, such as `encoder`, `comment` or `duration`.