Skip to content

Noise

Video Single output Transform

Add noise.

FFmpeg filter: noise — 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 Noise(…));
$result = $node->outputs()[0];

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

$result = $video->apply(new Noise(…));

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
all_seedint-1≥ -1set component #0 noise seed
all_strengthint00–100set component #0 strength
all_flagsint|string0—set component #0 flags
c0_seedint-1≥ -1set component #0 noise seed
c0_strengthint00–100set component #0 strength
c0_flagsint|string0—set component #0 flags
c1_seedint-1≥ -1set component #1 noise seed
c1_strengthint00–100set component #1 strength
c1_flagsint|string0—set component #1 flags
c2_seedint-1≥ -1set component #2 noise seed
c2_strengthint00–100set component #2 strength
c2_flagsint|string0—set component #2 flags
c3_seedint-1≥ -1set component #3 noise seed
c3_strengthint00–100set component #3 strength
c3_flagsint|string0—set component #3 flags

FFmpeg also names these options (use the parameter shown above): alls → all_strength, allf → all_flags, c0s → c0_strength, c0f → c0_flags, c1s → c1_strength, c1f → c1_flags, c2s → c2_strength, c2f → c2_flags, c3s → c3_strength, c3f → c3_flags.


Maps to FFmpeg’s noise 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.