effect-motion
API ReferenceexportNamespacesFfmpegClasses

EncodeError

A failure encoding a video: ffmpeg not spawnable (not installed / not on

Class: EncodeError

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

A failure encoding a video: ffmpeg not spawnable (not installed / not on PATH), or a nonzero exit. stderr carries ffmpeg's diagnostics when the process ran; it is empty when the binary could not be spawned at all.

Extends

  • YieldableError<this> & { } & Readonly<{ cause: unknown; message: string; stderr: string; }>

Constructors

Constructor

new EncodeError(args): EncodeError;

Defined in: node_modules/.bun/effect@4.0.0-rc.115/node_modules/effect/dist/Data.d.ts:966

Parameters

ParameterType
args{ cause: unknown; message: string; stderr: string; }
args.causeunknown
args.messagestring
args.stderrstring

Returns

EncodeError

Inherited from

Data.TaggedError("EncodeError")<{
	readonly message: string;
	readonly stderr: string;
	readonly cause: unknown;
}>.constructor

Properties

cause

cause: unknown;

Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

Data.TaggedError("EncodeError").cause

message

message: string;

Defined in: node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

Data.TaggedError("EncodeError").message

stderr

readonly stderr: string;

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

Inherited from

Data.TaggedError("EncodeError").stderr

On this page