Contents

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:

width

int32_t

height

int32_t

pixelType

OSType

pixelAspectRatio

Double

frameRate

Double

source-start-time-code

Dictionary with the following keys:

rate (Double)

frameNumber (int)

isDropFrame (Boolean)

segment-start-time-code

Dictionary with the following keys:

rate (Double)

frameNumber (int)

isDropFrame (Boolean)

segment-type

String with one of the following values: “only”, “first”, “middle”, “last”

decoding-color-primaries

NCLC integer values

decoding-color-transfer

NCLC integer values

decoding-color-matrix

NCLC integer values

See Also

Getting Decoding Attributes