Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVMutableMovieTrackMBS class.

AVMutableMovieTrackMBS.addTrackAssociationToTrack(movieTrack as AVMovieTrackMBS, trackAssociationType as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Establishes a track association of a specific type between two tracks.

movieTrack: An AVMovieTrack object that is to be associated with the receiver.
trackAssociationType: The type of track association to add between the receiver and the specified movieTrack (for instance, AVTrackAssociationTypeChapterList).

AVMutableMovieTrackMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

AVMutableMovieTrackMBS.insertEmptyTimeRange(timeRange as CMTimeRangeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Adds an empty time range to the target track.

timeRange: The time range to be made empty. Note that you cannot add empty time ranges to the end of a track.

AVMutableMovieTrackMBS.insertTimeRange(timeRange as CMTimeRangeMBS, assetTrack as AVAssetTrackMBS, atTime as CMTimeMBS, copySampleData as Boolean, byref Error as NSErrorMBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Inserts a portion of an AVAssetTrack object into the target movie.

timeRange: The time range from the track from which media is to be inserted.
track: An AVAssetTrack object indicating the source of the inserted media. Only AVAssetTracks of AVURLAssets and AVCompositions are supported. Must not be nil.
startTime: The time in the target track at which the media is to be inserted.
copySampleData: A boolean value that indicates whether sample data is to be copied form the source to the destination during edits.

If true, the sample data is written to the file specified by the track property mediaDataStorage if non-nil,
or else by the movie property defaultMediaDataStorage if non-nil; if both are nil, the method will fail and return NO.
If false, sample data will not be written and sample references to the samples in their original container will be added
as necessary. Note that in this case, this method will fail if the original samples are fragmented.

Error: If the insertion fails, describes the nature of the failure.

Returns a boolean value that indicates the success of the insertion.

AVMutableMovieTrackMBS.metadata as AVMetadataItemMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
A collection of metadata stored by the track.

The value of this property is an array of AVMetadataItem objects representing the collection of metadata stored by the track.

AVMutableMovieTrackMBS.removeTimeRange(timeRange as CMTimeRangeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Removes a specified time range from a track.

timeRange: The time range to be removed.

AVMutableMovieTrackMBS.removeTrackAssociationToTrack(movieTrack as AVMovieTrackMBS, trackAssociationType as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Removes a track association of a specific type between two tracks.

movieTrack: An AVMovieTrack object that is associated with the receiver.
trackAssociationType: The type of track association to remove between the receiver and the specified movieTrack (for instance, AVTrackAssociationTypeChapterList).

AVMutableMovieTrackMBS.scaleTimeRange(timeRange as CMTimeRangeMBS, duration as CMTimeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Changes the duration of a time range of a track.

timeRange: The time range to be scaled.
duration: The new duration of the time range.

AVMutableMovieTrackMBS.setMetadata(items() as AVMetadataItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVMovie MBS AVFoundation Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the metadata items.

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


The biggest plugin in space...