Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Output

Represents an output of the command. Usually there's only one per command, but can be more. The Streams to be included in the output should be passed in the options array, using the -map option.

const output = new Output( '/output.mp4', [ '-map', stream1, '-map', video ] );

Hierarchy

  • Output

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Output(url: string, options?: (string | number | IPlaceholder<string | number>)[]): Output
  • Parameters

    • url: string
    • Default value options: (string | number | IPlaceholder<string | number>)[] = []

    Returns Output

Properties

options

options: (string | number | IPlaceholder<string | number>)[]

url

url: string

Methods

clone

compile

Protected compileOptions

  • compileOptions(): string[]
  • Returns string[]

Generated using TypeDoc