I'm doing some experiments with mp3gain (1.5.1) on linux platform.
Basically, I'm playng with id3v2 and I've noticed this behaviour:
$ id3v2 -l layla.mp3
id3v1 tag info for layla.mp3:
Title : Layla -(Unplugged) Artist: Eric Clapton
Album : Complete Clapton Year: 2007, Genre: Unknown (255)
Comment: Track: 28
id3v2 tag info for layla.mp3:
TPE1 (Lead performer(s)/Soloist(s)): Eric Clapton
TIT2 (Title/songname/content description): Layla -(Unplugged)
TALB (Album/Movie/Show title): Complete Clapton
TYER (Year): 2007
TRCK (Track number/Position in set): 28
APIC (Attached picture): ()[, 3]: image/jpeg, 13958 bytes
TXXX (User defined text information): (Tagging time): 2009-06-06T22:49:44
Now, using mp3gain on this file:
$ mp3gain -s i layla.mp3
layla.mp3
Recommended "Track" dB change: -6.020000
Recommended "Track" mp3 gain change: -4
Max PCM sample at current gain: 36859.510784
Max mp3 global gain field: 190
Min mp3 global gain field: 141
Recommended "Album" dB change for all files: -6.020000
Recommended "Album" mp3 gain change for all files: -4
But now id3v2 is not so happy:
$ id3v2 -l layla.mp3
id3v1 tag info for layla.mp3:
Title : Layla -(Unplugged) Artist: Eric Clapton
Album : Complete Clapton Year: 2007, Genre: Unknown (255)
Comment: Track: 28
Is there something going wrong with mp3gain tagging or with id3v2 command? The idea to lose id3v2 tags is not so appealing :)
Thanks for any answer.
Maybe I've got the problem, even if I'm not sure: mp3gain changes id from v2.3.0 to 2.4.0 and some libs/utilities cannot cope with id3 v2.4.0 yet... I'll look better into this.
It's not just id3v2.
The Perl library MP3::Tag gives an "unknown frame format" error and returns corrupted/undef results when trying to read tags after running
mp3gain -s i file.mp3.
So mp3gain must be doing something which confuses at least some ID3v2-aware software. I'm using mp3gain v1.5.2 on Ubuntu linux.
Here is a demo script:
Last edit: Jim Avera 2014-08-26