<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/kVTVideoEncoderSpecification_EncoderID",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@kVTVideoEncoderSpecification_EncoderID"
  },
  "title" : "kVTVideoEncoderSpecification_EncoderID"
}
-->

# kVTVideoEncoderSpecification_EncoderID

A key that indicates a particular video encoder to use.

```
let kVTVideoEncoderSpecification_EncoderID: CFString
```

## Discussion

To specify a particular video encoder when creating a compression session, pass an encoder specification <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary> containing this key and the encoder ID as its value. You can get the encoder ID string from the `kVTVideoEncoderList_EncoderID` entry in the array returned by [`VTCopyVideoEncoderList(_:_:)`](/documentation/VideoToolbox/VTCopyVideoEncoderList(_:_:)).

---

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)