[vlc-devel] [PATCHv2 0/9] Loudness Meter plugin and player API

Thomas Guillem thomas at gllm.fr
Wed Aug 19 21:25:54 CEST 2020


Changes since RFC:
 - Fix leak in libebur128 plugin

 - No more variables hacks (callbacks, vlc_object_parent()).

 - Add a proper vlc_audio_meter API, that is used to manage "audio meter"
   plugins.

 - Replace the player Loudness API by a generic Metadata API. This API could be
   used for more usecase (like statistics, SEI...)

Best regards,
Thomas Guillem (9):
  aout: filters: expose CreateFilter internally
  aout: add the vlc_audio_meter API
  aout: use the vlc_audio_meter API
  contrib: add libebur128
  audio_filter: add ebur128 "audio meter" plugin
  player: add a metadata listener API
  demux: mock: use f32l by default for audio
  demux: mock: audio: output a sine wave by default
  player: test the loudness meter via the metadata API

 configure.ac                      |   5 +
 contrib/src/libebur128/SHA512SUMS |   1 +
 contrib/src/libebur128/rules.mak  |  25 +++
 include/vlc_aout.h                | 148 +++++++++++++++
 include/vlc_filter.h              |  18 ++
 include/vlc_player.h              | 112 +++++++++++
 modules/audio_filter/Makefile.am  |   9 +-
 modules/audio_filter/libebur128.c | 306 ++++++++++++++++++++++++++++++
 modules/demux/Makefile.am         |   1 +
 modules/demux/mock.c              |  52 ++++-
 src/Makefile.am                   |   2 +
 src/audio_output/aout_internal.h  |  15 ++
 src/audio_output/dec.c            |  13 ++
 src/audio_output/filters.c        |  30 +--
 src/audio_output/meter.c          | 225 ++++++++++++++++++++++
 src/audio_output/output.c         |  19 ++
 src/libvlccore.sym                |   9 +
 src/player/metadata.c             | 217 +++++++++++++++++++++
 src/player/player.c               |   9 +-
 src/player/player.h               |  15 ++
 test/src/player/player.c          |  60 ++++++
 21 files changed, 1270 insertions(+), 21 deletions(-)
 create mode 100644 contrib/src/libebur128/SHA512SUMS
 create mode 100644 contrib/src/libebur128/rules.mak
 create mode 100644 modules/audio_filter/libebur128.c
 create mode 100644 src/audio_output/meter.c
 create mode 100644 src/player/metadata.c

-- 
2.28.0



More information about the vlc-devel mailing list