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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Defining Media Data LayoutsUsing QuickTime <strong>File</strong>s and Media LayoutsTake a scenario where the QuickTime file contains a single hint track that references an audio and a visualmedia stream. In order to eliminate all seeks, the hint track media must be interleaved with the audio andvisual stream data. Because the hint track sample must always be read before the audio and visual media thatit references, the hint track samples must always immediately precede the samples they reference.A simple illustration of the ordering of data (that is, time and file offset increasing from left to right) is as follows:H0 A0 H1 V1 H2 V2 H3 A1 H4 A2 V3 H5 V4When a single hint sample references multiple pieces of media data, those pieces of media data must occurin the order that they are referenced.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.374

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

Saved successfully!

Ooh no, something went wrong!