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|
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.
Super class AVAssetTrackMBS
- 15 properties
- property asset as AVAssetMBS
- property estimatedDataRate as Double
- property extendedLanguageTag as string
- property Handle as Integer
- property isEnabled as boolean
- property isPlayable as boolean
- property isSelfContained as boolean
- property languageCode as string
- property mediaType as string
- property naturalSize as CGSizeMBS
- property naturalTimeScale as Integer
- property nominalFrameRate as Double
- property preferredVolume as Double
- property totalSampleDataLength as Int64
- property trackID as Integer
- 17 methods
- method associatedTracksOfType(trackAssociationType as string) as AVAssetTrackMBS()
- method availableMetadataFormats as string()
- method availableTrackAssociationTypes as string()
- method commonMetadata as AVMetadataItemMBS()
- method Constructor
- method copy as AVAssetTrackMBS
- method formatDescriptions as CMFormatDescriptionMBS()
- method hasMediaCharacteristic(mediaCharacteristic as string) as boolean
- method loadValuesAsynchronouslyForKeys(keys() as string, tag as Variant = nil)
- method metadataForFormat(Format as string) as AVMetadataItemMBS()
- method preferredTransform as CGAffineTransformMBS
- method samplePresentationTimeForTrackTime(trackTime as CMTimeMBS) as CMTimeMBS
- method segmentForTrackTime(trackTime as CMTimeMBS) as AVAssetTrackSegmentMBS
- method segments as AVAssetTrackSegmentMBS()
- method statusOfValueForKey(key as string, byref error as NSErrorMBS) as Integer
- method timeRange as CMTimeRangeMBS
- method trackSamples(formatOptions as Dictionary) as MemoryBlock
- shared method available as boolean
- 5 constants
Load Status Constants
Indicates that the attempt to load the property was cancelled.
Indicates that the attempt to load the property failed.
Indicates that the property is ready for use.
Indicates that the property is not fully loaded.
Indicates that the property status is unknown.
Some methods using this class:
- AVCompositionMBS.CompositionTracks as AVCompositionTrackMBS()
- AVMutableCompositionMBS.removeTrack(track as AVCompositionTrackMBS)
- AVMutableCompositionTrackMBS.Constructor(other as AVCompositionTrackMBS)
- AVURLAssetMBS.compatibleTrackForCompositionTrack(compositionTrack as AVCompositionTrackMBS) as AVAssetTrackMBS
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo Chart Plugins