Struct rusoto_mediaconvert::InsertableImage
source · [−]pub struct InsertableImage {
pub duration: Option<i64>,
pub fade_in: Option<i64>,
pub fade_out: Option<i64>,
pub height: Option<i64>,
pub image_inserter_input: Option<String>,
pub image_x: Option<i64>,
pub image_y: Option<i64>,
pub layer: Option<i64>,
pub opacity: Option<i64>,
pub start_time: Option<String>,
pub width: Option<i64>,
}
Expand description
These settings apply to a specific graphic overlay. You can include multiple overlays in your job.
Fields
duration: Option<i64>
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: Option<i64>
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.
fade_out: Option<i64>
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.
height: Option<i64>
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.
image_inserter_input: Option<String>
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.
image_x: Option<i64>
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.
image_y: Option<i64>
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.
layer: Option<i64>
Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.
opacity: Option<i64>
Use 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: Option<String>
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.
width: Option<i64>
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.
Trait Implementations
sourceimpl Clone for InsertableImage
impl Clone for InsertableImage
sourcefn clone(&self) -> InsertableImage
fn clone(&self) -> InsertableImage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InsertableImage
impl Debug for InsertableImage
sourceimpl Default for InsertableImage
impl Default for InsertableImage
sourcefn default() -> InsertableImage
fn default() -> InsertableImage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InsertableImage
impl<'de> Deserialize<'de> for InsertableImage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<InsertableImage> for InsertableImage
impl PartialEq<InsertableImage> for InsertableImage
sourcefn eq(&self, other: &InsertableImage) -> bool
fn eq(&self, other: &InsertableImage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InsertableImage) -> bool
fn ne(&self, other: &InsertableImage) -> bool
This method tests for !=
.
sourceimpl Serialize for InsertableImage
impl Serialize for InsertableImage
impl StructuralPartialEq for InsertableImage
Auto Trait Implementations
impl RefUnwindSafe for InsertableImage
impl Send for InsertableImage
impl Sync for InsertableImage
impl Unpin for InsertableImage
impl UnwindSafe for InsertableImage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more