FrameCaptureSettings

public struct FrameCaptureSettings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.

    Declaration

    Swift

    public let framerateDenominator: Int?
  • Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.

    Declaration

    Swift

    public let framerateNumerator: Int?
  • Maximum number of captures (encoded jpg output files).

    Declaration

    Swift

    public let maxCaptures: Int?
  • JPEG Quality - a higher value equals higher quality.

    Declaration

    Swift

    public let quality: Int?
  • Undocumented

    Declaration

    Swift

    public init(framerateDenominator: Int? = nil, framerateNumerator: Int? = nil, maxCaptures: Int? = nil, quality: Int? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws