Contents

AVAssetTrack

An object that models a track of media that an asset contains.

Declaration

class AVAssetTrack

Mentioned in

Overview

An asset contains one or more tracks of media that the framework models using the AVAssetTrack class. A track object holds the uniformly typed media that an asset provides such as audio, video, or closed captions.

A track, like its containing AVAsset, doesn’t load all of its media upon creation. Instead, it defers loading its data until you perform an operation that requires it. Because loading the data can take time, an asset track adopts the AVAsynchronousKeyValueLoading protocol so you can load its property values asynchronously by calling the load(_:isolation:) method.

Topics

Identifying an asset track

Loading track information

Loading temporal information

Loading language support

Loading visual characteristics

Loading audible characteristics

Loading frame-based characteristics

Loading metadata

Loading track segments

Loading track associations

Creating sample cursors

Deprecated

See Also

Assets