Do you know that video codecs, video containers and video formats are three different things? If not, then this guide might be for you. I'm trying to keep it as simple as possible, which means that this will not be as detailed as it could be. Afterwards you will be able to distinguish between codecs, containers and video formats.
Lets start with the video format. A format consists basically of a set of rules and parameters that define the video. This is the native resolution, color depth, the frames per second among other parameters. Video format examples are the DVD video format, the 3GP video format or 1080p and 1080i formats.
A video codec acts as a interpreter for the video format or formats it supports. Devices and software use codecs to compress and decompress video.
It is used by video players to determine how the video needs to be played correctly on the system. Many video players on a computer system come with their own set of binary codecs that only they can use. Codec packs on the other hand install codecs system wide so that applications like Windows Media Player can make use of them to play specific video formats.
A container more or less bundles multiple files. For videos, this is usually the video and audio track. More advanced container formats can include other data types as well like menus for example. Popular container formats are avi, mkv or mov.
One advantage of using a container for a video is that programs can use different codecs for the tracks of the video. It is therefor possible to use one codec for the video and one for the audio, which is often preferable to using a single codec.
To paraphrase: The video format sets the rules, the codec interprets them and a container format is a meta format that bundles multiple files into one container.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.