Function

CMTimeCodeFormatDescriptionGetFrameDuration

Returns the duration of each frame (for example 100/2997).

Declaration

CMTime CMTimeCodeFormatDescriptionGetFrameDuration(CMTimeCodeFormatDescriptionRef timeCodeFormatDescription);

Parameters

timeCodeFormatDescription

CMTimeCodeFormatDescription being interrogated.

Return Value

The duration of each frame represented in CMTime format.

See Also

TimeCode-Specific Functions

CMTimeCodeFormatDescriptionCreate

Creates a format description for a timecode media.

CMTimeCodeFormatDescriptionGetFrameQuanta

Returns the frames/sec for timecode (for example, 30) or frames/tick for counter mode.

CMTimeCodeFormatDescriptionGetTimeCodeFlags

Returns the flags for kCMTimeCodeFlag_DropFrame, kCMTimeCodeFlag_24HourMax, kCMTimeCodeFlag_NegTimesOK

CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer

Copies the contents of a CMTimeCodeFormatDescription to a CMBlockBuffer in big-endian byte ordering.

CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer

Creates a CMTimeCodeFormatDescription from a big-endian TimeCodeDescription data structure in a CMBlockBuffer.

CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData

Creates a CMTimeCodeFormatDescription from a big-endian TimeCodeDescription data structure.

CMSwapBigEndianTimeCodeDescriptionToHost

Converts a TimeCodeDescription data structure from big-endian to host-endian in place.

CMSwapHostEndianTimeCodeDescriptionToBig

Converts a TimeCodeDescription data structure from host-endian to big-endian in place.