inputReceiverRequestingMultiPass(for:)
Attaches the input to the writer and returns a tuple with an input receiver for writing sample buffers, and an associated multi pass controller.
Declaration
func inputReceiverRequestingMultiPass(for input: AVAssetWriterInput) -> sending (AVAssetWriterInput.SampleBufferReceiver, AVAssetWriterInput.MultiPassController)Parameters
- input:
The input to be attached to the writer.
Return Value
A tuple with an input receiver for writing sample 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:)inputPixelBufferReceiverRequestingMultiPass(for:pixelBufferAttributes:)inputTaggedPixelBufferGroupReceiver(for:pixelBufferAttributes:)inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for:pixelBufferAttributes:)