How Is AVAsset Structured?

Types of AVAsset

  1. AVComposition: new media by composing multiple media
  2. AVURLAsset: media at a given URL

Types of AVAsset

AVAsset components

  1. AVMetaDataItem: metadata about the asset as a whole, such as duration, title, size, etc.
  2. AVAssetTrack: separate tracks that add up to the entire asset, such as video, audio, etc.
  3. AVAssetTrack in turn can be composed of AVAssetTrackSegment, which is a mapping from a source to the current track timeline.

AVAsset components