13.07.2015 Views

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Movie AtomsSample AtomsNote The sample table atom can contain a 64-bit chunk offset atom (STChunkOffset64AID ='co64'). When this atom appears, it is used in place of the original chunk offset atom, which cancontain only 32-bit offsets. When QuickTime writes movie files, it uses the 64-bit chunk offset atomonly if there are chunks that use the high 32-bits of the chunk offset. Otherwise, the original 32-bitchunk offset atom is used to ensure compatibility with previous versions of QuickTime.Figure 2-50 (page 1<strong>14</strong>) shows the layout of a chunk offset atom.Figure 2-50The layout of a chunk offset atomBytesChunk offset atomAtom sizeType = 'stco'Version441Flags 3Number of entriesChunk offset table4VariableThe chunk offset atom contains the following data elements.SizeA 32-bit integer that specifies the number of bytes in this chunk offset atom.TypeA 32-bit integer that identifies the atom type; this field must be set to 'stco'.VersionA 1-byte specification of the version of this chunk offset atom.FlagsA 3-byte space for chunk offset flags. Set this field to 0.Number of entriesA 32-bit integer containing the count of entries in the chunk offset table.Chunk offset tableA chunk offset table consisting of an array of offset values. There is one table entry for each chunk in themedia. The offset contains the byte offset from the beginning of the data stream to the chunk. The tableis indexed by chunk number—the first table entry corresponds to the first chunk, the second table entryis for the second chunk, and so on.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.1<strong>14</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!