ShellPlugin.

Classes

ShellPlugableClass

Extends PlugableClass.

new ShellPlugableClass(): ShellPlugableClass

Returns ShellPlugableClass. Inherited from PlugableClass.constructor.

PropertyType
command(args: ShellArgs) => Promise<DataOrError<string>>
ffmpeg(args: ShellArgs) => Promise<DataOrError<string>>
functionsFunctionRecord

Methods

install(definition, …ids): void | Errored

ParameterTypeDescription
definitionstring | Function | StringTuple
idsstring[]

Returns void | Errored. Inherited from PlugableClass.install.

toString(): string

Returns string. Inherited from PlugableClass.toString.

Variables

$ffmpeg

const $ffmpeg: "ffmpeg"

ERROR_FFMPEG

const ERROR_FFMPEG: "error.ffpmeg"

Const

ShellPlugin

const ShellPlugin: ShellPlugableClass

Functions

ffmpegFilters

ffmpegFilters(command, commandFilters): void

ParameterType
commandCommand
commandFiltersCommandFilter[]

Returns void.

ffmpegInput

ffmpegInput(command, input): void

ParameterType
commandCommand
inputstring | CommandInput

Returns void.

ffmpegInputs

ffmpegInputs(command, record): void

ParameterType
commandCommand
recordCommandInputRecord

Returns void.

ffmpegOptions

ffmpegOptions(command, outputOptions): void

ParameterType
commandCommand
outputOptionsOutputOptions

Returns void.

ffmpegSavePromise

ffmpegSavePromise(command, outputPath): Promise<DataOrError<string>>

ParameterType
commandCommand
outputPathstring

Returns Promise<DataOrError<string>>.

serverShellPlug

serverShellPlug(args?, options?): Promise<DataOrError<string>>

ParameterType
args?ShellArgs
options?PrimitiveOrUndefined

Returns Promise<DataOrError<string>>.