Instance Property

automaticallyConfiguresOutputBufferDimensions

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

Declaration

@property(nonatomic) BOOL automaticallyConfiguresOutputBufferDimensions;

Discussion

In most configurations, AVCaptureVideoDataOutput delivers full-resolution buffers that match the video dimensions of the capture device’s activeFormat property. When this property is YES, the output is free to scale the buffers delivered to captureOutput:didOutputSampleBuffer:fromConnection: to a size suitable for preview (approximately the size of the screen).

You can query this property to find out whether the automatic configuration of output buffer dimensions is downscaling buffers to a preview size. You can also query the output’s videoSettings dictionary to find the buffer’s exact dimensions.

The default value of this property is YES.

See Also

Configuring Video Capture

videoSettings

The compression settings for the output.

Video Settings Dictionaries

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

minFrameDuration

The minimum frame duration.

Deprecated
alwaysDiscardsLateVideoFrames

Indicates whether to drop video frames if they arrive late.

deliversPreviewSizedOutputBuffers

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.