An intro to video file formats

Amy is a contributing writer. Vimeo commissions pieces from a variety of experts to provide a range of insights to our readers, and the views and opinions expressed here are solely those of the author. All content and any external links are provided for informational purposes only.
Amy Horton
Video file formats are important. From codecs to .mp4s, we're breaking down all the file things.

Whether you’re launching a new campaign or just looking to express yourself creatively, all video-makers have to dance within the world of file formats.

In order to deliver the correct file to your client, team, or collaborator, you’ll need to check certain boxes and click a few buttons when exporting from your editing program. Don’t know what .mp4 or .mov really means? You’ve heard of a codec — but what is it, really?

We’re breaking down some common questions, so you can go into post-production with a solid sense of video file formats. Read on for a breakdown of different file formats, and why your computer might happily decode some while the struggle is real for others!

Everything is in the container

A container includes all of your video file’s important information. This includes your video and audio, as well metadata: Video title, description, thumbnail, or captions and subtitles.

To determine your container’s format, simply look at its file extension. For example, an MPEG-4 Part 14 container will show up as an .mp4, while a Quicktime container will format as .mov. There are other containers specific to broadcasting or archiving, but for online video streaming and distribution, .mp4 and .mov are the most compatible, and thus, most frequently used.

How about a codec?

A codec is short for compressor-decompressor (hence the name codec), and it implements the specific algorithm for compressing video and audio data — and also for de-compressing that same data when you are watching the video file on your computer. Your operating system may already come with everything it needs to playback some codecs. However, if it doesn’t, there are additional programs you can install to enable you to view a wider variety of videos, like VLC.

Common codecs

There is a huge variety of video codecs, but the two below are the ones you’ll encounter the most.

H.264/AVC: This is an international ISO/ITU standard, and the most used codec for distributing HD video. Vimeo encodes all of our videos to H.264 for playback, which is why we recommend using this codec in our Compression Guidelines.

Apple ProRes: This is a close second in popularity because a lot of post-production happens on Apple products.

Note: Audio and video codecs are separate entities. A container interweaves your audio and video into a single stream. AAC is an ISO standard audio codec, so we recommend using AAC-LC (low complexity) for your video’s audio codec.

How are videos compressed?

Compression can be lossy or lossless. Here’s what that means.

Lossy files are smaller and easier for digital delivery, and they are compressed in such a way that the data loss is imperceptible to humans. This is the more logical choice for online video playback. Large video files take up more storage space and might cause playback issues for viewers with a slower internet connection. Learn how to send large video files.

Lossless files are compressed so that all original data is there, but the file size is significantly larger and, in this case, impractical. Because of this, lossless files are never used on the web, but are used in production and for archiving.

How can you play any video format?

There are hundreds of video file formats and codecs out there, but you can play many video formats by using the right tools and strategies. The key often lies in having robust player software (like Vimeo!) or converting your video to a more compatible format.

Adding video metadata

Adding video metadata is an essential step for discoverability once your video is live on Vimeo, on YouTube, or embedded on your website or social media. This entails completing specific fields in the encoding program or uploading platform to add details about the content of your video. You would enter descriptive data such as video title, description, creator name, chapters, runtime, upload date, and more.

What is metadata for videos? In essence, the description of your video content is known as video metadata. At the most basic, this consists of the video title, which should be brief and full of keywords related to what the video is about; the description, which provides a more thorough synopsis of the video topic and more keywords; and category tags, which are particular terms that help classify your video and help search engines and users understand what the video is about. Users looking for related content will find your video more easily if the metadata is accurate.

More Video School lessons

Vimeo empowers creators with tools for producing, sharing, and managing their projects. Features include screen recording software, a teleprompter tool, and detailed analytics.

More from the Vimeo blog

Learn how to compress video without losing quality on Mac, Windows, iPhone, and Android and reduce the video size for MP4, FLV, MOV, WMV, and other video formats.

How to compress videos in 6 ways (without losing quality)

Vimeo transcoding converters

9 best Mac and PC video transcoding converters: Free and paid

Inserting a video into a Microsoft PowerPoint presentation is a great way to enhance your slides. Learn how to embed Vimeo and YouTube videos and insert MP4, AVI, and other formats to level up your deck.

How to add videos to PowerPoint for Windows and Mac

Learn what kind of video player to use for your needs, plus what to look for for in the different types of video player options online.

What is a video player? Plus, what platforms to consider

What the heck is a codec, anyway? Vimeo’s video encoding lead Vittorio Giovara answers all of your burning questions.

What is a codec? Audio and video codecs, explained

We’re excited to announce a few analytics features we’ve rolled out that bring a deeper insight into how people are watching your videos.

3 updates to our video analytics features

We’re excited to announce that we’re taking the next step in our commitment to high quality video by launching support for the AV1 codec.

AV1: Setting a new standard for video codecs

With HDR, your videos can go deeper and wider across the color spectrum than ever before.

Luminous colors, stunning high quality: HDR has arrived