What's the easiest way to extract the JPG data from an MP3 header in java?

后端 未结 3 1116
不思量自难忘°
不思量自难忘° 2020-12-20 03:45

I wrote a JSP that hands my Flash front-end an XML file that describes the contents of my mp3 folder, but am stuck trying to parse the individual file headers for the album

相关标签:
3条回答
  • 2020-12-20 04:07

    JavaMusicTag library allows you to read / write ID3 tags in mp3.

    It supports ID3v2 so getting album art should be possible.

    0 讨论(0)
  • 2020-12-20 04:11

    JAudioTagger is probably the most complete solution. It's supports many versions of id3. But it's too heavy. Jid3tag may be better if you only need the picture.

    0 讨论(0)
  • 2020-12-20 04:13

    You'll need an ID3 parsing library. Here's a Java ID3 Tag Library. You'll want to extract a FrameBodyPIC. The Quick Start Guide may be helpful.

    0 讨论(0)
提交回复
热议问题