Go Down

Topic: Accessing ID3 Metadata from MP3 file (Read 3688 times) previous topic - next topic

bagopotatos

Hi there,

I was wondering anyone knows a good way of accessing ID3 tags off of mp3 files.  I am using an Arduino Mega and STA013 MP3 decoder chip and can successfully play music from an SD card, but I would like to display MP3 file information (artist/song title/etc.).  Anyone have any experience or advice in going about this?  I have looked around a lot online but haven't found any solid help.

Thanks!

bagopotatos

I've figured out how to access ID3v1 data by getting the file size, offsetting 128 bytes from it, and reading from there.  Does anyone know about ID3v2? Are there any standards?

rlogiacco


I've figured out how to access ID3v1 data by getting the file size, offsetting 128 bytes from it, and reading from there.  Does anyone know about ID3v2? Are there any standards?


A little search for "ID3 V2" returned tons of information, among the ones at top there's a wikipedia page http://en.wikipedia.org/wiki/ID3#ID3v2 which reports detailed info regarding the ID3v2 format, current latest specs is v2.4.

Have a nice read and if you wish to share a library I believe you'll get some nice dowloads  XD
Please, do not send me personal messages containing forum related questions: I will not answer.

I share my discoveries and thoughts at http://rlogiacco.wordpress.com

futurebird

The sparkfun MP3 shield library reads these tags. I'm curious about editing them. Specifically I want to store GPS coordinates in one of the tags. Can this be done with the SD library ...?

Serhiy

#4
Jan 02, 2017, 01:15 pm Last Edit: Jan 02, 2017, 01:56 pm by Serhiy
No. Sparkfans site say:

The SDFat library only supports "8.3" file names - that's eight characters before the '.' and three characters after (e.g. "track001.mp3").

With ID3 can help SFEMP3Shield library.

Go Up