filter-chain: add ebur128 filter

The EBU R128 filter measures the signal and generates LUFS control
notifications for further processing.

It also adds a plugin that can convert LUFS to a gain (based on a target
LUFS).

Also add an example filter-chain to enable the EBU R128 measurement and
how to use the results to adjust the volume dynamically.

See #2286 #222 #2210
This commit is contained in:
Wim Taymans 2024-12-09 11:12:35 +01:00
parent f0f9fbb009
commit df271d13f3
6 changed files with 792 additions and 3 deletions

View file

@ -117,6 +117,9 @@ if get_option('spa-plugins').allowed()
lilv_lib = dependency('lilv-0', required: get_option('lv2'))
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true, section: 'filter-graph')
ebur128_lib = dependency('libebur128', required: get_option('ebur128').enabled())
summary({'EBUR128': ebur128_lib.found()}, bool_yn: true, section: 'filter-graph')
cdata.set('HAVE_SPA_PLUGINS', '1')
subdir('plugins')
endif