Its nice, but I dont know if all the image or video types identified by node-mime are supported by ffmpeg.  And as for using our custom types file, I think perhaps is better to use then our own "mime" handling.  Sure it should be moved to common in the very near future so mosto and caspa use the same code.