decodingAttributes()
Returns a set of video attributes of the decoded source media file.
Declaration
func decodingAttributes() -> [AnyHashable : Any]!Return Value
A dictionary with key-value pairs specifying the attributes of the decoded video.
Discussion
The decoding attribute dictionary contains the following keys:
widthint32_t
heightint32_t
pixelTypeOSType
pixelAspectRatioDouble
frameRateDouble
source-start-time-codeDictionary with the following keys:
rate (Double)
frameNumber (int)
isDropFrame (Boolean)
segment-start-time-codeDictionary with the following keys:
rate (Double)
frameNumber (int)
isDropFrame (Boolean)
segment-typeString with one of the following values: “only”, “first”, “middle”, “last”
decoding-color-primariesNCLC integer values
decoding-color-transferNCLC integer values
decoding-color-matrixNCLC integer values