Contents

CMTime

A structure that represents time.

Overview

Core Media represents time as a rational value, with a time value as the numerator and timescale as the denominator. The structure can represent a specific numeric time in the media timeline, and can also represent nonnumeric values like invalid and indefinite times or positive and negative infinity.

Topics

Creating a Time

Inspecting a Time

Performing Time Calculations

Changing the Timescale

Comparing Times

Representing Times

Data Types

Constants

See Also

Time Representation