[FFmpeg-trac] #3398(undetermined:new): Parse and apply ReplayGain tags

FFmpeg trac at avcodec.org
Tue Feb 18 21:55:19 CET 2014


#3398: Parse and apply ReplayGain tags
-------------------------------------+-------------------------------------
             Reporter:  theodorz     |                     Type:
               Status:  new          |  enhancement
            Component:               |                 Priority:  normal
  undetermined                       |                  Version:
             Keywords:  volume       |  unspecified
  replaygain                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3398>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list