Interface: VideoExportOptions
Defined in: packages/minerender/src/export/VideoExporter.ts:2
Settings passed to Renderer.toVideo.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
duration | number | Recording duration in seconds, greater than zero and at most 2147483.647. | packages/minerender/src/export/VideoExporter.ts:4 |
fps? | number | Requested capture rate (default 30). Rendering and browser scheduling can lower the actual rate. | packages/minerender/src/export/VideoExporter.ts:6 |
mimeType? | string | Supported video MIME type. Defaults to WebM when available, then MP4. | packages/minerender/src/export/VideoExporter.ts:8 |
signal? | AbortSignal | Cancels recording and discards its output. | packages/minerender/src/export/VideoExporter.ts:12 |
videoBitsPerSecond? | number | Target video bitrate in bits per second, as a positive unsigned 32-bit integer. | packages/minerender/src/export/VideoExporter.ts:10 |