|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||14.0||Yes||No||No||Yes, macOS only||No|
For each AV Foundation object of class AVPlayerItem, AVAssetExportSession, AVAssetImageGenerator, or AVAssetReaderVideoCompositionOutput that has a non-nil value for its videoComposition property, and the value of the customVideoCompositorClass property of the AVVideoComposition is not nil, AV Foundation creates and uses an instance of that custom video compositor class to process the instructions contained in the AVVideoComposition.
The custom video compositor instance will be created when you assign videoComposition an instance of AVVideoComposition that's associated with a different custom video compositor class than the object was previously using.
When creating instances of custom video compositors, AV Foundation initializes them by calling init and then makes them available as the value of the customVideoCompositor property of the object to which it was assigned. You then can do any additional setup or configuration to the custom compositor.
Custom video compositor instances will then be retained by the AV Foundation object for as long as the value of its videoComposition property indicates that an instance of the same custom video compositor class should be used, even if the value is changed from one instance of AVVideoComposition to another instance that's associated with the same custom video compositor class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- 4 methods
This class has no sub classes.
Some methods using this class:
- AVAssetReaderVideoCompositionOutputMBS.customVideoCompositor as AVVideoCompositingMBS
Some properties using for this class:
- AVAssetExportSessionMBS.customVideoCompositor as AVVideoCompositingMBS
- AVAssetImageGeneratorMBS.customVideoCompositor as AVVideoCompositingMBS
- AVPlayerItemMBS.customVideoCompositor as AVVideoCompositingMBS
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo PDF Plugins