Recording · interface

ClipEncodeRequest

The four numbers an encode is negotiated with, before there is anything to encode.

Explained in Recording and clips.

interface ClipEncodeRequest
import type { ClipEncodeRequest } from '@driftengine/media';

In depth

ClipEncoderOptions extends it, so the question a gate asks is the options the export opens with rather than a paraphrase of them.

Properties

NameTypeDescription
widthreadonlynumber
heightreadonlynumber
fpsreadonlynumber
bitratereadonlynumberBits per second for video. See clipBitrate for a figure worth passing.