Initializer

init(outputSettings:)

Creates a video output object initialized with the specified output settings.

Declaration

init(outputSettings: [String : Any]?)

Parameters

outputSettings

The client requirements for output CVPixelBuffer objects, expressed using the constants in AVVideoSettings.h.

Discussion

For uncompressed video output, start with kCVPixelBuffer* keys in <CoreVideo/CVPixelBuffer.h>. In addition to the keys in CVPixelBuffer.h, uncompressed video settings dictionaries may also provide a value for AVVideoAllowWideColorKey.

See Also

Initializing the Player Item Video Output

init(pixelBufferAttributes: [String : Any]?)

Creates a video output object using the specified pixel buffer attributes.