Module Values.FrameCaptureSettingsSource

Required when you set Codec to the value FRAME_CAPTURE.

Sourcetype nonrec t = {
  1. framerateDenominator : int option;
    (*

    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.

    *)
  2. framerateNumerator : int option;
    (*

    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.

    *)
  3. maxCaptures : int option;
    (*

    Maximum number of captures (encoded jpg output files).

    *)
  4. quality : int option;
    (*

    JPEG Quality - a higher value equals higher quality.

    *)
}
Sourceval make : ?framerateDenominator:??? -> ?framerateNumerator:??? -> ?maxCaptures:??? -> ?quality:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t