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

# init(settingsFrom:options:)

Creates a mutable movie object without tracks.

```
init(settingsFrom movie: AVMovie?, options: [String : Any]? = nil) throws
```

## Parameters

`movie`

A movie object that contains settings from an existing movie.

`options`

A dictionary that contains key for specifying the movie object initialization. Currently, no keys are defined.

## Return Value

An `AVMutableMovie` object.

## Discussion

On initialization, the [`defaultMediaDataStorage`](/documentation/AVFoundation/AVMutableMovie/defaultMediaDataStorage) property and any associated [`mediaDataStorage`](/documentation/AVFoundation/AVMutableMovieTrack/mediaDataStorage) properties are set to `nil`. To create an `AVMutableMovie` from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.

---

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)