gst-plugins-rs/gst-plugin-audiofx
Sebastian Dröge 666ec7d54d audiofx: Add audioloudnorm filter based on the ffmpeg af_loudnorm filter
This normalizes the loudness of an audio stream to a target loudness
with a given maximum peak based on EBU R128.

Conceptually it keeps a 3s lookahead for calculating the perceived
loudness and based on that calculates the gain required to reach the
target loudness. The calculated gains then go through a gaussian filter
for smoothening and are then applied to the audio in 100ms blocks. Each
of the 100ms blocks is then passed to a limiter filter to prevent going
above the maximum peak.

See http://k.ylo.ph/2016/04/04/loudnorm.html for some more details about
the algorithm.

It introduces 3s of latency and currently only works on 192kHz audio.
Using it with a different sample rate requires resampling before and
afterwards. The upsampling is required to calculate the true peak.

Other than the ffmpeg filter it currently does not support two-pass
processing but only one-pass/live processing.

Compared to the ffmpeg filter this code was refactored considerably and
the limiter implementation was fixed to actually work, as well as
various other bugs in different places that were fixed.
2020-04-01 23:55:48 +03:00
..
src audiofx: Add audioloudnorm filter based on the ffmpeg af_loudnorm filter 2020-04-01 23:55:48 +03:00
tests audiofx: Add audioloudnorm filter based on the ffmpeg af_loudnorm filter 2020-04-01 23:55:48 +03:00
build.rs Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00
Cargo.toml audiofx: Add audioloudnorm filter based on the ffmpeg af_loudnorm filter 2020-04-01 23:55:48 +03:00