Skip to content

WebMExportOptions

Defined in: webm-export.ts:42

readonly audioBitrate: number

Defined in: webm-export.ts:50


readonly optional audioCodecString: string

Defined in: webm-export.ts:54

Exact audio codec string selected by preflight.


readonly channelCount: number

Defined in: webm-export.ts:48


readonly optional cleanupSink: (reason) => void | Promise<void>

Defined in: webm-export.ts:63

Idempotent sink-specific cleanup (for example deleting a partial OPFS file).

unknown

void | Promise<void>


readonly durationUs: number

Defined in: webm-export.ts:43


readonly frameRate: Rational

Defined in: webm-export.ts:46


readonly height: number

Defined in: webm-export.ts:45


readonly optional onProgress: (progress) => void

Defined in: webm-export.ts:70

number

void


readonly renderAudio: (request, signal?) => Promise<Float32Array<ArrayBufferLike>>

Defined in: webm-export.ts:65

OfflineAudioRequest

AbortSignal

Promise<Float32Array<ArrayBufferLike>>


readonly renderFrame: (request, signal?) => Promise<VideoFrame>

Defined in: webm-export.ts:64

OfflineFrameRequest

AbortSignal

Promise<VideoFrame>


readonly sampleRate: number

Defined in: webm-export.ts:47


readonly optional signal: AbortSignal

Defined in: webm-export.ts:69


readonly sink: WritableStream<{ data: Uint8Array<ArrayBuffer>; position: number; type: "write"; }>

Defined in: webm-export.ts:57


readonly optional sourceColorSpace: VideoColorSpaceInit

Defined in: webm-export.ts:56

Color interpretation of the RGBA frames passed to the encoder.


readonly videoBitrate: number

Defined in: webm-export.ts:49


readonly optional videoCodecString: string

Defined in: webm-export.ts:52

Exact codec string selected by preflight. Defaults to the profile baseline.


readonly width: number

Defined in: webm-export.ts:44