Module Values.VideoSource

Settings for video.

Sourcetype nonrec t = {
  1. width : Width.t option;
    (*

    Video-resolution width. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.

    *)
  2. height : Height.t option;
    (*

    Video-resolution height. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

    *)
  3. framerate : Framerate.t option;
    (*

    Video frame rate, in fps. Default: 30.

    *)
  4. bitrate : Bitrate.t option;
    (*

    Bitrate for generated output, in bps. Default: 2500000.

    *)
}
Sourceval make : ?width:??? -> ?height:??? -> ?framerate:??? -> ?bitrate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Framerate.t | `Integer of Width.t ]) 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