I have been trying to extract the Image, Author, date, etc from a MP3 file, but failed.
Is there a way to obtain Image and other information from a (audio) file in java/javafx?
There are a lot of librarys for this problem: Look javamusictag
As example from this Documentation you can read the mp3-Info by Tags like:
File sourceFile;
MP3File mp3file = new MP3File(sourceFile);
You can also read specific tags:
ID3v1_1 tag = new ID3v1_1(sourceFile);
ID3v1 tag = new ID3v1(sourceFile);
ID3v2_4 tag = new ID3v2_4(sourceFile);
ID3v2_3 tag = new ID3v2_3(sourceFile);
ID3v2_2 tag = new ID3v2_2(sourceFile);
Lyrics3v2 tag = new Lyrics3v2(sourceFile);
Lyrics3v1 tag = new Lyrics3v1(sourceFile);