---
title: kVTVideoEncoderSpecification_EncoderID
framework: videotoolbox
role: symbol
role_heading: Global Variable
path: videotoolbox/kvtvideoencoderspecification_encoderid
---

# kVTVideoEncoderSpecification_EncoderID

A key that indicates a particular video encoder to use.

## Declaration

```swift
let kVTVideoEncoderSpecification_EncoderID: CFString
```

## Discussion

Discussion To specify a particular video encoder when creating a compression session, pass an encoder specification 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(_:_:).

## See Also

### Encoder Selection

- [kVTCompressionPropertyKey_EncoderID](videotoolbox/kvtcompressionpropertykey_encoderid.md)
- [kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder](videotoolbox/kvtvideoencoderspecification_enablehardwareacceleratedvideoencoder.md)
- [kVTVideoEncoderSpecification_EnableLowLatencyRateControl](videotoolbox/kvtvideoencoderspecification_enablelowlatencyratecontrol.md)
- [kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID](videotoolbox/kvtvideoencoderspecification_preferredencodergpuregistryid.md)
- [kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID](videotoolbox/kvtvideoencoderspecification_requiredencodergpuregistryid.md)
- [kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder](videotoolbox/kvtvideoencoderspecification_requirehardwareacceleratedvideoencoder.md)
