Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetImageGeneratorMBS class.

AVAssetImageGeneratorMBS.apertureMode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies the aperture mode for the generated image.

(Read and Write property)

AVAssetImageGeneratorMBS.appliesPreferredTrackTransform as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies whether to apply the track matrix (or matrices) when extracting an image from the asset.

The default is false. AVAssetImageGenerator only supports rotation by 90, 180, or 270 degrees.
This property is ignored if you set a value for the videoComposition property.
(Read and Write property)

AVAssetImageGeneratorMBS.asset as AVAssetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The asset with which the export session was initialized. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVAssetImageGeneratorMBS.customVideoCompositor as AVVideoCompositingMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the custom video compositor instance used, if any. (read-only)

The custom video compositor instance that is used during image generation is accessible via this property after the value of videoComposition is set to an AVVideoComposition instance that specifies a custom video compositor class. Any additional communication between the application and that instance of the custom video compositor, if any is required for configuration or other purposes, can only occur once that has happened.

If the value of videoComposition is changed from an AVVideoComposition that specifies a custom video compositor class to another instance of AVVideoComposition that specifies the same custom video compositor class, the instance of the custom video compositor that was previously created will receive the renderContextChanged message and remain in use for subsequent image generation.

This property is nil if there is no video compositor, or if the internal video compositor is in use.
Available in OS X v10.9 and later.
(Read only property)

AVAssetImageGeneratorMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVAssetImageGeneratorMBS.videoComposition as AVVideoCompositionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The video composition to use when extracting images from assets with multiple video tracks.

If no video composition is specified, only the first enabled video track will be used. If a video composition is specified, the appliesPreferredTrackTransform property is ignored.
(Read and Write property)

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


The biggest plugin in space...