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
AVMutableMovie adds to its immutable superclass, AVMovie, several categories of methods for editing QuickTime movie files, e.g. inserting and removing time ranges of media, adding and removing tracks, and modifying the metadata collections stored therein.

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.

Super class 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

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:

Blog Entries


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


AVMutableMetadataItemMBS   -   AVMutableMovieTrackMBS


The biggest plugin in space...