[libav-bugs] [Bug 640] New: Parse and apply ReplayGain tags

bugzilla at libav.org bugzilla at libav.org
Wed Feb 19 11:41:51 CET 2014


https://bugzilla.libav.org/show_bug.cgi?id=640

           Summary: Parse and apply ReplayGain tags
           Product: Libav
           Version: git HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: theodorz at gmail.com


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.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list