<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "c:@kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform"
  },
  "title" : "kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform"
}
-->

# kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform

An affine transform to be applied to a video track.

```
let kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform: CFString
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)