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


init(pixelBufferAttributes: [String : Any]? = nil)



The pixel buffer attributes required for video output. For a list of pixel buffer attributes you can include in this dictionary, see the CVPixelBuffer.h header file in the Core Video framework.

Return Value

An initialized video output object.

See Also

Initializing the Player Item Video Output

init(outputSettings: [String : Any]?)

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

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