Contents

AVAssetWriterInput

An object that appends media samples to a track in an asset writer’s output file.

Declaration

class AVAssetWriterInput

Mentioned in

Overview

Create an asset writer input to write a single track of media, and optional track-level metadata, to the output file. To write multiple concurrent tracks with ideal interleaving of media data, observe the value of the isReadyForMoreMediaData property of each input.

You can use an asset writer input to create tracks in a QuickTime movie file that aren’t self-contained, and instead reference sample data that exists in another file.

Topics

Creating an input

Configuring presentation

Configuring language support

Configuring metadata

Configuring media data layout

Configuring track associations

Appending media samples

Performing multiple-pass encoding

Inspecting an input

See Also

Media writing