Parse and apply ReplayGain tags
|Reported by:||Theo||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I'm reading and decoding mp4 audio files with libavformat (avformat_open_input etc.) and libavcodec. These files have Hydrogenaudio Replay Gain tags which I would like to apply during playback.
Atom "----" [replaygain_track_gain] contains: -9.24 dB
Atom "----" [replaygain_track_peak] contains: 0.999969
I would like to apply these volume adjustments during playback.
The tags are not present in the format context metadata dictionary, or in the individual streams metadata. If I could access this metadata I could perhaps apply the volume adjustments with a volume avfilter, but they do not seem to be exposed at all at the moment.
My enhancement request is to either expose the tags to the user somehow, or at least parse and apply them behind the scenes.