---
title: "init(settingsFrom:options:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avmutablemovie/init(settingsfrom:options:)"
---

# init(settingsFrom:options:)

Creates a mutable movie object without tracks.

## Declaration

```swift
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

Return Value An AVMutableMovie object.

## Discussion

Discussion On initialization, the defaultMediaDataStorage property and any associated 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.

## See Also

### Creating a movie

- [init(url:options:error:)](avfoundation/avmutablemovie/init(url:options:error:)-8rnnj.md)
- [init(data:options:error:)](avfoundation/avmutablemovie/init(data:options:error:).md)
