The types of source frame pixel buffer attributes a video compositor can accept as input.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The property is required to provide a
k key in the dictionary, along with attributes for which the compositor needs specific values to work properly. Omitted attributes will be supplied by the composition engine to allow for the best performance. If the attribute
k key is not in the dictionary an exception will be raised. The value of the
k is an array of
k constants as defined in Pixel_Format_Types.
If the custom compositor is meant to be used with an
AVVideo created using the
k should be included as one of the supported pixel format types.
Missing attributes will be set by the composition engine to values allowing the best performance.
This property is queried once before any composition request is sent to the compositor. Changing source buffer attributes afterwards is not supported.