Class: FfmpegCommand

FfmpegCommand

A FFmpeg helper class

This provides a nicer interface for building & running ffmpeg commands. As a general run each function called runs on the last input / ouput addec

Constructor

new FfmpegCommand() → {FfmpegCommand}

Source:
Returns:
Type
FfmpegCommand

Members

args

Source:

Methods

complexFilter(complexFilter) → {FfmpegCommand}

Parameters:
Name Type Description
complexFilter
Source:
Returns:
Type
FfmpegCommand

input(file, options) → {FfmpegInput}

Parameters:
Name Type Description
file
options
Source:
Returns:
Type
FfmpegInput

kill(signal) → {FfmpegCommand}

Parameters:
Name Type Description
signal
Source:
Returns:
Type
FfmpegCommand

output(file, options) → {FfmpegOutput}

Parameters:
Name Type Description
file
options
Source:
Returns:
Type
FfmpegOutput

overwrite(value) → {FfmpegCommand}

Parameters:
Name Type Description
value
Source:
Returns:
Type
FfmpegCommand

run() → {FfmpegCommand}

Source:
Fires:
  • FfmpegCommand#event:error
  • FfmpegCommand#event:end
  • FfmpegCommand#event:start
  • FfmpegCommand#event:progress
Returns:
Type
FfmpegCommand

strictMode(strictMode) → {FfmpegCommand}

Parameters:
Name Type Description
strictMode
Source:
Returns:
Type
FfmpegCommand