Container basics
Write up a description of what containers do.
Showing
1 changed file
with
6 additions
and
2 deletions
1 | This doc is just a stub right now. Check back later for updates. | 1 | This doc is just a stub right now. Check back later for updates. |
2 | 2 | ||
3 | General | 3 | # General |
4 | When we talk about video, we normally think about it as one monolithic thing. If you ponder it for a moment though, you'll realize it's actually two distinct sorts of information that are presented to the viewer in tandem: a series of pictures and a sequence of audio samples. The temporal nature of audio and video is shared but the techniques used to efficiently transmit them are very different and necessitate a lot of the complexity in video file formats. Bundling up these (at least) two streams into a single package is the first of many issues introduced by the need to serialize video data and is solved by meta-formats called _containers_. | ||
5 | |||
6 | Containers formats are probably the most recongnizable of the video components because they get the honor of determining the file extension. You've probably heard of MP4, MOV, and WMV, all of which are container formats. Containers specify how to serialize audio, video, and metadata streams into a sequential series of bits and how to unpack them for decoding. Containers are basically a box that can hold video information and timed media data: | ||
7 | |||
4 | - codecs | 8 | - codecs |
5 | - containers, multiplexing | 9 | - containers, multiplexing |
6 | MPEG2-TS | 10 | MPEG2-TS |
... | @@ -13,4 +17,4 @@ MP4 | ... | @@ -13,4 +17,4 @@ MP4 |
13 | H.264 | 17 | H.264 |
14 | - NAL units | 18 | - NAL units |
15 | - Annex B vs MP4 elementary stream | 19 | - Annex B vs MP4 elementary stream |
16 | - access unit -> sample | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
20 | - access unit -> sample | ... | ... |
-
Please register or sign in to post a comment