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

# availableLivePhotoVideoCodecTypes

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

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

## 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`](/documentation/AVFoundation/AVCapturePhotoSettings/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`](/documentation/AVFoundation/AVCaptureSession) with a video source, no codecs are available.

This property is key-value observable.

---

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)