Skip to content

Dynaudnorm

Audio Single output Transform

Dynamic Audio Normalizer.

FFmpeg filter: dynaudnorm — 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 = $audio->addFilter(new Dynaudnorm());
$result = $node->outputs()[0];

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

$result = $audio->apply(new Dynaudnorm());

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
framelenint500108000set the frame length in msec
gausssizeint313301set the filter size
peakfloat0.9501set the peak value
maxgainfloat101100set the max amplification
targetrmsfloat001set the target RMS
couplingbooltrueset channel coupling
correctdcboolfalseset DC correction
altboundaryboolfalseset alternative boundary mode
compressfloat0030set the compress factor
thresholdfloat001set the threshold value
channelsstringallset channels to filter
overlapfloat001set the frame overlap
curvestringset the custom peak mapping curve

FFmpeg also names these options (use the parameter shown above): fframelen, ggausssize, ppeak, mmaxgain, rtargetrms, ncoupling, ccorrectdc, baltboundary, scompress, tthreshold, hchannels, ooverlap, vcurve.


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