You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::InsertableImageWhen passing InsertableImage as input to an Aws::Client method, you can use a vanilla Hash:
{
duration: 1,
fade_in: 1,
fade_out: 1,
height: 1,
image_inserter_input: "__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA",
image_x: 1,
image_y: 1,
layer: 1,
opacity: 1,
start_time: "__stringPattern01D20305D205D",
width: 1,
}
Settings that specify how your still graphic overlay appears.
Instance Attribute Summary collapseSpecify the time, in milliseconds, for the image to remain on the output video.
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.
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.
Specify the height of the inserted image in pixels.
Specify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video.
Specify the distance, in pixels, between the inserted image and the left edge of the video frame.
Specify the distance, in pixels, between the overlaid image and the top edge of the video frame.
Specify how overlapping inserted images appear.
Use Opacity (Opacity) to specify how much of the underlying video shows through the inserted image.
Specify the timecode of the frame that you want the overlay to first appear on.
Specify the width of the inserted image in pixels.
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.
#fade_in ⇒ IntegerSpecify 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.
#fade_out ⇒ IntegerSpecify 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.
#height ⇒ IntegerSpecify 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.
#image_inserter_input ⇒ StringSpecify the HTTP, HTTPS, or Amazon S3 location of the image that you want to overlay on the video. Use a PNG or TGA file.
#image_x ⇒ IntegerSpecify the distance, in pixels, between the inserted image and the left edge of the video frame. Required for any image overlay that you specify.
#image_y ⇒ IntegerSpecify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.
#layer ⇒ IntegerSpecify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.
#opacity ⇒ IntegerUse Opacity (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.
#start_time ⇒ StringSpecify 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.
#width ⇒ IntegerSpecify 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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4