Gagravarr/VorbisJava

How do I use this? Does it work for .flac files?

Opened this issue · 4 comments

There aren't any unit tests so I can't really see how to use it.

Thanks, that's pretty much what I needed. Is there anyway to get the duration of the audio? In milliseconds preferably?

It's possible that some encoding tools might store that duration in the metadata, but it isn't standard. If not, you'll have to iterate over all the audio packets to calculate it. The Tika Parser should be doing that already for all the file formats, so look there for the handful of calls you need to make