@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MotionImageInserter extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
MotionImageInserter() |
Modifier and Type | Method and Description |
---|---|
MotionImageInserter |
clone() |
boolean |
equals(Object obj) |
MotionImageInsertionFramerate |
getFramerate()
If your motion graphic asset is a .mov file, keep this setting unspecified.
|
String |
getInput()
Specify the .mov file or series of .png files that you want to overlay on your video.
|
String |
getInsertionMode()
Choose the type of motion graphic asset that you are providing for your overlay.
|
MotionImageInsertionOffset |
getOffset()
Use Offset to specify the placement of your motion graphic overlay on the video frame.
|
String |
getPlayback()
Specify whether your motion graphic overlay repeats on a loop or plays only once.
|
String |
getStartTime()
Specify when the motion overlay begins.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFramerate(MotionImageInsertionFramerate framerate)
If your motion graphic asset is a .mov file, keep this setting unspecified.
|
void |
setInput(String input)
Specify the .mov file or series of .png files that you want to overlay on your video.
|
void |
setInsertionMode(String insertionMode)
Choose the type of motion graphic asset that you are providing for your overlay.
|
void |
setOffset(MotionImageInsertionOffset offset)
Use Offset to specify the placement of your motion graphic overlay on the video frame.
|
void |
setPlayback(String playback)
Specify whether your motion graphic overlay repeats on a loop or plays only once.
|
void |
setStartTime(String startTime)
Specify when the motion overlay begins.
|
String |
toString()
Returns a string representation of this object.
|
MotionImageInserter |
withFramerate(MotionImageInsertionFramerate framerate)
If your motion graphic asset is a .mov file, keep this setting unspecified.
|
MotionImageInserter |
withInput(String input)
Specify the .mov file or series of .png files that you want to overlay on your video.
|
MotionImageInserter |
withInsertionMode(MotionImageInsertionMode insertionMode)
Choose the type of motion graphic asset that you are providing for your overlay.
|
MotionImageInserter |
withInsertionMode(String insertionMode)
Choose the type of motion graphic asset that you are providing for your overlay.
|
MotionImageInserter |
withOffset(MotionImageInsertionOffset offset)
Use Offset to specify the placement of your motion graphic overlay on the video frame.
|
MotionImageInserter |
withPlayback(MotionImagePlayback playback)
Specify whether your motion graphic overlay repeats on a loop or plays only once.
|
MotionImageInserter |
withPlayback(String playback)
Specify whether your motion graphic overlay repeats on a loop or plays only once.
|
MotionImageInserter |
withStartTime(String startTime)
Specify when the motion overlay begins.
|
public void setFramerate(MotionImageInsertionFramerate framerate)
framerate
- 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.public MotionImageInsertionFramerate getFramerate()
public MotionImageInserter withFramerate(MotionImageInsertionFramerate framerate)
framerate
- 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.public void setInput(String input)
input
- 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, overlay_000.png,
overlay_001.png, overlay_002.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 overlay_0.png, there can be only 10 images in the sequence,
with the last image being overlay_9.png. But if the first image is overlay_00.png, there can be 100 images
in the sequence.public String getInput()
public MotionImageInserter withInput(String input)
input
- 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, overlay_000.png,
overlay_001.png, overlay_002.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 overlay_0.png, there can be only 10 images in the sequence,
with the last image being overlay_9.png. But if the first image is overlay_00.png, there can be 100 images
in the sequence.public void setInsertionMode(String insertionMode)
insertionMode
- 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.MotionImageInsertionMode
public String getInsertionMode()
MotionImageInsertionMode
public MotionImageInserter withInsertionMode(String insertionMode)
insertionMode
- 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.MotionImageInsertionMode
public MotionImageInserter withInsertionMode(MotionImageInsertionMode insertionMode)
insertionMode
- 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.MotionImageInsertionMode
public void setOffset(MotionImageInsertionOffset offset)
offset
- 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.public MotionImageInsertionOffset getOffset()
public MotionImageInserter withOffset(MotionImageInsertionOffset offset)
offset
- 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.public void setPlayback(String playback)
playback
- Specify whether your motion graphic overlay repeats on a loop or plays only once.MotionImagePlayback
public String getPlayback()
MotionImagePlayback
public MotionImageInserter withPlayback(String playback)
playback
- Specify whether your motion graphic overlay repeats on a loop or plays only once.MotionImagePlayback
public MotionImageInserter withPlayback(MotionImagePlayback playback)
playback
- Specify whether your motion graphic overlay repeats on a loop or plays only once.MotionImagePlayback
public void setStartTime(String startTime)
startTime
- 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.htmlpublic String getStartTime()
public MotionImageInserter withStartTime(String startTime)
startTime
- 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.htmlpublic String toString()
toString
in class Object
Object.toString()
public MotionImageInserter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.