On Sun, 4 Dec 2011, Albretch Mueller wrote:
I don't see media (mpeg, flv, webm files) parsers implementation of
the Parser interface

The issue is that for most of these, we'd need one of:
 * A suitably licensed Java library to use
 * To write our own Java code to parse the containers and codecs
 * To call our to something on the command line (eg ffmpeg) to do that
   work for us

For the 1st option, I'm not aware of there being many Java libraries for the various containers and codecs of interest, let alone ones under a suitable license. Please shout if you know of some though!

For the 2nd option, it could be done, but it'd be a lot of work. (I speak as the person who's written the Ogg and FLAC parsers, and worked quite a bit on the MP3 one)

The third option is my chosen one, but it's not quite ready. I got much of it done in the summer, but haven't had a chance to finish it off.... My idea was to extend the ExternalParser's support, than provide config to call out to ffmpeg (probably "ffmpeg -i <file>") to get the metadata on it. If you're interested in helping, I can let you know some of the tasks (mapping from "ffmpeg -formats" to supported mimetypes being one)

Nick

Reply via email to