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.

Some Useful Examples and ScenariosCreating Sound Tracks at 44.1 kHzFieldVersion/FlagsNumber of entriesSample countSample durationValue01n100Creating Sound Tracks at 44.1 kHzThe duration of an audio sample is stored in the time-to-sample atom contained in a sample table atom. Thisduration cannot be interpreted without the media’s time scale, which defines the units per second for theduration. With audio, the duration of each audio sample is typically 1, so the time-to-sample atom has oneentry, which applies to all audio samples.With a time scale of 44100 in the media header atom, the time-to-sample atom would contain the data valueslisted in Table 6-3 (page 351).Table 6-3 Example data values for time scale of 44100FieldAtom sizeAtom typeVersion/FlagsNumber of entriesSample countSample durationValue24'stts'01n1This atom does not indicate whether the audio is stereo or mono or whether it contains 8-bit or 16-bit samples.That information is stored in the sound sample description atom, which is contained in the sample table atom.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.351

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

Saved successfully!

Ooh no, something went wrong!