Skip to content

Amplify

Video Single output Transform

Amplify changes between successive video frames.

FFmpeg filter: amplify — the official reference.

Add it to a graph. The explicit form works for every filter — bind it to its input and read the result from outputs():

$node = $video->addFilter(new Amplify());
$result = $node->outputs()[0];

Shorthand. Single-output filters can skip the node — apply() returns the result stream directly:

$result = $video->apply(new Amplify());

TODO — when this filter shines: what it’s the right tool for, what to reach for instead when it isn’t, and how it composes with neighbouring filters.

TODO — prose: how the filter actually works and what its key parameters mean (the explanation FFmpeg’s terse option help omits).

TODO — runnable PHP, with the equivalent ffmpeg CLI alongside.

TODO

TODO

ParameterTypeDefaultRange / valuesDescription
radiusint2163set radius
factorfloat2065535set factor
thresholdfloat10065535set threshold
tolerancefloat0065535set tolerance
lowfloat65535065535set low limit for amplification
highfloat65535065535set high limit for amplification
planesint|string7set what planes to filter

Maps to FFmpeg’s amplify filter. Verified against ffmpeg n7.1.1.

An Artisan Build project.

Built on FFmpeg — an independent binding, not affiliated with or endorsed by the FFmpeg project. Support FFmpeg.