AVMutableVideoComposition
A mutable video composition subclass.
Declaration
class AVMutableVideoCompositionOverview
If you use the built-in video compositor, the instructions a video composition contain can specify a spatial transformation, an opacity value, and a cropping rectangle for each video source. This values can vary over time by applying linear ramping functions.
You can create a custom video compositor by implementing the AVVideoCompositing protocol. The system provides the custom video compositor with pixel buffers for each of its video sources during playback, and can perform arbitrary graphical operations on them to produce visual output.
Topics
Creating a video composition
videoComposition(withPropertiesOf:completionHandler:)videoComposition(withPropertiesOf:prototypeInstruction:completionHandler:)videoComposition(with:applyingCIFiltersWithHandler:completionHandler:)init(propertiesOf:)init(propertiesOf:prototypeInstruction:)init(asset:applyingCIFiltersWithHandler:)