How many bits / bytes do the metadata use in MP3 or how can I find this out with the JLayer Java library?
1 answer
The last 128 bytes of the mp3 file contain metadata. You can write a program that reads them. Structure:
| Song title | 30 characters |
| Artist | 30 characters |
| Album | 30 characters |
| Year | 4 characters |
| Comment | 30 characters |
| Genre | 1 byte |
- I use JLayer. There is a method that returns them. I just wanted to cut them off the stream to glue 2 files into 1. But there is some other catch. It does not see all the data of the 2nd file after they are connected and reproduces only the first part - Justinserg
|