avidentify is a command line tool that extracts
and prints various meta-information about media
files: width, height, frame rate, video codec,
audio codec, audio sample rate, audio bitrate,
file format, etc. It uses ffmpeg's libavformat
library to read the video files, thus MPEG, AVI,
WMV, MP3, Ogg, and many other file formats are
supported. avidentify is similar to MPlayer's
midentify tool, but it has far fewer dependencies.