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.

Defining Media Data LayoutsThe QuickTime file format provides a great deal of flexibility in how media data is physically arranged withina file. However, it also allows media layouts to be created that may be inefficient for playback on a given device.To complicate the matter, a media layout that is inefficient for one device may be, in fact, very efficient foranother. The purpose of this appendix is to define some common uses of QuickTime files and describe themedia layout in these circumstances.Using QuickTime <strong>File</strong>s and Media LayoutsA QuickTime file can reference media data stored in a number of files, including the file itself. If a QuickTimefile references only media data contained within itself, the file is said to be self-contained. A QuickTime file canalso reference media data stored in files that are not QuickTime files. This is because the QuickTime file formatreferences media within a URL by file offset, rather than by a data structuring mechanism of a particular fileformat. This allows a QuickTime file to refer to data stored in any container format.Often, it is convenient to store a single media stream per file, for example, when encoding content. It is alsouseful for purposes of reusing content. (To reuse an elementary stream, it is not necessary to extract it from alarger, possibly multiplexed file.)Because QuickTime can reference media stored in any file, it is not required that media be stored in theQuickTime file format. However, this is recommended. Putting the elementary streams in a QuickTime file hasseveral advantages, particularly in enabling interchange of the content between different tools. Further, theQuickTime file format adds very little overhead to the media—as little as a few hundred bytes in many cases—sothere is no great penalty in storage space.One of the issues facing any device (a server or a local workstation) that is attempting to play back a QuickTimefile in real time is the number of file seeks that must be performed.It is possible to arrange the data in a QuickTime file to minimize, and potentially eliminate, any seeks duringthe course of normal playback. (Of course, random access and other kinds of interactivity require seeks.)Minimizing seeks is accomplished by interleaving the media data in the QuickTime file in such a way that thelayout of the media in the file corresponds to the order in which the media data will be required. It is expectedthat most servers, for example, will stream QuickTime media using the facilities of the hint tracks.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.373

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

Saved successfully!

Ooh no, something went wrong!