mpeg4 reverse dns tag reading

Lukáš Lalinský lalinsky at gmail.com
Mon Jun 14 07:46:08 CEST 2010


On Mon, Jun 14, 2010 at 3:10 AM, Glenn McCord <glenn.mccord at gmail.com> wrote:
> Is it possible to read reverse dns atoms from mpeg4 files that are
> outside the meta tag. Although iTunes atoms can be read, Serato atoms
> are located at the very end of the file and taglib doesn't seem to be
> able to read them
>
> If I use something like...
>
> TagLib::MP4::ItemListMap ilm = tag->itemListMap();
>
> for(TagLib::MP4::ItemListMap::ConstIterator it = ilm.begin(); it !=
> ilm.end(); ++it)
> {
>        cout << (*it).first << endl;
> }
>
> ...then I get the itunes reverse dns atoms, i.e.
> ----:com.apple.iTunes:iTunMOVI
> ----:com.apple.iTunes:iTunNORM
> ----:com.apple.iTunes:iTunSMPB
>
> ...but the Serato atoms, which are along the lines of
> com.serato.scratchlive, are not.
>
> At the moment I suspect I'm going to have to edit taglib's code so
> that reverse dns atoms outside the meta ataom can be read.

If they are using the standard free-text atom "----", they should be
readable. I suspect they might use a non-standard structure, so TagLib
ignores them. If you can send me one such file privately (not to the
list), I can take a look where is the problem.

Lukas


More information about the taglib-devel mailing list