Re: Slightly malformed TRKN values in mp3 tags



Hi Kevin

On 2016-11-09 08:34, Kevin Pickell <kevin scale18 com> wrote:
I've attached an example mp3 that I'm seeing this issue with. In looking
at a hex dump of the file it seems to have a track number in it using
the "TRCK" tag, but when I view it in Easytag no track number appears.
I'm not sure if a bunch of my mp3 files are somehow malformed or if it's
just a minor bug in Easytag but hopefully with an example file it should
be easy to reproduce and sort out.

libid3tag is unable to read the TRCK field from the ID3 tag in the file that you provided, and skips over it entirely. This is because (at least) the TENC and MCDI fields have the wrong size, which presumably causes libid3tag to ignore any tag fields that follow (in this case the TRCK and TCON, or track number and genre, fields). I tried reading the tag with GStreamer, and it was likewise unable to make sense of the tag fields following the TENC and MCDI fields.

There is not much that EasyTAG can do in this situation, as it relies on libid3tag to read the ID3 tag from the file, and it does not report this inconsistency. As both of the ID3 tagging libraries that EasyTAG uses have a selection of bugs and lack features, and in addition are unmaintained for many years, I would love to write a new ID3 parser with some robust tests (or to reuse and extend the GStreamer one, which seems to be a good fit) which could better handle inconsistent ID3 tags. However, this is a large job and I do not have the time for it at the moment.

Do you know which software created this ID3 tag?

PS: I am also a programmer but I'm retired now, I used to work for EA
Canada and have done many games over the years on multiple systems.
Early on I wrote a 6502 cross assembler that we ran on Amigas to write
C64 games.

That is very cool! I am reading a biography of The Bitmap Brothers at the moment, which contains a bit of the history of their work with cross compilers and level editors. That period of gaming was truly a special time. :-)

--
http://amigadave.com/

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]