---
title: availableVideoCodecTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturemoviefileoutput/availablevideocodectypes
---

# availableVideoCodecTypes

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

## Declaration

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

## Discussion

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

## See Also

### Managing output settings

- [supportedOutputSettingsKeys(for:)](avfoundation/avcapturemoviefileoutput/supportedoutputsettingskeys(for:).md)
- [outputSettings(for:)](avfoundation/avcapturemoviefileoutput/outputsettings(for:).md)
- [setOutputSettings(_:for:)](avfoundation/avcapturemoviefileoutput/setoutputsettings(_:for:).md)
