Opened 11 years ago

Closed 11 years ago

#3398 closed enhancement (fixed)

Parse and apply ReplayGain tags

Reported by: Theo Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: volume replaygain
Cc: nfxjfg@googlemail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

The tags were created with AtomicParsley (http://atomicparsley.sourceforge.net/) and the atoms look like this:

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.

Change History (2)

comment:1 by gjdfgh, 11 years ago

Cc: nfxjfg@googlemail.com added

comment:2 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: newclosed

This should have been fixed in 6e573b77597c1039667b5d7916551b488aeef828

Note: See TracTickets for help on using tickets.