Instance Method


Creates a format description based on the receiver's items.


- (CMMetadataFormatDescriptionRef)copyFormatDescription;

Return Value

An instance of CMMetadataFormatDescriptionRef sufficient to describe the contents of all the items referenced by the object.


The returned format description is suitable for use as the format hint parameter when creating an instance of AVAssetWriterInput.

Each item referenced by the receiver must carry a non-nil value for its dataType property. An exception will be thrown if any item does not have a data type.

See Also

Configuring Timed Metadata Group Attributes


An array of metadata items in the timed metadata group.


The time range for the timed metadata.