Instance Property

timescale

The time scale for movies that contain the moov atom.

Declaration

var timescale: CMTimeScale { get set }

Discussion

The default movie time scale is 600. In certain cases, you may want to set this to a different value. For example, a movie that contains a single audio track should set the movie time scale to the media time scale of that track. Set this property on a new empty movie before any edits are performed on the movie.

See Also

Configuring Movie Properties

var defaultMediaDataStorage: AVMediaDataStorage?

The default storage container for the media data added to a movie.

var metadata: [AVMetadataItem]

An array of metadata stored by the movie.

var interleavingPeriod: CMTime

A time period indicating the duration for interleaving runs of samples for each track.

var isModified: Bool

A Boolean value that indicates whether the movie has been modified.

var preferredRate: Float

The natural rate the movie is to be played.

var preferredTransform: CGAffineTransform

The transform performed on the visual media data of the movie for display purposes.

var preferredVolume: Float

The preferred volume for the audible medata data of the movie.