sourceSampleDataTrackIDs
TypeScriptget sourceSampleDataTrackIDs(): Array<number>Swift declaration@objc(_sourceSampleDataTrackIDs) dynamic var sourceSampleDataTrackIDs: [CMPersistentTrackID] { get }class · iOS 4.0+ · SDK 27.1
class AVVideoCompositionget sourceSampleDataTrackIDs(): Array<number>Swift declaration@objc(_sourceSampleDataTrackIDs) dynamic var sourceSampleDataTrackIDs: [CMPersistentTrackID] { get }static initAssetApplyingCIFiltersWithHandler(asset: AVAsset, applier: ((arg0: AVAsynchronousCIImageFilteringRequest) => void)): AVVideoCompositionSwift declarationinit(asset: AVAsset, applyingCIFiltersWithHandler applier: @escaping @Sendable (AVAsynchronousCIImageFilteringRequest) -> Void)static videoCompositionWithApplyingCIFiltersWithHandlerCompletionHandler(asset: AVAsset, applier: ((arg0: AVAsynchronousCIImageFilteringRequest) => void), completionHandler: ((arg0: (AVVideoComposition) | null, arg1: (NativeError) | null) => void)): voidSwift declarationclass func videoComposition(with asset: AVAsset, applyingCIFiltersWithHandler applier: @escaping @Sendable (AVAsynchronousCIImageFilteringRequest) -> Void) async throws -> AVVideoCompositionstatic initPropertiesOf(asset: AVAsset): AVVideoCompositionSwift declarationinit(propertiesOf asset: AVAsset)static videoCompositionWithPropertiesOfCompletionHandler(asset: AVAsset, completionHandler: ((arg0: (AVVideoComposition) | null, arg1: (NativeError) | null) => void)): voidSwift declarationclass func videoComposition(withPropertiesOf asset: AVAsset) async throws -> AVVideoCompositiondetermineValidity(asset: (AVAsset) | null, timeRange: _CoreMedia_CMTimeRange, validationDelegate: (Implements<AVVideoCompositionValidationHandling> | SDKHandle) | null, completionHandler: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc isValid(for asset: AVAsset?, timeRange: CMTimeRange, validationDelegate: (any AVVideoCompositionValidationHandling)?) async throws -> BoolisValidForTimeRangeValidationDelegate(asset: (AVAsset) | null, timeRange: _CoreMedia_CMTimeRange, validationDelegate?: (Implements<AVVideoCompositionValidationHandling> | SDKHandle) | null): booleanSwift declarationfunc isValid(for asset: AVAsset?, timeRange: CMTimeRange, validationDelegate: (any AVVideoCompositionValidationHandling)?) -> BoolisValidForAssetDurationTimeRangeValidationDelegate(tracks: Array<AVAssetTrack>, duration: _CoreMedia_CMTime, timeRange: _CoreMedia_CMTimeRange, validationDelegate?: (Implements<AVVideoCompositionValidationHandling> | SDKHandle) | null): booleanSwift declarationfunc isValid(for tracks: [AVAssetTrack], assetDuration duration: CMTime, timeRange: CMTimeRange, validationDelegate: (any AVVideoCompositionValidationHandling)?) -> Boolget animationTool(): (AVVideoCompositionCoreAnimationTool) | nullSwift declarationvar animationTool: AVVideoCompositionCoreAnimationTool? { get }get colorPrimaries(): (string) | nullSwift declarationvar colorPrimaries: String? { get }get colorTransferFunction(): (string) | nullSwift declarationvar colorTransferFunction: String? { get }get colorYCbCrMatrix(): (string) | nullSwift declarationvar colorYCbCrMatrix: String? { get }get customVideoCompositorClass(): (string) | nullSwift declarationvar customVideoCompositorClass: (any AVVideoCompositing.Type)? { get }get frameDuration(): _CoreMedia_CMTimeSwift declarationvar frameDuration: CMTime { get }get instructions(): Array<SDKHandle>Swift declarationvar instructions: [any AVVideoCompositionInstructionProtocol] { get }get perFrameHDRDisplayMetadataPolicy(): AVVideoComposition_PerFrameHDRDisplayMetadataPolicySwift declarationvar perFrameHDRDisplayMetadataPolicy: AVVideoComposition.PerFrameHDRDisplayMetadataPolicy { get }get renderScale(): numberSwift declarationvar renderScale: Float { get }get renderSize(): { width: number; height: number }Swift declarationvar renderSize: CGSize { get }get sourceTrackIDForFrameTiming(): numberSwift declarationvar sourceTrackIDForFrameTiming: CMPersistentTrackID { get }static initConfiguration(configuration: AVVideoComposition_Configuration): AVVideoCompositionSwift declarationconvenience init(configuration: AVVideoComposition.Configuration)Initialize an AVVideoComposition with a configuration. - Parameter configuration: contains the property values for a new AVVideoComposition.
static initApplyingFiltersToApplier(asset: AVAsset, applier: ((arg0: AVCIImageFilteringParameters) => Promise<AVCIImageFilteringResult>)): Promise<AVVideoComposition>Swift declarationnonisolated(nonsending) convenience init(applyingFiltersTo asset: AVAsset, applier: @escaping @Sendable (AVCIImageFilteringParameters) async throws -> AVCIImageFilteringResult) async throwsCreates a video composition configured to apply Core Image filters to each video frame of the specified asset. - Parameter asset: The asset whose configuration matches the intended use of the video composition. - Parameter applier: A closure that AVFoundation calls when processing each video frame. - Returns: A new AVVideoComposition instance configured for Core Image filtering.
get outputBufferDescription(): (Array<Array<_CoreMedia_CMTag>>) | nullSwift declarationvar outputBufferDescription: [[CMTag]]? { get }The output buffers of the video composition can be specified with the outputBufferDescription. The value is an array of an array of CMTag objects that describes the output buffers. If the video composition will output tagged buffers, the details of those buffers should be specified with CMTags. Specifically, the StereoView (eyes) and ProjectionKind must be specified. The behavior is undefined if the output buffers do not match the outputBufferDescription. The default is nil, which means monoscopic output. Note that an empty array is not valid. Note that tagged buffers are only supported for custom compositors.
get spatialVideoConfigurations(): Array<AVSpatialVideoConfiguration>Swift declarationvar spatialVideoConfigurations: [AVSpatialVideoConfiguration] { get }Indicates the spatial configurations that are available to associate with the output of the video composition. A custom compositor can output spatial video by specifying one of these spatial configurations. A spatial configuration with all nil values indicates the video is not spatial. A nil spatial configuration also indicates the video is not spatial. The value can be nil, which indicates the output will not be spatial. NOTE: If this property is not empty, then the client must attach one of the spatial configurations in this array to all of the pixel buffers, otherwise an exception will be thrown.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVVideoComposition.init()
inherited init: cannot prove legal (class declares 5 custom initializers)