Bewerken

Delen via


AVVideoComposition.CreateVideoComposition Method

Definition

Creates a new AVVideoComposition from the specified asset that runs the specified filter task on each frame of video.

[Foundation.Export("videoCompositionWithAsset:applyingCIFiltersWithHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVVideoComposition CreateVideoComposition (AVFoundation.AVAsset asset, Action<AVFoundation.AVAsynchronousCIImageFilteringRequest> applier);
static member CreateVideoComposition : AVFoundation.AVAsset * Action<AVFoundation.AVAsynchronousCIImageFilteringRequest> -> AVFoundation.AVVideoComposition

Parameters

asset
AVAsset

Returns

Attributes

Applies to