Module Values.VideoDescriptionSource

Video settings for this stream.

Sourcetype nonrec t = {
  1. codecSettings : VideoCodecSettings.t option;
    (*

    Video codec settings.

    *)
  2. height : int option;
    (*

    Output video height, in pixels. Must be an even number. For most codecs, you can leave this field and width blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.

    *)
  3. name : string;
    (*

    The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.

    *)
  4. respondToAfd : VideoDescriptionRespondToAfd.t option;
    (*

    Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH. RESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output. NONE: MediaLive does not clip the input video and does not include the AFD values in the output

    *)
  5. scalingBehavior : VideoDescriptionScalingBehavior.t option;
    (*

    Configures how MediaLive transforms the video picture to match the output frame. Use STRETCH_TO_OUTPUT to stretch the video to fill the output frame. The video might get distorted. Use DEFAULT to insert pillar boxes or letter boxes around the video to fill the output frame. The video won't get distorted. Use SMART_CROP to enable the smart crop feature that uses the Elemental Inference service to crop the frame using AI - see the MediaLive User Guide for more information.

    *)
  6. sharpness : int option;
    (*

    Changes the strength of the anti-alias filter used for scaling. 0 is the softest setting, 100 is the sharpest. A setting of 50 is recommended for most content.

    *)
  7. width : int option;
    (*

    Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.

    *)
}
Sourceval context_ : string
Sourceval make : ?codecSettings:??? -> ?height:??? -> ?respondToAfd:??? -> ?scalingBehavior:??? -> ?sharpness:??? -> ?width:??? -> name:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `Structure of (string * [> `Double of float | `Enum of string | `Integer of int | `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `Integer of int ]) list ]) list ]) list ]) list ]) 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