Changing MP4::Tag ItemListMap

Lukáš Lalinský lalinsky at
Fri Nov 27 17:57:34 CET 2009

2009/11/27 Новичков А.А. <novichko at>:
> Hi, I have a question. How can I write some non-standard tag into mp4
> file? The class MP4::Tag doesn't have any methods for it.

Take a look at the MP4::Tag source code. The usual way is something like:

file->tag()->itemListMap()["aART"] = TagLib::StringList("Album artist");
file->tag()->itemListMap()["\251wrt"] = TagLib::StringList("Composer");

Or, if you want to write a new free-form tag:

file->tag()->itemListMap()[""] =
TagLib::StringList("Some custom tag");

Lukas Lalinsky
lalinsky at

More information about the taglib-devel mailing list