Small commit

This commit is contained in:
Vanilagy
2026-04-17 09:34:06 +02:00
parent 189d6851a6
commit 7d9c063105
2 changed files with 20 additions and 0 deletions
+16
View File
@@ -224,6 +224,22 @@ You can extend this pattern to offer content in multiple codecs as well.
For the full list of transformation options, see [`VideoTransformOptions`](../api/VideoTransformOptions) and [`AudioTransformOptions`](../api/AudioTransformOptions).
---
If you're using the [Conversion API](./converting-media-files), you achieve the same thing using [output track fan-out](./converting-media-files#track-fan-out):
```ts
const conversion = await Conversion.init({
input,
output,
video: [
{ height: 1080, bitrate: QUALITY_VERY_HIGH },
{ height: 720, bitrate: QUALITY_HIGH },
{ height: 480, bitrate: QUALITY_MEDIUM },
{ height: 360, bitrate: QUALITY_LOW },
],
});
```
### Track metadata
Often you'll want to provide additional [track metadata](../api/BaseTrackMetadata) when dealing with multiple tracks. For example:
+4
View File
@@ -0,0 +1,4 @@
MENTION APPEND-ONLY IN UPLOAD EXAMPLE IN WRITING HLS
also I wish there was a more explicit way this was enforced and would error at runtime.
writablestream target?