Super class: AVCompositionTrackMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||13.2||Yes||No||No||Yes, macOS only||No|
AVCompositionTrack defines constraints for the temporal alignment of the track segments. If you set the array of track segments in a mutable composition (see trackSegments), you can test whether the segments meet the constraints using validateTrackSegments.
Subclass of the AVCompositionTrackMBS class.
- 5 properties
- 9 methods
- method Constructor
- method Constructor(other as AVCompositionTrackMBS)
- method insertEmptyTimeRange(timeRange as CMTimeRangeMBS)
- method insertTimeRange(timeRange as CMTimeRangeMBS, AssetTrack as AVAssetTrackMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- method insertTimeRanges(timeRanges() as CMTimeRangeMBS, tracks() as AVAssetTrackMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- method removeTimeRange(timeRange as CMTimeRangeMBS)
- method scaleTimeRange(timeRange as CMTimeRangeMBS, duration as CMTimeMBS)
- method setCompositionTrackSegments(segments() as AVCompositionTrackSegmentMBS)
- method validateTrackSegments(trackSegments() as AVCompositionTrackSegmentMBS, byref error as NSErrorMBS) as boolean
Super class AVCompositionTrackMBS
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.
This class has no sub classes.
Some methods using this class:
- AVMutableCompositionMBS.addMutableTrackWithMediaType(mediaType as string, preferredTrackID as Integer) as AVMutableCompositionTrackMBS
- AVMutableCompositionMBS.MutableCompositionTracks as AVMutableCompositionTrackMBS()
- AVMutableCompositionMBS.mutableTrackCompatibleWithTrack(track as AVAssetTrackMBS) as AVMutableCompositionTrackMBS
Some examples which use this class:
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo PDF Plugins