Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you edit MP3 files in Java (ID3)? [closed]

Lately, I've been trying to write a program that can change the ID3 tags of an mp3 file. I managed to write code to get those tags quite easily, but I have no idea how to write code to modify the tags. I assumed that there may be no easy solution, so I decided to try out some libraries. It may be my fault, but none of them work..

Anyway, my question is: how do I write my own code to modify ID3 tags? If it's not that easy, are there any libraries you can recommend?

like image 873
krp Avatar asked Aug 11 '11 18:08

krp


People also ask

What is ID3 MP3?

ID3 is a metadata container most often used in conjunction with the MP3 audio file format. It allows information such as the title, artist, album, track number, and other information about the file to be stored in the file itself. There are two unrelated versions of ID3: ID3v1 and ID3v2.


1 Answers

This library:

http://javamusictag.sourceforge.net/

provides a means of reading and writing id3 tags.

like image 160
Binaromong Avatar answered Sep 28 '22 13:09

Binaromong