panzi / mediaextract

Extracts media files (AVI, Ogg, Wave, PNG, ...) that are embedded within other files.

Home Page:http://panzi.github.com/mediaextract/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMI support

tomas opened this issue · comments

Hi, this is a cool little tool! Any plans for including support for XMIDI (.xmi)? It's fairly similar to MIDI.

I could do that, but I'd need some example XMIDI files. Do you know where I can get some?

Eye of the Beholder III contains XMI files embedded within the EYE.RES file and others. Here you can download the extracted XMI files, and read a bit more about the way they were extracted.

Ok, implemented XMIDI support. Please test it if you can.

Wow! That was fast.

Is mediaextract capable of reading through compressed or weirdly packaged files?

No, sorry. It can only scan uncompressed unfragmented unencrypted files. It just scans for the signatures of the known file formats and then tries to parse-out the whole media file.

Can I pipe something into it, then? Like:

tar xf package.tar.gz | mediaextract -f all -o /destination

That would allow building a wrapper that could identify compressed files and process them too.

mediaextract uses mmap, so no piping I'm afraid.