FilterNode(filterName, args)

Class representing a single node in an FFmpeg filter graph

new FilterNode(filterName, args)

Create a filter for use in an FFmpeg filter graph

Parameters:
Name Type Description
filterName string

the name of the filter

args Array.<any>

the arguments for the filter (default: {})

Methods

getOutputPad(specifier) → {string}

Get the output pad label based on the specifier

Parameters:
Name Type Description
specifier number | string

the output pad specifier

Returns:
string -
  • the output pad label

toString() → {string}

Generate the argument string defining this FFmpeg filter node

Returns:
string -

the filter argument string