---
title: availableLivePhotoVideoCodecTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/availablelivephotovideocodectypes
---

# availableLivePhotoVideoCodecTypes

An array of video codecs currently available for Live Photo movie captures.

## Declaration

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

## Discussion

Discussion By default, Live Photo capture encodes the movie portion of a Live Photo using the H.264 codec. To use a different codec, set the livePhotoVideoCodecType property of your photo settings object to one of the values in this array. The system always presents its default video codec first. If you haven’t added the photo output to an AVCaptureSession with a video source, no codecs are available. This property is key-value observable.

## See Also

### Configuring Live Photo capture

- [isLivePhotoCaptureSupported](avfoundation/avcapturephotooutput/islivephotocapturesupported.md)
- [isLivePhotoCaptureEnabled](avfoundation/avcapturephotooutput/islivephotocaptureenabled.md)
- [isLivePhotoCaptureSuspended](avfoundation/avcapturephotooutput/islivephotocapturesuspended.md)
- [preservesLivePhotoCaptureSuspendedOnSessionStop](avfoundation/avcapturephotooutput/preserveslivephotocapturesuspendedonsessionstop.md)
- [isLivePhotoAutoTrimmingEnabled](avfoundation/avcapturephotooutput/islivephotoautotrimmingenabled.md)
