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.

Media Data Atom TypesQuickTime VR <strong>File</strong> <strong>Format</strong>Single-Node Object MoviesFigure 4-24 (page 286) illustrates the basic structure of a single-node object movie. As you can see, every objectmovie contains at least three tracks: a QTVR track, an object track, and an object image track.Figure 4-24The structure of a single-node object movie fileQTVR trackObject trackObject image trackFor a single-node object movie, the QTVR track contains just one sample. There is a corresponding sample inthe object track, whose time and duration are the same as the time and duration of the sample in the QTVRtrack. The time base of the movie is used to locate the proper video samples in the object image track.For an object movie, the frame corresponding to the first row and column in the object image array is locatedat the same time as the corresponding QTVR and object track samples. The total duration of all the videosamples is the same as the duration of the corresponding QTVR sample and the object sample.In addition to these three required tracks, an object movie can also contain a hot spot image track and anynumber of standard QuickTime tracks (such as video, sound, and text tracks). A hot spot image track for anobject is a QuickTime video track that contains images of colored regions delineating the hot spots; an imagein the hot spot image track must be synchronized to match the appropriate image in the object image track.A hot spot image track should be 8 bits deep and can be compressed with any lossless compressor (includingtemporal compressors). This is also true of panoramas.Note To assign a single fixed-position hot spot to all views of an object, you should create a hotspot image track that consists of a single video frame whose duration is the entire node time.To play a time-based track with the object movie, you must synchronize the sample data of that track to thestart and stop times of a view in the object image track. For example, to play a different sound with each viewof an object, you might store a sound track in the movie file with each set of sound samples synchronized toplay at the same time as the corresponding object’s view image. (This technique also works for video samples.)Another way to add sound or video is simply to play a sound or video track during the object’s view animation;to do this, you need to add an active track to the object that is equal in duration to the object’s row duration.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.286

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

Saved successfully!

Ooh no, something went wrong!