---
title: livePhotoVideoCodecType
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotosettings/livephotovideocodectype
---

# livePhotoVideoCodecType

The video codec to use for encoding the movie portion of Live Photo output.

## Declaration

```swift
var livePhotoVideoCodecType: AVVideoCodecType { get set }
```

## Discussion

Discussion This value must be one of the video codec types listed in the photo output’s availableLivePhotoVideoCodecTypes array.

## See Also

### Configuring Live Photo settings

- [livePhotoMovieFileURL](avfoundation/avcapturephotosettings/livephotomoviefileurl.md)
- [livePhotoMovieMetadata](avfoundation/avcapturephotosettings/livephotomoviemetadata.md)
