Module Values.InsertableImageSource

These settings apply to a specific graphic overlay. You can include multiple overlays in your job.

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

    Specify the time, in milliseconds, for the image to remain on the output video. This duration includes fade-in time but not fade-out time.

    *)
  2. fadeIn : int option;
    (*

    Specify the length of time, in milliseconds, between the Start time that you specify for the image insertion and the time that the image appears at full opacity. Full opacity is the level that you specify for the opacity setting. If you don't specify a value for Fade-in, the image will appear abruptly at the overlay start time.

    *)
  3. fadeOut : int option;
    (*

    Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration.

    *)
  4. height : int option;
    (*

    Specify the height of the inserted image in pixels. If you specify a value that's larger than the video resolution height, the service will crop your overlaid image to fit. To use the native height of the image, keep this setting blank.

    *)
  5. imageInserterInput : string option;
    (*

    Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file.

    *)
  6. imageX : int option;
    (*

    Specify the distance, in pixels, between the inserted image and the left edge of the video frame. Required for any image overlay that you specify.

    *)
  7. imageY : int option;
    (*

    Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.

    *)
  8. layer : int option;
    (*

    Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.

    *)
  9. opacity : int option;
    (*

    Use Opacity to specify how much of the underlying video shows through the inserted image. 0 is transparent and 100 is fully opaque. Default is 50.

    *)
  10. startTime : string option;
    (*

    Specify the timecode of the frame that you want the overlay to first appear on. This must be in timecode (HH:MM:SS:FF or HH:MM:SS;FF) format. Remember to take into account your timecode source settings.

    *)
  11. width : int option;
    (*

    Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank.

    *)
}
Sourceval make : ?duration:??? -> ?fadeIn:??? -> ?fadeOut:??? -> ?height:??? -> ?imageInserterInput:??? -> ?imageX:??? -> ?imageY:??? -> ?layer:??? -> ?opacity:??? -> ?startTime:??? -> ?width:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int | `String of string ]) 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