AVAsynchronousCIImageFilteringRequest
An object that supports using Core Image filters to process an individual video frame in a video composition.
Declaration
class AVAsynchronousCIImageFilteringRequestOverview
You use this class when creating a composition for Core Image filtering with the init(asset:applyingCIFiltersWithHandler:) method. In that method call, you provide a block to be called by AVFoundation as it processes each frame of video, and the block’s sole parameter is a AVAsynchronousCIImageFilteringRequest object. Use that object both to the video frame image to be filtered and allows you to return a filtered image to AVFoundation for display or export. The code listing below shows an example of applying a filter to an asset.
Topics
Getting the image to be filtered
Getting contextual information for filtering
Returning the filtered image
See Also
Creating a video composition
init(configuration:)AVVideoComposition.Configurationinit(applyingFiltersTo:applier:)videoComposition(with:applyingCIFiltersWithHandler:completionHandler:)AVCIImageFilteringParametersAVCIImageFilteringResultvideoComposition(withPropertiesOf:completionHandler:)init(propertiesOf:)init(asset:applyingCIFiltersWithHandler:)