Struct rusoto_mediaconvert::MotionImageInserter
source · [−]pub struct MotionImageInserter {
pub framerate: Option<MotionImageInsertionFramerate>,
pub input: Option<String>,
pub insertion_mode: Option<String>,
pub offset: Option<MotionImageInsertionOffset>,
pub playback: Option<String>,
pub start_time: Option<String>,
}
Expand description
Overlay motion graphics on top of your video. The motion graphics that you specify here appear on all outputs in all output groups. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/motion-graphic-overlay.html.
Fields
framerate: Option<MotionImageInsertionFramerate>
If your motion graphic asset is a .mov file, keep this setting unspecified. If your motion graphic asset is a series of .png files, specify the frame rate of the overlay in frames per second, as a fraction. For example, specify 24 fps as 24/1. Make sure that the number of images in your series matches the frame rate and your intended overlay duration. For example, if you want a 30-second overlay at 30 fps, you should have 900 .png images. This overlay frame rate doesn't need to match the frame rate of the underlying video.
input: Option<String>
Specify the .mov file or series of .png files that you want to overlay on your video. For .png files, provide the file name of the first file in the series. Make sure that the names of the .png files end with sequential numbers that specify the order that they are played in. For example, overlay000.png, overlay001.png, overlay002.png, and so on. The sequence must start at zero, and each image file name must have the same number of digits. Pad your initial file names with enough zeros to complete the sequence. For example, if the first image is overlay0.png, there can be only 10 images in the sequence, with the last image being overlay9.png. But if the first image is overlay00.png, there can be 100 images in the sequence.
insertion_mode: Option<String>
Choose the type of motion graphic asset that you are providing for your overlay. You can choose either a .mov file or a series of .png files.
offset: Option<MotionImageInsertionOffset>
Use Offset to specify the placement of your motion graphic overlay on the video frame. Specify in pixels, from the upper-left corner of the frame. If you don't specify an offset, the service scales your overlay to the full size of the frame. Otherwise, the service inserts the overlay at its native resolution and scales the size up or down with any video scaling.
playback: Option<String>
Specify whether your motion graphic overlay repeats on a loop or plays only once.
start_time: Option<String>
Specify when the motion overlay begins. Use timecode format (HH:MM:SS:FF or HH:MM:SS;FF). Make sure that the timecode you provide here takes into account how you have set up your timecode configuration under both job settings and input settings. The simplest way to do that is to set both to start at 0. If you need to set up your job to follow timecodes embedded in your source that don't start at zero, make sure that you specify a start time that is after the first embedded timecode. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/setting-up-timecode.html Find job-wide and input timecode configuration settings in your JSON job settings specification at settings>timecodeConfig>source and settings>inputs>timecodeSource.
Trait Implementations
sourceimpl Clone for MotionImageInserter
impl Clone for MotionImageInserter
sourcefn clone(&self) -> MotionImageInserter
fn clone(&self) -> MotionImageInserter
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 MotionImageInserter
impl Debug for MotionImageInserter
sourceimpl Default for MotionImageInserter
impl Default for MotionImageInserter
sourcefn default() -> MotionImageInserter
fn default() -> MotionImageInserter
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for MotionImageInserter
impl<'de> Deserialize<'de> for MotionImageInserter
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<MotionImageInserter> for MotionImageInserter
impl PartialEq<MotionImageInserter> for MotionImageInserter
sourcefn eq(&self, other: &MotionImageInserter) -> bool
fn eq(&self, other: &MotionImageInserter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MotionImageInserter) -> bool
fn ne(&self, other: &MotionImageInserter) -> bool
This method tests for !=
.
sourceimpl Serialize for MotionImageInserter
impl Serialize for MotionImageInserter
impl StructuralPartialEq for MotionImageInserter
Auto Trait Implementations
impl RefUnwindSafe for MotionImageInserter
impl Send for MotionImageInserter
impl Sync for MotionImageInserter
impl Unpin for MotionImageInserter
impl UnwindSafe for MotionImageInserter
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