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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software