effect-motion
API ReferenceexportInterfaces

VideoOptions

readonly optional binary?: string;

Interface: VideoOptions

Defined in: packages/export/src/Video.ts:51

Options for render.

Properties

binary?

readonly optional binary?: string;

Defined in: packages/export/src/Video.ts:62

ffmpeg binary; defaults to the bundled ffmpeg-static build (falls back to "ffmpeg" on PATH). Pass "ffmpeg" or a path for a system/custom ffmpeg.


dpr?

readonly optional dpr?: number;

Defined in: packages/export/src/Video.ts:70

Supersampling factor: frames are rendered at scene dimensions × dpr (the video's pixel size) while the scene keeps its authored logical coordinates and framing. Defaults to 1.


extraArgs?

readonly optional extraArgs?: readonly string[];

Defined in: packages/export/src/Video.ts:64

Extra ffmpeg arguments, appended before the output path.


frames?

readonly optional frames?: number;

Defined in: packages/export/src/Video.ts:56

Cap the number of frames encoded. WITHOUT it, a scene that never ends produces an encode that never ends — an infinite scene must set this.


settings?

readonly optional settings?: VideoSceneSettings;

Defined in: packages/export/src/Video.ts:72

Scene framerate/dimensions/maxFrames for this export.

On this page