<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMovie/init(url:options:)-1wjrq",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMovie(im)initWithURL:options:"
  },
  "title" : "init(url:options:)"
}
-->

# init(url:options:)

Creates a movie object from a movie header stored in a QuickTime movie file of ISO base media file.

```
init(url URL: URL, options: [String : Any]? = nil)
```

## Parameters

`URL`

A URL that points to a file containing a movie header.

`options`

A dictionary of options to use to initialize the movie.

## Discussion

Upon creation, the values of the [`defaultMediaDataStorage`](/documentation/AVFoundation/AVMovie/defaultMediaDataStorage) property and any associated [`mediaDataStorage`](/documentation/AVFoundation/AVMovieTrack/mediaDataStorage) properties are `nil`.

---

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)