Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AVCompositionTrackMBS class

Super class: AVAssetTrackMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundation MBS AVFoundation Plugin 13.2 Yes No No Yes, macOS only No
Function: The class for a composition track.
An AVCompositionTrack object provides the low-level representation of tracks a track in an AVComposition object, comprising a media type, a track identifier, and an array of AVCompositionTrackSegment objects, each comprising a URL, and track identifier, and a time mapping.

The timeMapping.target.start of the first track segment in a composition track is kCMTimeZero, and the timeMapping.target.start of each subsequent track segment equals CMTimeRangeGetEnd(<#previousTrackSegment#>.timeMapping.target).

The AVFoundation framework also provides a mutable subclass, AVMutableCompositionTrack.
Subclass of the AVAssetTrackMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class AVAssetTrackMBS

Load Status Constants

Constant Value Description
AVKeyValueStatusCancelled 4 Indicates that the attempt to load the property was cancelled.
AVKeyValueStatusFailed 3 Indicates that the attempt to load the property failed.
AVKeyValueStatusLoaded 2 Indicates that the property is ready for use.
AVKeyValueStatusLoading 1 Indicates that the property is not fully loaded.
AVKeyValueStatusUnknown 0 Indicates that the property status is unknown.

Sub classes:

Some methods using this class:

The items on this page are in the following plugins: MBS AVFoundation Plugin.

AVCompositionMBS   -   AVCompositionTrackSegmentMBS

MBS Xojo tutorial videos