Contents

init(settingsFrom:options:)

Creates a mutable movie object without tracks.

Declaration

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