Super class: AVCompositionMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||13.2||Yes||No||No||Yes, macOS only||No|
You can add and remove tracks, and you can add, remove, and scale time ranges.
You can make an immutable snapshot of a mutable composition for playback or inspection with the copy method.
Subclass of the AVCompositionMBS class.
- property naturalSize as CGSizeMBS
- 13 methods
- method addMutableTrackWithMediaType(mediaType as string, preferredTrackID as Integer) as AVMutableCompositionTrackMBS
- method append(asset as AVAssetMBS, byref error as NSErrorMBS) as boolean
- method appendTimeRange(timeRange as CMTimeRangeMBS, asset as AVAssetMBS, byref error as NSErrorMBS) as boolean
- method Constructor
- method Constructor(other as AVCompositionMBS)
- method insert(asset as AVAssetMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- method insertEmptyTimeRange(timeRange as CMTimeRangeMBS)
- method insertTimeRange(timeRange as CMTimeRangeMBS, asset as AVAssetMBS, startTime as CMTimeMBS, byref error as NSErrorMBS) as boolean
- method MutableCompositionTracks as AVMutableCompositionTrackMBS()
- method mutableTrackCompatibleWithTrack(track as AVAssetTrackMBS) as AVMutableCompositionTrackMBS
- method removeTimeRange(timeRange as CMTimeRangeMBS)
- method removeTrack(track as AVCompositionTrackMBS)
- method scaleTimeRange(timeRange as CMTimeRangeMBS, duration as CMTimeMBS)
- shared method composition as AVMutableCompositionMBS
Super class AVCompositionMBS
- 4 methods
Super class AVAssetMBS
- 13 properties
- property ClassName as String
- property creationDate as AVMetadataItemMBS
- property Handle as Integer
- property hasProtectedContent as boolean
- property isComposable as boolean
- property isExportable as boolean
- property isPlayable as boolean
- property isReadable as boolean
- property lyrics as string
- property preferredRate as Double
- property preferredVolume as Double
- property providesPreciseDurationAndTiming as boolean
- property referenceRestrictions as Integer
- 26 methods
- method availableChapterLocales as NSLocaleMBS()
- method availableMediaCharacteristicsWithMediaSelectionOptions as string()
- method availableMetadataFormats as string()
- method cancelLoading
- method chapterMetadataGroupsBestMatchingPreferredLanguages as AVTimedMetadataGroupMBS()
- method chapterMetadataGroupsBestMatchingPreferredLanguages(preferredLanguages() as string) as AVTimedMetadataGroupMBS()
- method chapterMetadataGroupsWithTitleLocale(locale as NSLocaleMBS, commonKeys() as string) as AVTimedMetadataGroupMBS()
- method commonMetadata as AVMetadataItemMBS()
- method Constructor
- method copy as AVAssetMBS
- method duration as CMTimeMBS
- method loadValuesAsynchronouslyForKeys(keys() as string, tag as Variant = nil)
- method mediaSelectionGroupForMediaCharacteristic(mediaCharacteristic as string) as AVMediaSelectionGroupMBS
- method metadata as AVMetadataItemMBS()
- method metadataForFormat(Format as string) as AVMetadataItemMBS()
- method naturalSize as CGSizeMBS
- method preferredTransform as CGAffineTransformMBS
- method readTimeCodeObjects as AVTimeCodeMBS()
- method readTimeCodes as String()
- method statusOfValueForKey(key as string, byref error as NSErrorMBS) as Integer
- method trackGroups as AVAssetTrackGroupMBS()
- method tracks as AVAssetTrackMBS()
- method tracksWithMediaCharacteristic(mediaCharacteristic as string) as AVAssetTrackMBS()
- method tracksWithMediaType(mediaType as string) as AVAssetTrackMBS()
- method trackWithTrackID(PersistentTrackID as Integer) as AVAssetTrackMBS
- method unusedTrackID as Integer
- 5 shared methods
- shared method assetWithData(Data as MemoryBlock, Options as Dictionary = nil) as AVAssetMBS
- shared method assetWithData(Data as String, Options as Dictionary = nil) as AVAssetMBS
- shared method assetWithFile(file as folderitem) as AVAssetMBS
- shared method assetWithURL(URL as string) as AVAssetMBS
- shared method available as boolean
- 11 constants
Reference Restriction Modes
Indicates that only references to media data stored within the asset's container file should be allowed.
Indicates that references from a remote asset to remote media data stored at a different site should not be followed.
Indicates that references from a local asset to local media data stored outside the asset's container file should not be followed.
Indicates that references from a local asset to remote media data should not be followed.
Indicates that all types of references should be followed.
Indicates that references from a remote asset (for example, referenced via http URL) to local media data (for example, stored in a local file) should not be followed.
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:
- AVCompositionMBS.mutableCopy as AVMutableCompositionMBS
Some examples which use this class:
- /AVFoundation/Merge and Crop Videos
- /AVFoundation/Merge Audio and Video
- /AVFoundation/Overlay video track with picture
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo PDF Plugins