Greetings to all,
Lately I've been playing around with the MPEG-4 container, and I'm having difficulty understanding what I'm seeing, so I'm turning to the community.
I've found a mention of the gnre atom here:
but it doesn't seem to be related to the results I'm getting.
As I've done for ID3, I wrote my own tag reader for MPEG-4 in VBA, and while debugging I've noticed the gnre atom for an .m4a file tagged in MP3Tag (v3.33b5), which according to the file structure should contain an uint8 data type integer (which it does) representing a Genre type according to the ID3v1 list of genres.
So, according to the ID3v1 genre table, 'Blues' should be encoded with '00', Classic Rock with '01', and so on.
But looking at a newly tagged file in an hex editor, in the genr atom I'm seeing '01' for 'Blues', '02' for 'Classic Rock', etc.
There's nothing wrong with Mp3Tag; Genre is read and written correctly in the main window, and on music players everything is displayed correctly, so I know there's something wrong on *my* end. But since I'm looking at raw hex data, the value has to be just as it shows (converted to decimal, obviously).
But since it does not match the ID3v1 Genre tables I've searched, and I can't find any documentation on as to why it doesn't, I'm hoping a kind poster might point me in the right direction.
Thank you.
