Contents

sourceVideoMinFrameDuration

A time value that describes the minimum frame duration of the video data.

Declaration

var sourceVideoMinFrameDuration: CMTime { get set }

Discussion

Setting this property enables the output settings assistant to generate more complete video settings. After setting a value, requery the videoSettings property to get the latest values.

If the source of the video data is an instance of AVAssetReaderOutput, you can discover the minimum frame duration of your source asset using the AVAssetTrack instance’s minFrameDuration property.

The default value is 1/30, which means the output settings assistant assumes that the source video has a maximum frame rate of 30fps.

See Also

Configuring output settings