Chapter 3: Container
A container is a file or stream format that specifies how the content is stored within itself, but not how it is coded (that’s the job of the codec, as described in Chapter 4). If there are multiple streams (e.g. multiple audio and video channels, and a closed captioning stream), it describes how they are interleaved in the file. The container also contains any metadata needed to describe the stream.
Although containers can contain many different types of data, there are some common combinations, as noted in the following table.
| Container | Creator | Common Video Codecs | Common Audio Codecs |
| ASF | Microsoft | WMV | WMA |
| MOV | Apple | H.264 | AAC, MP3 |
| OGG | Open-source | Theora | Vorbis |
| RealMedia | RealNetworks | RealVideo | RealAudio |
| FLV | Adobe | H.264 | AAC |
| MP4 | ISO | H.264 | AAC |
There are some audio formats that are often not wrapped in a container, though they could be. For example, MP3, AAC, and WMA often stand alone.
| ← Chapter 2: Protocol | Chapter 4: Codec → |