# Video Container Format

> The file that holds a video's picture and sound in one box. MP4 is one.

**Field:** Design  
**Category:** Motion & Video  
**Also known as:** Video Container, Container Format (Video), Video File Format

## Think of it like

A lunch box holds a sandwich, a drink and a note, all in one box.

## Definition

A video container is the file type that holds the parts of a video together. Inside sit the picture, one or more sound tracks, often subtitles, and facts like the length. The container is named by the end of the file, like .mp4, .mov, .mkv or .webm. It is not the codec, which is how the picture is shrunk. Two MP4 files can hold video made with different codecs.

## Example

A WebM file on a web page holds VP9 video and Opus sound. It can hold WebVTT subtitles too.

## Why it matters

A device must open both the box and the codec inside it. If either fails, the video will not play.

## Common mistake

Thinking MP4 is a codec. MP4 is the box, and H.264 or AV1 is what is inside it.

## Three principles

- **A box, not the picture.** It holds the parts together.
- **Many tracks.** Picture, sound, subtitles and info.
- **Check the player.** Pick a box the device can open.

## Related terms

- [Video Codec](https://learn.benibix.com/term/design/video-codec)
- [Video Export](https://learn.benibix.com/term/design/video-export)
- [Bitrate](https://learn.benibix.com/term/design/bitrate)
- [Video](https://learn.benibix.com/term/design/video)
- [Subtitles](https://learn.benibix.com/term/design/subtitles)

## Told apart from

- [Video Container vs Video Codec](https://learn.benibix.com/compare/video-container-format-vs-video-codec): People think MP4 is a codec, and it is not. The codec is how the picture is shrunk to a small size, like H.264 or AV1. The container is the box that holds that picture, the sound and the subtitles in one file, like MP4 or WebM. A video plays only when the device can open both the box and what is inside.

![Four panels. Video: five still frames in a row, a dot moving a little further in each, over a wavy sound line that plays in time with them. Video container format: a box named clip.webm holding four tracks, video in VP9, sound in Opus, subtitles in WebVTT, and info such as length and size. Subtitles: a frame with two people and a line at the bottom reading where are you going. Motion tracking: a dashed path of small squares where one spot was found in each frame, with a name tag pinned above it at two points.](https://learn.benibix.com/diagrams/des9-video-files.svg)

---

Source: https://learn.benibix.com/term/design/video-container-format
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
