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

# livePhotoVideoCodecType

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

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

## Discussion

This value must be one of the video codec types listed in the photo output’s [`availableLivePhotoVideoCodecTypes`](/documentation/AVFoundation/AVCapturePhotoOutput/availableLivePhotoVideoCodecTypes) array.

---

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)