Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There are a lot of different video file containers floating around (AVI, WMV, MKV, OGM, etc.), and I've found you can't always trust the file extension. Too often, some confused individual changed it to something that she was more familiar with (for instance, from MKV to AVI), and that can become an issue, especially if you want to do something other than just play it.

What's an easy, reliable way to determine the type of container a video file uses on Windows? I know Media Player Classic does some kind of detection behind the scenes, but it doesn't present that information to the user.

Just a clarification: I'm not asking anything about the streams in the file or the codecs they use (i.e. Divx, MP3, etc), I'm asking about the container they are contained in. If you have a Divx video and and MP3 audio streams in a file, I want to know if it's in an AVI file, an MKV file, or something else.

share|improve this question
    
updated superuser.com/questions/73780/… –  Gerd Klima Nov 24 '09 at 9:52

3 Answers 3

Look at the file data itself (binary) and then use info from wotsit to determine file type.

There is also the TrID utility that does this automatically.

share|improve this answer
    
I would like a program that automates something like what you describe, I don't want to do it myself. –  Kaypro II Nov 24 '09 at 6:31
    
I added the TrID utility. It did what you asked for an AVI file on my system (have no other files around currently). –  Gerd Klima Nov 24 '09 at 9:30

Take a look at this exhausting list of codec identifiers. I'd point out GSpot and AVICodec.

share|improve this answer
    
Those aren't what I'm looking for. I want to find out about the container format, not the codec. –  Kaypro II Nov 23 '09 at 13:54

Try this program: http://mark0.net/soft-tridnet-e.html

Make sure you download definitions together with the program and extract the TrIDNet and the definitions to the same folder

I tested and TrIDNet with current definitions was able to detect AVI, MKV, FLV, MP4 containers

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.