Skip to content

Smartblur

Video Single output Transform

Blur the input video without impacting the outlines.

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

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

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

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
luma_radiusfloat10.1–5set luma radius
luma_strengthfloat1-1–1set luma strength
luma_thresholdint0-30–30set luma threshold
chroma_radiusfloat-0.9-0.9–5set chroma radius
chroma_strengthfloat-2-2–1set chroma strength
chroma_thresholdint-31-31–30set chroma threshold
alpha_radiusfloat-0.9-0.9–5set alpha radius
alpha_strengthfloat-2-2–1set alpha strength
alpha_thresholdint-31-31–30set alpha threshold

FFmpeg also names these options (use the parameter shown above): lr → luma_radius, ls → luma_strength, lt → luma_threshold, cr → chroma_radius, cs → chroma_strength, ct → chroma_threshold, ar → alpha_radius, as → alpha_strength, at → alpha_threshold.


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