Eldelshell
Eldelshell

Reputation: 6960

Media analysis java library

As a "learn Groovy" project, I'm developing a site to manage my media collection (MP3, MP4, AVI, OGG) and I wasn't able to find any open source library to retrieve meta data from this files. I was thinking of something like Linux's file command. I've found few libraries on Java that do one or the other (like mp3info), but not a total solution even for just music files. Does such a library exists? Will this become another hobby project? Thanks for the answers

Upvotes: 1

Views: 691

Answers (3)

Liam
Liam

Reputation: 20960

As a last resort, you could use a dump from mplayer:

mplayer -identify -frames 0 filename

Upvotes: 0

basszero
basszero

Reputation: 30014

If you're willing to exec an external process, ExifTool can extract metadata from just about every file format ever invented. Dispite the name, it can pull metadata from more than just jpgs with exif tags.

Upvotes: 0

Alexey Ogarkov
Alexey Ogarkov

Reputation: 2916

You can try Entagged Library for getting metadata from media files

Upvotes: 1

Related Questions