Instance Property


Indicates whether to drop video frames if they arrive late.


@property(nonatomic) BOOL alwaysDiscardsLateVideoFrames;


If this property is YES, the output immediately discard frames that captured while the dispatch queue handling existing frames blocks in the captureOutput:didOutputSampleBuffer:fromConnection: delegate method. When set to NO, the output gives delegates more time to process old frames before it discards new frames, but application memory usage may increase significantly as a result.

The default is YES.

See Also

Configuring Video Capture


The compression settings for the output.

Video Settings Dictionaries

Define output image and video formats by using the key and value constants.


The minimum frame duration.


A Boolean value that indicates whether the output automatically configures the size of output buffers.


A Boolean value that indicates whether the output is configured to deliver preview-sized buffers.

- recommendedVideoSettingsForVideoCodecType:assetWriterOutputFileType:

Returns a video settings dictionary appropriate for capturing video to be recorded to a file with the specified codec and type.

- recommendedVideoSettingsForAssetWriterWithOutputFileType:

Specifies the recommended settings for use with an AVAssetWriterInput.