AIMP Forum

AIMP for PC => Вопросы / Questions => Topic started by: crysis_78 on July 24, 2025, 20:06:18

Title: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: crysis_78 on July 24, 2025, 20:06:18
Hi, I would like to know if a feature like this would be possible (or if it is already possible) in aimp. So you could use audio filters in realtime, like
Code: [Select]
loudnorm or
Code: [Select]
dynaudnorm like you can for example in mpv (video player)

Thanks for any help :)
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: Artem on July 24, 2025, 21:22:38
loudnorm

AIMP has it own volume normalization filters, like peak-based normalization and replay gain
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: crysis_78 on July 24, 2025, 21:24:26
I know, I tried them but I dont understand what they do, or how to set the correct settings.
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: Artem on July 24, 2025, 21:32:04
I know, I tried them but I dont understand what they do, or how to set the correct settings.

What exactly hard to understand here?
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: crysis_78 on July 25, 2025, 14:51:53
How does it work? does it work with LUFS (human preceived loudness) or normal dB/RMS. Audio normalization is a complex topic and the only thing you can adjust is one dB value (from what I have seen)
I have tried dynaudnorm, loudnorm 2pass and ReplayGain and nothing gives a good enough result.

Maybe you know about any other solution that could work?
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: Artem on July 25, 2025, 15:46:57
does it work with LUFS (human preceived loudness)

Yes, the replay gain option does it.

normal dB/RMS

It is peak-based normalization.

Maybe you know about any other solution that could work?

What is your goal? What settings you've tried in AIMP?
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: crysis_78 on July 25, 2025, 16:12:26
I try to normalize audio/music (big playlist with many genres, from Nu-Metal to Classic/Folk) I have already tried loudnorm 2pass and dynaudnorm. Dynaudnorm is very good but there are still big differences between tracks like 6-8dB, as it does not work with LUFS (human perceived loudness) but with dB/RMS, so its not possible to balance a (high compressed) Heavy Metal track to a (low compressed) Country/Folk song.
Loudnorm in 2pass can achieve that but I have no (real) experience using it. It also has (adds) more treble (sounds brighter) as it weights this frequency more (K-weighting filter) so it's kinda also an "Equalizer" which I don't know how to feel about.

I have tried the both options that are available, ReplayGain just reduced the volume. And the peak one, its hard to say which effect it had.
Title: Re: is (would) it (be) possible to use ffmpeg audio filters in aimp?
Post by: crysis_78 on August 07, 2025, 14:12:04
https://www.reddit.com/r/ffmpeg/comments/1mal7jx/perfect_music_normalization_with_dynaudnorm_lufs/
I made my own script for that