effect-motion
API ReferenceexportNamespacesFfmpegFunctions

inspectDuration

function inspectDuration(bytes, binary?): Effect<number, EncodeError, ChildProcessSpawner>;

Function: inspectDuration()

function inspectDuration(bytes, binary?): Effect<number, EncodeError, ChildProcessSpawner>;

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

Inspect duration from the same bytes that export will decode.

Parameters

ParameterType
bytesUint8Array
binary?string

Returns

Effect<number, EncodeError, ChildProcessSpawner>

On this page