---
title: kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform
framework: coremedia
role: symbol
role_heading: Global Variable
path: coremedia/kcmmetadataidentifier_quicktimemetadatapreferredaffinetransform
---

# kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform

An affine transform to be applied to a video track.

## Declaration

```swift
let kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform: CFString
```

## Discussion

Discussion This affine transform can be used in place of a track matrix for displaying a video track to better reflect the current orientation of a video camera with respect to a scene. For example, if the camera is rotated after a recording has started, the presence of this metadata will allow a player to adjust its rendering at the time the rotation occurred.

## See Also

### Constants

- [kCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709](coremedia/kcmmetadataidentifier_quicktimemetadatalocation_iso6709.md)
- [kCMMetadataIdentifier_QuickTimeMetadataDirection_Facing](coremedia/kcmmetadataidentifier_quicktimemetadatadirection_facing.md)
- [kCMMetadataIdentifier_QuickTimeMetadataVideoOrientation](coremedia/kcmmetadataidentifier_quicktimemetadatavideoorientation.md)
- [kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions](coremedia/kcmmetadataidentifier_quicktimemetadatalivephotostillimagetransformreferencedimensions.md)
- [kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform](coremedia/kcmmetadataidentifier_quicktimemetadatalivephotostillimagetransform.md)
