The TimeCodeDescription QuickTime structure contains control information that allows QuickTime to interpret the samples.
This includes the timecode format information. The actual sample data contains a frame number that identifies one or more
content frames that use this timecode. This value identifies the first frame in the group of frames that use this timecode.
In the case of a movie made from source material that contains no edits, you would only need one sample. When the source material
contains edits, you typically need one sample for each edit, so that QuickTime can resynchronize the timecode information with the movie.
Those samples contain the frame numbers of the frames that begin each new group of frames.
The QTPlgNewTimeCodeTrack class lets you create timecode tracks.
→
The
QTPlgNewTimeCodeTrack class constructors are called when you create a new instance of the class, while
the
˜QTPlgNewTimeCodeTrack class destructor, is called automatically when the
class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to
nil.
Once a new class instance is returned, it is good practice to check the
class property to
be sure that the new object can be used. See the
validity conditions for more details.
The class provides you with the following initializer methods:
use this constructor to create a new timecode track and add it to the movie specified by the
m; if the
movie specified has been created in memory (see the
of the
class),
the timecode samples added to the track reside in memory as well. You specify the characteristics of the timecode samples to be
added to the track by setting the
of the
params object as appropriate. You specify the timecode track bounds by using the
trackBox parameter; if you set this parameter to
nil, the track bounds are set
to the ,
if applicable; if any temptative to assign valid bounds to the track fail, the resulting class instance will be
specifies the track that must be associated to the timecode track
use this method to add the frame number (specified by the
sample parameter) that identifies one or more
content frames that use this timecode. This value identifies the first frame in the group of frames that use this timecode.
In the case of a movie made from source material that contains no edits, you would only need one sample. When the source material
contains edits, you typically need one sample for each edit, so that QuickTime can resynchronize the timecode information with the movie.
Those samples contain the frame numbers of the frames that begin each new group of frames. You can specify the duration of the
track by using the
duration parameter; this value must be expressed in the media time scale. The
class assigns by default to the timcode track media the same time scale as the hosting movie.
the