However, I'm not sure how I can copy over the ReplayGain information to an MP3 file. As far as I can tell there are no id3v1 or id3v2.3 tags available for ReplayGain. I know that mp3gain has some kind of support for APEv2 tags, but I'm not really sure how to apply that to an MP3 file.
I also considered using mp3gain directly, but I want to transfer the ReplayGain information, not reanalyze and apply new data. I know that you can specify the ReplayGain information mp3gain should apply, but I don't know how to make that work either as the information produced by ReplayGain and mp3gain seems to be different. For example, here's the Track ReplayGain and mp3gain information for the same song that was converted from a FLAC to an MP3:
CODE
$ vorbiscomment 01-Have\ Yourself\ a\ Merry\ Little\ Christmas.ogg
REPLAYGAIN_TRACK_PEAK=0.66180420
REPLAYGAIN_TRACK_GAIN=+1.14 dB
$ mp3gain -s c 01-Have\ Yourself\ a\ Merry\ Little\ Christmas.mp3
Recommended "Track" dB change: -0.405000
Recommended "Track" mp3 gain change: 0
Max PCM sample at current gain: 25685.721088
Max mp3 global gain field: 211
Min mp3 global gain field: 128
REPLAYGAIN_TRACK_PEAK=0.66180420
REPLAYGAIN_TRACK_GAIN=+1.14 dB
$ mp3gain -s c 01-Have\ Yourself\ a\ Merry\ Little\ Christmas.mp3
Recommended "Track" dB change: -0.405000
Recommended "Track" mp3 gain change: 0
Max PCM sample at current gain: 25685.721088
Max mp3 global gain field: 211
Min mp3 global gain field: 128
Any suggestions here? I'm sure I'm not the first person to do something like this, but I haven't had any luck so far searching for the answer. Any ideas would be most appreciated.
Thanks.
