<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureVideoDataOutput/availableVideoCodecTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureVideoDataOutput(py)availableVideoCodecTypes"
  },
  "title" : "availableVideoCodecTypes"
}
-->

# availableVideoCodecTypes

The video codecs that the output supports.

```
var availableVideoCodecTypes: [AVVideoCodecType] { get }
```

## Discussion

The value contains an array of video codecs that the output supports. Specify the codec it uses by setting a supported value for the [`AVVideoCodecKey`](/documentation/AVFoundation/AVVideoCodecKey) entry in its [`videoSettings`](/documentation/AVFoundation/AVCaptureVideoDataOutput/videoSettings) dictionary. The first format in the returned list is the most efficient output format.

---

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)