effect-motion
API ReferenceexportNamespacesFfmpegInterfaces

EncodeOptions

readonly optional binary?: string;

Interface: EncodeOptions

Defined in: packages/export/src/Ffmpeg.ts:29

Options for encode.

Properties

binary?

readonly optional binary?: string;

Defined in: packages/export/src/Ffmpeg.ts:37

ffmpeg binary; defaults to the bundled ffmpeg-static build (falling back to "ffmpeg" on PATH). Set to "ffmpeg" or a path to use a system/custom ffmpeg instead.


extraArgs?

readonly optional extraArgs?: readonly string[];

Defined in: packages/export/src/Ffmpeg.ts:43

Extra ffmpeg arguments appended before the output path — e.g. ["-crf", "18"] or a -vf scale filter. Escape hatch for the codec surface this wrapper does not model.


frameRate

readonly frameRate: number;

Defined in: packages/export/src/Ffmpeg.ts:31

Input framerate handed to ffmpeg (-framerate).

On this page