最終更新:2017-02-24 (金) 04:07:54 (2616d)
AVFrameRateRange
Top / AVFrameRateRange
https://developer.apple.com/reference/avfoundation/avframeraterange
プロパティ
var maxFrameDuration?: CMTime The maximum frame duration supported by the range. var maxFrameRate?: Float64? The maximum frame rate supported by the range. var minFrameDuration?: CMTime The minimum frame duration supported by the range. var minFrameRate?: Float64? The minimum frame rate supported by the range.
例
<AVCaptureDeviceFormat: 0x174012690 'vide'/'420v' 192x 144, { 2- 30 fps}, HRSI:3264x2448, fov:58.040, max zoom:153.00 (upscales @17.00), AF System:2, ISO:29.0-1856.0, SS:0.000025-0.500000> <AVFrameRateRange: 0x170010820 2 - 30> minFrameDuration = CMTime(value: 1, timescale: 30, flags: __C.CMTimeFlags(rawValue: 1), epoch: 0) maxFrameDuration = CMTime(value: 1, timescale: 2, flags: __C.CMTimeFlags(rawValue: 1), epoch: 0) <AVCaptureDeviceFormat: 0x174012740 'vide'/'420v' 1280x 720, { 5-240 fps}, fov:54.626, binned, supports vis, max zoom:49.12 (upscales @1.09), AF System:1, ISO:29.0-928.0, SS:0.000006-0.200000> <AVFrameRateRange: 0x170010930 5 - 240> minFrameDuration = CMTime(value: 1, timescale: 240, flags: __C.CMTimeFlags(rawValue: 1), epoch: 0) maxFrameDuration = CMTime(value: 1, timescale: 5, flags: __C.CMTimeFlags(rawValue: 1), epoch: 0)