Skip to content

🎥 Make videos programmatically with React

Mark async disposal APIs for the next Remotion release

JonnyBurger7b544da1a2d1
diff --git a/packages/docs/docs/video-matting/load-video-matting-model.mdx b/packages/docs/docs/video-matting/load-video-matting-model.mdx
index cfe180a2b4..b7731f7e4f 100644
--- a/packages/docs/docs/video-matting/load-video-matting-model.mdx
+++ b/packages/docs/docs/video-matting/load-video-matting-model.mdx
@@ -61,7 +61,7 @@ Returns an object with this property:
Whether the same model was already initialized in memory.
-### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.527" />
+### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.528" />
Releases this call's hold on the initialized model. The pipeline is disposed after every load handle is released and active separations finish.
diff --git a/packages/docs/docs/video-matting/separate-video-layers.mdx b/packages/docs/docs/video-matting/separate-video-layers.mdx
index e34f1a2e87..645f891b80 100644
--- a/packages/docs/docs/video-matting/separate-video-layers.mdx
+++ b/packages/docs/docs/video-matting/separate-video-layers.mdx
@@ -169,7 +169,7 @@ Returns a promise resolving to a `Blob`, unless `outputs.base.outputWritable` wa
Releases temporary storage owned by the base output. Call it after `base.getBlob()` has resolved. The method is idempotent and has no effect for `arraybuffer` or custom writable outputs.
-#### `base[Symbol.asyncDispose]()`<AvailableFrom v="4.0.527" />
+#### `base[Symbol.asyncDispose]()`<AvailableFrom v="4.0.528" />
Calls `base.dispose()` when an `await using` scope ends.
@@ -185,7 +185,7 @@ Returns a promise resolving to a `Blob`, unless `outputs.foreground.outputWritab
Releases temporary storage owned by the foreground output. Call it after `foreground.getBlob()` has resolved. The method is idempotent and has no effect for `arraybuffer` or custom writable outputs.
-#### `foreground[Symbol.asyncDispose]()`<AvailableFrom v="4.0.527" />
+#### `foreground[Symbol.asyncDispose]()`<AvailableFrom v="4.0.528" />
Calls `foreground.dispose()` when an `await using` scope ends.
@@ -209,7 +209,7 @@ The duration of the processed video in seconds.
The number of video frames processed.
-### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.527" />
+### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.528" />
Disposes both outputs when an `await using` scope ends. Retrieve any blobs before leaving the scope; blobs returned by `getBlob()` remain usable afterward. The loaded model remains in memory for reuse.
diff --git a/packages/docs/docs/whisper-webgpu/can-use-whisper-webgpu.mdx b/packages/docs/docs/whisper-webgpu/can-use-whisper-webgpu.mdx
index fe00413740..2b948b91be 100644
--- a/packages/docs/docs/whisper-webgpu/can-use-whisper-webgpu.mdx
+++ b/packages/docs/docs/whisper-webgpu/can-use-whisper-webgpu.mdx
@@ -8,7 +8,7 @@ crumb: '@remotion/whisper-webgpu'
Asynchronously checks whether WebGPU transcription is supported in the current environment.
-In a browser, WebGPU, a usable adapter, and a secure context (or localhost) are required. Node.js support is available from <AvailableFrom v="4.0.527" inline />. In Node.js, the function creates and disposes a tiny ONNX Runtime session using the WebGPU execution provider. This checks whether ONNX Runtime can acquire a WebGPU adapter without downloading a Whisper model or running inference.
+In a browser, WebGPU, a usable adapter, and a secure context (or localhost) are required. Node.js support is available from <AvailableFrom v="4.0.528" inline />. In Node.js, the function creates and disposes a tiny ONNX Runtime session using the WebGPU execution provider. This checks whether ONNX Runtime can acquire a WebGPU adapter without downloading a Whisper model or running inference.
```ts twoslash title="support.ts"
import {canUseWhisperWebGpu} from '@remotion/whisper-webgpu';
diff --git a/packages/docs/docs/whisper-webgpu/load-whisper-model.mdx b/packages/docs/docs/whisper-webgpu/load-whisper-model.mdx
index 109f054563..c90ceace81 100644
--- a/packages/docs/docs/whisper-webgpu/load-whisper-model.mdx
+++ b/packages/docs/docs/whisper-webgpu/load-whisper-model.mdx
@@ -37,7 +37,7 @@ Called while model files are resolved and downloaded. `progress` is the aggregat
Whether the same model pipeline was already loaded in memory.
-### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.527" />
+### `[Symbol.asyncDispose]()`<AvailableFrom v="4.0.528" />
Releases this call's hold on the initialized model. The pipeline is disposed after every load handle is released and active transcriptions finish.
diff --git a/packages/docs/docs/whisper-webgpu/node.mdx b/packages/docs/docs/whisper-webgpu/node.mdx
index f47f51d8d2..883a36e2eb 100644
--- a/packages/docs/docs/whisper-webgpu/node.mdx
+++ b/packages/docs/docs/whisper-webgpu/node.mdx
@@ -4,7 +4,7 @@ title: 'Using @remotion/whisper-webgpu in Node.js'
crumb: '@remotion/whisper-webgpu'
---
-# Using @remotion/whisper-webgpu in Node.js<AvailableFrom v="4.0.527" />
+# Using @remotion/whisper-webgpu in Node.js<AvailableFrom v="4.0.528" />
`@remotion/whisper-webgpu` can transcribe a 16kHz mono waveform in Node.js using [Transformers.js](https://huggingface.co/docs/transformers.js) and [ONNX Runtime's WebGPU execution provider](https://onnxruntime.ai/docs/execution-providers/WebGPU-ExecutionProvider.html).