<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionSettingsKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@T@AVCaptionSettingsKey"
  },
  "title" : "AVCaptionSettingsKey"
}
-->

# AVCaptionSettingsKey

A structure that defines dictionary keys to configure the caption converter and validator.

```
struct AVCaptionSettingsKey
```

## Topics

### Keys

[`mediaType`](/documentation/AVFoundation/AVCaptionSettingsKey/mediaType)

A key that identifies the output media type of a caption conversion operation.

[`mediaSubType`](/documentation/AVFoundation/AVCaptionSettingsKey/mediaSubType)

A key that identifies the output media subtype of a caption conversion operation.

[`timeCodeFrameDuration`](/documentation/AVFoundation/AVCaptionSettingsKey/timeCodeFrameDuration)

A key that identifies the frame duration that the system uses for the time code.

[`useDropFrameTimeCode`](/documentation/AVFoundation/AVCaptionSettingsKey/useDropFrameTimeCode)

A key that identifies whether the system uses drop frame time code.

### Initializers

[`init(rawValue:)`](/documentation/AVFoundation/AVCaptionSettingsKey/init(rawValue:))

Creates a settings key with a string.



---

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)