[FFmpeg-trac] #11408(avfilter:new): loudnorm performance improvement
FFmpeg
trac at avcodec.org
Thu Jan 9 19:33:22 EET 2025
#11408: loudnorm performance improvement
-------------------------------------+-------------------------------------
Reporter: guillaumekh | Type:
| enhancement
Status: new | Priority: minor
Component: avfilter | Version: git-
Keywords: loudnorm | master
loudness performance ebur128 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
**Summary of the bug:**
The loudnorm audio filter is slow.
On my M2 Max MacBook Pro running FFmpeg 7.1, it typically reaches 25-35x
speed.
Some other ITU1770 implementations manage better throughput. I’m currently
aware of the following implementations :
- [https://github.com/jiixyj/libebur128 libebur128] (C library) : similar
to FFmpeg's loudnorm
- [https://github.com/sdroege/ebur128 ebur128] (Rust port of libebur128):
reportedly only moderately faster than libebur128
[https://github.com/jiixyj/libebur128/issues/122#issuecomment-1145974074
according to authors]
- [http://pbelkner.de/projects/web/bs1770gain/ bs1770gain]: ≈100x faster
than realtime
- Adobe Audition: takes the crown, at ≈275x faster than realtime
How to reproduce:
{{{
% ffmpeg -i sometestaudiofile -vn -af loudnorm -f null /dev/null
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11408>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list