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

# availableVideoCodecTypes

The video codecs types the output supports for recording movie files.

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

## Discussion

The first codec in this list is the default for recording movie files. To record using a different codec, call the [`setOutputSettings(_:for:)`](/documentation/AVFoundation/AVCaptureMovieFileOutput/setOutputSettings(_:for:)) method, passing a video settings dictionary with a value for [`AVVideoCodecKey`](/documentation/AVFoundation/AVVideoCodecKey) that matches one of the other values in this list.

---

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)