Please see my comment to the question.
I would recommend three open-source products (2nd and 3rd are basically the same thing, one being based on another one) which you can use to sort out what do you have or possibly can have. No, they won't solve your problem yet. They will help you just to understand the problem. And then you can decide what do you want to cover and then start looking for some solutions. Or asking about them, with proper clarifications.
Here:
http://en.wikipedia.org/wiki/Media_Player_Classic[
^],
http://en.wikipedia.org/wiki/FFmpeg[
^],
http://en.wikipedia.org/wiki/Libavcodec[
^].
With Media Player Classic, see the media property of the media you come across. You can do the same with FFProbe.EXE, a utility which comes as a part of FFMpeg. There is libav as a separate product, also with corresponding utilities. And read the documentation of FFMPeg on supported set of standards, codecs, and… everything else.
See also:
^] (http://en.wikipedia.org/wiki/Digital_container_format),
http://en.wikipedia.org/wiki/Codec[
^].
(We experience the problem of CodeProject anchors posts; first link is not "clickable"; sorry for the inconvenience.)
—SA