init(url:options:error:)
Creates a mutable movie object from a movie header stored in a QuickTime movie file of ISO base media file.
Declaration
init(url URL: URL, options: [String : Any]? = nil, error: ()) throwsParameters
- URL:
The URL that points to a file containing a movie header.
- 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.