1.0.13 • Published 7 years ago

fluent-ffmpeg-filters v1.0.13

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

fluent-ffmpeg-filters

Extend fluent-ffmpeg with fluent API for adding ffmpeg filters, as listed here.

lib directory contains one file per filter. Each filter module exposes a function that augment the ffmpeg instance.

Here is an example of use with the vstack filter.

let ffmpeg = require('fluent-ffmpeg');
const vstack = require('fluent-ffmpeg-filters').vstack;

ffmpeg = vstack(ffmpeg);

ffmpeg('./one.jpg')
  .input('./two.jpg')
  .vstack()
  .input(2)
  .shortest(0)
  .build()
  .applyFilters()

Generic functions

These functions are available on each filter.

build(): register the filter configuration

The build() function is to be called once the filter function and its configuration function have all been called. Calling build() registers the filter configuration on the ffmpeg instance.

applyFilters(): configure all filters

Apply the configurations of all filters to the ffmpeg instance. Call it only once.

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago