MPEG4 File Format [BOX Order]

An overall view of the normal encapsulation structure is provided in the following table.
下表讲全面展示一个一般性的文件包装结构。
The table shows those boxes that may occur at the top-level in the left-most column;indentation is used to
show possible containment. Thus, for example, a Track Header Box(tkhd) is found in a Track Box (trak), which is found in a Move Box(moov). Not all boxes need be used in all files; the mandatory boxes are marked with the asterisk(*). See the description of the individual boxes for a discussion of what must be assumed if the optional boxes are not present.
这个表通过最左缩排的方法显示可能存在的结构封装,比如 Track Header Box(tkhd) 他建立在 Move Box(moov)的Track Box 中,当然不是所有的盒子(Boxes)都必须存在于所有的文件中,一些强制性的盒子(boxes)在表中用(*)标记。在单独讨论每个类型的盒子的时候,是假设可选盒子不存在的。
User data objects shall be placed only in Movie or Track Boxes, and objects using an extended type may be placed in a wide variety of containers, not just the top level.
用户对象应该放在Movie or Track Boxes,而扩展对象类型可以放在不同的容器的,当不应在最顶层。
In order to improve interoperability and utility of the files, the following rules and guidelines shall be followed for the order of boxes:
为了提高文件组织协作能力和效率,尽力能遵循下面的几个指导规则:
1) The file type box 'ftyp' shall occur before any variable-length box(e.g. movie, free space, media data). Only a fixed-size box such as a file signature, if required, may precede it.
   文件类型盒子('ftyp')应该放在所有可变长盒子的前面,比如 movie, free space, media data 盒子,只有那些固定长度的盒子,如 文件签名,如果有需要,可以放在他的前面。
2) It is strongly recommended that all header boxes be placed first in their container; these boxes are Movie Header,Tack Header, Media Header, and the specific media headers inside the Media information Box(e.g the Video Media Header).
    强烈建议所有的Header Boxes 放在他们相关容器的前面,想Movie Header, Tack Header, Media Header, 和一些特定的媒体头(比如:Video Media Header).
3) Any Movie Fragment Boxes shall be in sequence order .
  所有Movie Fragment Boxes 应该安顺序排列
4) It is recommended that the boxes within the Sample Table Box be in the following order: Sample Description, Time to Sample, Sample to Chunk, Sample Size, Chunk Offset.
推荐Sample Table Box 按以下顺序组织:Sample Description, Time to Sample, Sample to Chunk,Sample Size, Chunk Offset.
5) It is strongly recommended that the Track Reference Box and Edit List(if any) should precede the Media Box, and the Handler Reference Box Should precede the Media Information Box, and the Data Information Box should precede in the Sample Table Box.
6) It is recommended that user Data Boxes be placed last in their container, which is either the Movie Box or Track Box.
7) It is recommended that the Movie Fragment Random Access Box, if present, be last in the file.
8) It is recommended that the progressive download information box be placed as early as possible in files, for maximum utility.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值