Strip ID3v1 tags and iTunes Specific Comments Field
Joel Verhagen
joel.verhagen at gmail.com
Wed Nov 3 17:07:42 CET 2010
Is there an easy way to completely remove the ID3v1 section from an MPEG
file? I will be adjusting the ID3v2 tags and I don't want to have to keep
the ID3v1 tags up to date, so I would like to just strip them out. FYI, I am
using C++. This is my current code, just to give an idea of what I have thus
far: http://paste2.org/p/1070301.
Also, I seems like TagLib is missing a little bit of data from the ID3 tags
of MP3 files encoded in iTunes. I opened an MP3 I have in my iTunes library
up in a piece of software called Mp3tag (http://www.mp3tag.de/en/).
My program's output about the comment fields in my test MP3:
COMM
14+2927E02397A325A3A403354149C59AB8+717162
000009F9 00000000 0000536A 00000000 00009C40 00000000 00008000 00000000
00009C40 00000000
000008D1 000008EF 00002B13 00002AD6 0000CD14 0000CD14 00006A81 00006E8F
0001CD7F 0001CD7F
00000000 00000210 000006F0 0000000000649080 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
Test
In Mp3tag, all five of those comment fields come up, but they have longer
keys, i.e. the five keys are COMMENT, COMMENT ITUNES_CDDB_IDS, COMMENT
ITUNNORM, COMMENT ITUNNORM (another), COMMENT ITUNSMPB. This says to me that
there is additional information in the ID3 that TagLib is not getting but
this freeware Mp3tag _is_ getting.
Is this a bug? Or am I missing something?
Joel Verhagen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20101103/6ade152a/attachment.htm
More information about the taglib-devel
mailing list