Does anyone know of a tool that would allow me to get the properties of any media file, in a parseable way? Something similar to what ImageMagick's "identify" does for images:
$ identify libre.jpg
libre.jpg JPEG 512x512 512x512+0+0 8-bit DirectClass 102KB 0.010u 0:00.009
A Perl, Ruby or Python library would do as well.
