I've been working on porting the mpv's af_volume replaygain support to using the libav side data (using libav's af_volume still doesn't work with mpv), and these are a few fixes to help in that. I've also added additional features (preamp and clipping prevention) to af_volume.
The patches should be more or less self-explanatory. I've also looked into exporting replaygain data from ogg vorbis files, but I could not figure out where to add the ff_replaygain_export() call. Help on that would be appreciated. Alessandro Ghedini (4): replaygain: correctly parse peak values flacdec: export replaygain tags from Vorbis comments af_volume: implement replaygain pre-amplification af_volume: implement replaygain clipping prevention doc/filters.texi | 6 ++++++ libavfilter/af_volume.c | 31 ++++++++++++++++++++++--------- libavfilter/af_volume.h | 1 + libavformat/flacdec.c | 5 +++++ libavformat/replaygain.c | 35 +++++++++++++++-------------------- libavutil/replaygain.h | 3 +-- 6 files changed, 50 insertions(+), 31 deletions(-) -- 1.9.1 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
