Instance Property

estimatedOutputFileLength

The estimated size, in bytes, of the exported file.

Declaration

@property(nonatomic, readonly) long long estimatedOutputFileLength;

Discussion

Returns 0 when the export preset is AVAssetExportPresetPassthrough or AVAssetExportPresetAppleProRes422LPCM. This property will also return 0 if a numeric value (not invalid, indefinite, or infinite) for the timeRange property has not been set.

You can observe this property using Key-value observing.

See Also

Exporting Media

- exportAsynchronouslyWithCompletionHandler:

Starts the asynchronous execution of an export session.

- cancelExport

Cancels the execution of an export session.

error

Describes the error that occurred.

AVAssetExportSessionStatus

A set of statuses used for relaying the state of an export session.

maxDuration

Provides an estimate of the maximum duration of the exported media.