Instance Property

outputFileType

A UTI indicating the type of file to write.

Declaration

var outputFileType: AVFileType { get }

Discussion

To get a suitable file extension for a given file type, use the UTTypeCopyPreferredTagWithClass(_:_:) function with the kUTTagClassFilenameExtension constant.

This property does not support Key-value observing.

See Also

Configuring Output Settings

var audioSettings: [String : Any]?

A dictionary containing the values to use when creating an asset writer input.

var sourceAudioFormat: CMAudioFormatDescription?

The format of the audio data when determining the audio settings to use.

var sourceVideoAverageFrameDuration: CMTime

A time describing the average frame duration of the video data.

var sourceVideoFormat: CMVideoFormatDescription?

A core media video format description object that defines the video format.

var videoSettings: [String : Any]?

A dictionary containing the values to use when creating an asset writer input.

var sourceVideoMinFrameDuration: CMTime

A time describing the minimum frame duration of the video data.