Determine which codecs are used in a video file
Posted on July 6, 2009 at 5:49 am
To play a particular video, you need to install the same codec that was used to create (compress) the video in the first place, regardless of the media player application you’re using. To determine which codec was usedin a video file, you’ll need a program like GSpot: http://www.headbands.com/gspot/ or AVIcodec: http://avicodec.duby.info, both of which are free.
Just drag-drop the video file onto GSpot or AVIcodec, and the program will display the file’s video codec, audio codec, and other statistics. See the example below for one of my downloaded video files:
Let’s take a close look at it’s content. At the video panel you can see the codec details used by the video:
In the example above, it used a standard h264 MPEG-4 codec supported by popular media playing apps like VLC and GOM. You can also determine if you have the codecs necessary to play this video:
Other useful video statistics are available too:
On the audio codecs section you will see the codec information used to encode its audio:
In the example above it is an MP3 with 44Khz sampling rate. You will also see if the codec is installed in your computer or not – good for troubleshooting movie files that doesn’t play an audio!
Unlike Sherlock: The Codec Detective, this particular tool is more useful in my opinion especially if you have an example of a file that you could not play. With this tool you can determine the exact codec used for both video and audio and it does it instantly.
Ben Carigtan shows you how it’s done.
» Filed Under Computer Tips
Related Posts
- Play MP4 Audio and Video Files in Windows Media Player
- CodecInstaller – Find and download audio and video codecs to play movies
- Play More Audio and Video Files with Windows Essentials Media Codec Pack
- Fix “cannot play” MP3 files in PSP and Sony MP3 players
- Can’t play AVI files in Window Media Player?
MediaInfo
http://mediainfo.sourceforge.net/en
Hi
Do you know if there’s any php script that can do this if my media files are on a web server ?
Thanks! I was trying to play a file on my XBox, but it said the format was not valid. I was guessing it was using a codec that is not supported. Sure enough, it was using DivX.
Can the XBox see video from Windows Media Player 12? I thought it WMP could play a file, the XBox could also? Is this not true?