How data is stored in a multimedia file
在计算机上的文件 (or on an optical disk like DVD 或蓝光) 需要包含多于 1 type of data. A typical movie will include at least 1 video “stream” and one audio “stream”. Most movies include multiple languages and subtitles, each of which requires an additional stream. Each of these streams is effectively a file in its own right, but they are all stored together within a “container” which also starts each of them at the right time (字幕不以电影为例的开始立即开始) 并保持他们的同步，以及存储有关他们每个人的元数据 - 即. 什么样的语言，但, 什么样的帧率和分辨率的视频, 并已使用何种压缩标准.
Video streams contain only the video part of the movie. They are compressed using a particular system and there should be meta-data about their resolution, 帧率, 当它们存在隔行或逐行和编码系统的细节用.
Audio streams contain only the audio part of the movie. There are usually multiple audio streams included with the movie and each has its own stream. They can be compressed in a range of ways or in some cases they are uncompressed raw audio. There should be meta-data about their bitrate, 决议案, 语言, 使用的信道和编码系统的细节的数.
Other streams (e.g. Closed Captions)
Many movies contain other streams, 最常见的隐藏字幕 (也被称为字幕). These come in several formats, but are typically just text with time stamps. They are so small relatively that no compression is used. There should be meta-data about their language.
Containers which bundle all the streams together
All of the streams that comprise the movie are bundled together and kept in sync by a container. The container should contain (并提供) all the meta-data about each stream. The container also enables the collection of streams to be stored as a single file. The most common container formats are VOB (使用 DVD) 和M2TS (使用蓝光). Other common container formats on PC are TS, MPEG, AVI, MKV, WMV, WTV, 硬盘录像机-MS and MP4. The obsolete HD-DVD format used EVO containers.
有你自己的一些想法? 下面放纵自己通过评论! 如果您想订阅，请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.