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_strengthint00100set component #0 strength
all_flagsint|string0set component #0 flags
c0_seedint-1-1set component #0 noise seed
c0_strengthint00100set component #0 strength
c0_flagsint|string0set component #0 flags
c1_seedint-1-1set component #1 noise seed
c1_strengthint00100set component #1 strength
c1_flagsint|string0set component #1 flags
c2_seedint-1-1set component #2 noise seed
c2_strengthint00100set component #2 strength
c2_flagsint|string0set component #2 flags
c3_seedint-1-1set component #3 noise seed
c3_strengthint00100set component #3 strength
c3_flagsint|string0set component #3 flags

FFmpeg also names these options (use the parameter shown above): allsall_strength, allfall_flags, c0sc0_strength, c0fc0_flags, c1sc1_strength, c1fc1_flags, c2sc2_strength, c2fc2_flags, c3sc3_strength, c3fc3_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.