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

# livePhotoMovieFileURL

A URL at which to write Live Photo movie output.

```
var livePhotoMovieFileURL: URL? { get set }
```

## Discussion

Live Photos capture both a still image and a short movie, which the system presents together in user interfaces such as the Photos app. By default, this property’s value is `nil`, disabling Live Photo capture. Set this property to a file URL to capture Live Photos.

When you enable Live Photo capture, the following requirements apply:

- The photo output’s [`isLivePhotoCaptureEnabled`](/documentation/AVFoundation/AVCapturePhotoOutput/isLivePhotoCaptureEnabled) property must be <doc://com.apple.documentation/documentation/Swift/true>, and its and [`isLivePhotoCaptureSuspended`](/documentation/AVFoundation/AVCapturePhotoOutput/isLivePhotoCaptureSuspended) property must be <doc://com.apple.documentation/documentation/Swift/false>.
- The URL you specify must be a file URL to an accessible location in your app’s sandbox.
- Your delegate object must implement the [`photoOutput(_:didFinishProcessingLivePhotoToMovieFileAt:duration:photoDisplayTime:resolvedSettings:error:)`](/documentation/AVFoundation/AVCapturePhotoCaptureDelegate/photoOutput(_:didFinishProcessingLivePhotoToMovieFileAt:duration:photoDisplayTime:resolvedSettings:error:)) method.

The capture output validates these requirements when you call the [`capturePhoto(with:delegate:)`](/documentation/AVFoundation/AVCapturePhotoOutput/capturePhoto(with:delegate:)) method. If your settings and delegate don’t meet these requirements, that method raises an exception.

---

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)