inputPixelBufferReceiverRequestingMultiPass(for:pixelBufferAttributes:)
Attaches the input to the writer and returns a tuple with an input receiver for writing pixel buffers, and an associated multi pass controller.
Declaration
func inputPixelBufferReceiverRequestingMultiPass(for input: AVAssetWriterInput, pixelBufferAttributes attributes: CVPixelBufferCreationAttributes?) -> sending (AVAssetWriterInput.PixelBufferReceiver, AVAssetWriterInput.MultiPassController)Parameters
- input:
The input to be attached to the writer.
- attributes:
The attributes of pixel buffers that will be vended by the input provider’s pixel buffer pool.
Return Value
A tuple with an input receiver for writing pixel buffers, and an associated multi pass controller.
See Also
Configuring input receivers
inputReceiver(for:)inputCaptionReceiver(for:)inputCaptionReceiverRequestingMultiPass(for:)inputMetadataReceiver(for:)inputMetadataReceiverRequestingMultiPass(for:)inputPixelBufferReceiver(for:pixelBufferAttributes:)inputReceiverRequestingMultiPass(for:)inputTaggedPixelBufferGroupReceiver(for:pixelBufferAttributes:)inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for:pixelBufferAttributes:)