Java detecting an audio file (mp3)

心不动则不痛 提交于 2019-12-03 20:46:17

You may take a look at Apache Tika library. It can detect type of a file by its content and extract file metadata. It supports mp3 format.

Here is an example of file type detection with Apache Tika.

You need to add MP3SPI library so that java audio api could recognize and decode mp3 files.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!