[first, apologies for the lengthy post]
I'm using EAC v0.95 beta 4 and REACT v2.0 to create FLACs and M4As. I've updated the version of aacgain.exe that REACT2 uses to v1.7.
The scripting from REACT works fine: I do indeed get playable FLAC and M4A files, however, the replay gain tags that specifically aacgain adds are not being recognised by foobar2000 (v0.9.4.3): the values just don't display in either the Properties dialog or the Edit ReplayGain Info dialog.
In my REACT2 scripts, I'm using neroAacTag v1.0.7.0 to add standard tags and a custom tag. Here is the list-meta output from neroAacTag:
CODE
neroAacTag.exe -list-meta "06 Happy Phantom.m4a"
Processing file: "06 Happy Phantom.m4a"
Metadata list:
tool = Nero AAC codec / Feb 12 2007
artist = Tori Amos
album = Little Earthquakes
track = 6
totaltracks = 12
title = Happy Phantom
year = 1992
genre = Rock
comment = Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
media-guid = {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
End of metadata.
Processing file: "06 Happy Phantom.m4a"
Metadata list:
tool = Nero AAC codec / Feb 12 2007
artist = Tori Amos
album = Little Earthquakes
track = 6
totaltracks = 12
title = Happy Phantom
year = 1992
genre = Rock
comment = Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
media-guid = {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
End of metadata.
(media-guid is my custom tag)
So, where are the replay gain tags supposedly added by aacgain?
I note in the readme for aacgain it states:
QUOTE
10. The following metadata tags will be added to your files:
- replaygain_track_gain
- replaygain_album_gain
- replaygain_track_peak
- replaygain_album_peak
- replaygain_track_minmax
- replaygain_album_minmax
- replaygain_undo
These are all free-form metadata tags (moov.udta.meta.ilst.----)
with 'data' text fields in the same format as the mp3gain
equivalents. You may use AtomicParsley (download from sourceforge)
to view the tags.
- replaygain_track_gain
- replaygain_album_gain
- replaygain_track_peak
- replaygain_album_peak
- replaygain_track_minmax
- replaygain_album_minmax
- replaygain_undo
These are all free-form metadata tags (moov.udta.meta.ilst.----)
with 'data' text fields in the same format as the mp3gain
equivalents. You may use AtomicParsley (download from sourceforge)
to view the tags.
So I used AtomicParsley to view the tags, here's the command and it's output:
CODE
AtomicParsley.exe "06 Happy Phantom.m4a" -t
Atom "trkn" contains: 6 of 12
Atom "gnre" contains: Rock
Atom "©too" contains: Nero AAC codec / Feb 12 2007
Atom "©ART" contains: Tori Amos
Atom "©alb" contains: Little Earthquakes
Atom "©nam" contains: Happy Phantom
Atom "©day" contains: 1992
Atom "©cmt" contains: Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
Atom "----" [com.apple.iTunes;media-guid] contains: {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
Atom "----" [com.apple.iTunes;replaygain_album_gain] contains: -3.21
Atom "----" [com.apple.iTunes;replaygain_album_peak] contains: 1.01
Atom "----" [com.apple.iTunes;replaygain_album_minmax] contains: 105,177
Atom "----" [com.apple.iTunes;replaygain_track_gain] contains: -2.06
Atom "----" [com.apple.iTunes;replaygain_track_peak] contains: 1.01
Atom "----" [com.apple.iTunes;replaygain_track_minmax] contains: 105,173
Atom "----" [com.apple.iTunes;replaygain_undo] contains: -1,-1
Atom "trkn" contains: 6 of 12
Atom "gnre" contains: Rock
Atom "©too" contains: Nero AAC codec / Feb 12 2007
Atom "©ART" contains: Tori Amos
Atom "©alb" contains: Little Earthquakes
Atom "©nam" contains: Happy Phantom
Atom "©day" contains: 1992
Atom "©cmt" contains: Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
Atom "----" [com.apple.iTunes;media-guid] contains: {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
Atom "----" [com.apple.iTunes;replaygain_album_gain] contains: -3.21
Atom "----" [com.apple.iTunes;replaygain_album_peak] contains: 1.01
Atom "----" [com.apple.iTunes;replaygain_album_minmax] contains: 105,177
Atom "----" [com.apple.iTunes;replaygain_track_gain] contains: -2.06
Atom "----" [com.apple.iTunes;replaygain_track_peak] contains: 1.01
Atom "----" [com.apple.iTunes;replaygain_track_minmax] contains: 105,173
Atom "----" [com.apple.iTunes;replaygain_undo] contains: -1,-1
It's clear now that all the replay gain tags are being 'prefixed' or have a 'namespace' (whatever the correct term is) of "com.apple.iTunes", and perhaps this is why foobar2000 ain't seeing them.
To make things slightly wierder, I used foobar2000 to scan and add replaygain using "Scan Selection as Single Album", which it now added ok, but look at the tag outputs again:
CODE
neroAacTag.exe -list-meta "06 Happy Phantom.m4a"
Processing file: "06 Happy Phantom.m4a"
Metadata list:
track = 6
totaltracks = 12
genre = Rock
album = Little Earthquakes
artist = Tori Amos
comment = Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
media-guid = {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
replaygain_album_gain = -3.23 dB
replaygain_album_peak = 1.006634
replaygain_track_gain = -2.11 dB
replaygain_track_peak = 1.006634
title = Happy Phantom
tool = Nero AAC codec / Feb 12 2007
year = 1992
End of metadata.
Processing file: "06 Happy Phantom.m4a"
Metadata list:
track = 6
totaltracks = 12
genre = Rock
album = Little Earthquakes
artist = Tori Amos
comment = Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
media-guid = {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
replaygain_album_gain = -3.23 dB
replaygain_album_peak = 1.006634
replaygain_track_gain = -2.11 dB
replaygain_track_peak = 1.006634
title = Happy Phantom
tool = Nero AAC codec / Feb 12 2007
year = 1992
End of metadata.
and
CODE
AtomicParsley.exe "06 Happy Phantom.m4a" -t
Atom "trkn" contains: 6 of 12
Atom "gnre" contains: Rock
Atom "©alb" contains: Little Earthquakes
Atom "©ART" contains: Tori Amos
Atom "©cmt" contains: Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
Atom "----" [com.apple.iTunes;media-guid] contains: {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
Atom "----" [com.apple.iTunes;replaygain_album_gain] contains: -3.23 dB
Atom "----" [com.apple.iTunes;replaygain_album_peak] contains: 1.006634
Atom "----" [com.apple.iTunes;replaygain_track_gain] contains: -2.11 dB
Atom "----" [com.apple.iTunes;replaygain_track_peak] contains: 1.006634
Atom "©nam" contains: Happy Phantom
Atom "©too" contains: Nero AAC codec / Feb 12 2007
Atom "©day" contains: 1992
Atom "trkn" contains: 6 of 12
Atom "gnre" contains: Rock
Atom "©alb" contains: Little Earthquakes
Atom "©ART" contains: Tori Amos
Atom "©cmt" contains: Created 2007-07-04 with EAC v0.95 beta 4 and REACT v2.0
Atom "----" [com.apple.iTunes;media-guid] contains: {32264fb9-3b09-46e1-acf1-75bbeeecaee5}
Atom "----" [com.apple.iTunes;replaygain_album_gain] contains: -3.23 dB
Atom "----" [com.apple.iTunes;replaygain_album_peak] contains: 1.006634
Atom "----" [com.apple.iTunes;replaygain_track_gain] contains: -2.11 dB
Atom "----" [com.apple.iTunes;replaygain_track_peak] contains: 1.006634
Atom "©nam" contains: Happy Phantom
Atom "©too" contains: Nero AAC codec / Feb 12 2007
Atom "©day" contains: 1992
Note the newly appearing tags from neroAacTag, and the reordering and two missing tags from AtomicParsley.
It appears that the inclusion of "replaygain_album_minmax" and "replaygain_track_minmax" mean that foobar2000 skips all the replaygain info.
So, I'd like to know:
1. is the "com.apple.iTunes" necessary? Is this purely for iTunes compatibility?
2. why is my "media-guid" tag prefixed with "com.apple.iTunes" ?
3. can the order of tags be altered to be compatible with foobar2000 ?
4. are the "replaygain_album_minmax" and "replaygain_track_minmax" tags required by iTunes?
5. is this an AACGain issue or a foobar2000 issue? or neither?
6. are there any other options I should try?
Thanks very much for reading!
Roland
