Platforms to show: All Mac Windows Linux Cross-Platform
AVMutableMovieMBS class
Super class: AVMovieMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVMovie | MBS AVFoundation Plugin | 16.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
By default, after creating an AVMutableMovie the defaultMediaDataStorage property will be nil and each associated AVMutableMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.
Available in OS X 10.11.
Subclass of the AVMovieMBS class.
- 7 properties
- property defaultMediaDataStorage as AVMediaDataStorageMBS
- property interleavingPeriod as CMTimeMBS
- property modified as Boolean
- property preferredRate as Double
- property preferredTransform as CMTimeMBS
- property preferredVolume as Double
- property timescale as Integer
- 22 methods
- method addMutableTracksCopyingSettingsFromTracks(existingTracks() as AVMovieTrackMBS, options as Dictionary) as AVMutableMovieTrackMBS()
- method addMutableTrackWithMediaType(mediaType as String, track as AVMovieTrackMBS, options as Dictionary) as AVMutableMovieTrackMBS
- method Constructor
- method Constructor(Data as MemoryBlock, Options as Dictionary = nil)
- method Constructor(Data as MemoryBlock, Options as Dictionary = nil, byref error as NSErrorMBS)
- method Constructor(File as FolderItem, Options as Dictionary = nil)
- method Constructor(File as FolderItem, Options as Dictionary = nil, byref error as NSErrorMBS)
- method Constructor(Movie as AVMovieMBS = nil, Options as Dictionary = nil, byref error as NSErrorMBS)
- method Constructor(URL as String, Options as Dictionary = nil)
- method Constructor(URL as String, Options as Dictionary = nil, byref error as NSErrorMBS)
- method insertEmptyTimeRange(timeRange as CMTimeRangeMBS)
- method insertTimeRange(timeRange as CMTimeRangeMBS, asset as AVAssetMBS, atTime as CMTimeMBS, copySampleData as Boolean, byref Error as NSErrorMBS) as boolean
- method metadata as AVMetadataItemMBS()
- method mutableMovieTracks as AVMutableMovieTrackMBS()
- method mutableMovieTracksWithMediaCharacteristic(mediaCharacteristic as string) as AVMutableMovieTrackMBS()
- method mutableMovieTracksWithMediaType(mediaType as string) as AVMutableMovieTrackMBS()
- method mutableMovieTrackWithTrackID(ID as Integer) as AVMutableMovieTrackMBS
- method mutableTrackCompatibleWithTrack(track as AVAssetTrackMBS) as AVMutableMovieTrackMBS
- method removeTimeRange(timeRange as CMTimeRangeMBS)
- method removeTrack(track as AVMovieTrackMBS)
- method scaleTimeRange(timeRange as CMTimeRangeMBS, duration as CMTimeMBS)
- method setMetadata(items() as AVMetadataItemMBS)
- 5 shared methods
- shared method movieWithData(Data as MemoryBlock, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
- shared method movieWithData(Data as String, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
- shared method movieWithFile(File as FolderItem, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
- shared method movieWithSettingsFromMovie(Movie as AVMovieMBS, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
- shared method movieWithURL(URL as String, Options as Dictionary = nil, byref Error as NSErrorMBS) as AVMovieMBS
Super class AVMovieMBS
- 5 properties
- property canContainMovieFragments as Boolean
- property containsMovieFragments as Boolean
- property Data as MemoryBlock
- property defaultMediaDataStorage as AVMediaDataStorageMBS
- property URL as String
- 13 methods
- method Constructor Private
- method Constructor(Data as MemoryBlock, Options as Dictionary = nil)
- method Constructor(File as FolderItem, Options as Dictionary = nil)
- method Constructor(URL as String, Options as Dictionary = nil)
- method copy as AVMovieMBS
- method movieHeaderWithFileType(fileType as String, byref error as NSErrorMBS) as MemoryBlock
- method movieTracks as AVMovieTrackMBS()
- method movieTracksWithMediaCharacteristic(mediaCharacteristic as string) as AVMovieTrackMBS()
- method movieTracksWithMediaType(mediaType as string) as AVMovieTrackMBS()
- method movieTrackWithTrackID(ID as Integer) as AVMovieTrackMBS
- method mutableCopy as AVMutableMovieMBS
- method writeMovieHeaderToFile(File as FolderItem, fileType as String, options as Integer, byref error as NSErrorMBS) as Boolean
- method writeMovieHeaderToURL(URL as String, fileType as String, options as Integer, byref error as NSErrorMBS) as Boolean
- 7 shared methods
- shared method available as Boolean
- shared method AVMovieReferenceRestrictionsKey as String
- shared method movieTypes as String()
- shared method movieWithData(Data as MemoryBlock, Options as Dictionary = nil) as AVMovieMBS
- shared method movieWithData(Data as String, Options as Dictionary = nil) as AVMovieMBS
- shared method movieWithFile(File as FolderItem, Options as Dictionary = nil) as AVMovieMBS
- shared method movieWithURL(URL as String, Options as Dictionary = nil) as AVMovieMBS
Constants
Constant | Value | Description |
---|---|---|
AVMovieWritingTruncateDestinationToMovieHeaderOnly | 1 | One of the options for writeMovieHeaderToURL. If set, writing the movie header will truncate all existing data in the destination file and write a new movie header, thereby creating a pure reference movie file. more |
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 Private
- 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
Constant | Value | Description |
---|---|---|
AVAssetReferenceRestrictionForbidAll | &hFFFF |
Indicates that only references to media data stored within the asset's container file should be allowed. |
AVAssetReferenceRestrictionForbidCrossSiteReference | 4 |
Indicates that references from a remote asset to remote media data stored at a different site should not be followed. |
AVAssetReferenceRestrictionForbidLocalReferenceToLocal | 8 |
Indicates that references from a local asset to local media data stored outside the asset's container file should not be followed. |
AVAssetReferenceRestrictionForbidLocalReferenceToRemote | 2 |
Indicates that references from a local asset to remote media data should not be followed. |
AVAssetReferenceRestrictionForbidNone | 0 |
Indicates that all types of references should be followed. |
AVAssetReferenceRestrictionForbidRemoteReferenceToLocal | 1 |
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
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. Example |
AVKeyValueStatusLoading | 1 |
Indicates that the property is not fully loaded. |
AVKeyValueStatusUnknown | 0 |
Indicates that the property status is unknown. |
This class has no sub classes.
Some methods using this class:
- AVMovieMBS.mutableCopy as AVMutableMovieMBS
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVMutableMetadataItemMBS - AVMutableMovieTrackMBS