Prova a vedere questa libreria http://www.getid3.org/