跳转到内容

ResumableMuxedExportOptions

此内容尚不支持你的语言。

Defined in: resumable-muxed-export.ts:295

readonly audioBitrate: number

Defined in: webm-export.ts:50

WebMExportOptions.audioBitrate


readonly optional audioCodecString: string

Defined in: webm-export.ts:54

Exact audio codec string selected by preflight.

WebMExportOptions.audioCodecString


readonly channelCount: number

Defined in: webm-export.ts:48

WebMExportOptions.channelCount


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>

WebMExportOptions.cleanupSink


readonly contentId: string

Defined in: resumable-muxed-export.ts:297


readonly optional deleteCheckpointOnSuccess: boolean

Defined in: resumable-muxed-export.ts:304


readonly durationUs: number

Defined in: webm-export.ts:43

WebMExportOptions.durationUs


readonly frameRate: Rational

Defined in: webm-export.ts:46

WebMExportOptions.frameRate


readonly height: number

Defined in: webm-export.ts:45

WebMExportOptions.height


readonly key: string

Defined in: resumable-muxed-export.ts:296


readonly optional now: () => number

Defined in: resumable-muxed-export.ts:305

number


readonly optional onProgress: (progress) => void

Defined in: resumable-muxed-export.ts:302

number

void


readonly optional onUnitCommitted: (completedUnits, totalUnits) => void

Defined in: resumable-muxed-export.ts:303

number

number

void


readonly profile: "webm-vp9-opus" | "mp4-h264-aac" | "mp4-av1-aac" | "mp4-hevc-aac"

Defined in: resumable-muxed-export.ts:298


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

Defined in: webm-export.ts:65

OfflineAudioRequest

AbortSignal

Promise<Float32Array<ArrayBufferLike>>

WebMExportOptions.renderAudio


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

Defined in: webm-export.ts:64

OfflineFrameRequest

AbortSignal

Promise<VideoFrame>

WebMExportOptions.renderFrame


readonly sampleRate: number

Defined in: webm-export.ts:47

WebMExportOptions.sampleRate


readonly optional segmentDurationUs: number

Defined in: resumable-muxed-export.ts:301

Target unit duration. Actual boundaries are aligned to complete video frames.


readonly optional signal: AbortSignal

Defined in: webm-export.ts:69

WebMExportOptions.signal


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

Defined in: webm-export.ts:57

WebMExportOptions.sink


readonly optional sourceColorSpace: VideoColorSpaceInit

Defined in: webm-export.ts:56

Color interpretation of the RGBA frames passed to the encoder.

WebMExportOptions.sourceColorSpace


readonly store: ResumableMuxedExportStore

Defined in: resumable-muxed-export.ts:299


readonly videoBitrate: number

Defined in: webm-export.ts:49

WebMExportOptions.videoBitrate


readonly optional videoCodecString: string

Defined in: webm-export.ts:52

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

WebMExportOptions.videoCodecString


readonly width: number

Defined in: webm-export.ts:44

WebMExportOptions.width