Package | Description |
---|---|
com.amazonaws.services.elastictranscoder.model | |
com.amazonaws.services.elastictranscoder.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<PresetWatermark> |
VideoParameters.watermarks
Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using this
preset.
|
Modifier and Type | Method and Description |
---|---|
PresetWatermark |
PresetWatermark.clone() |
PresetWatermark |
PresetWatermark.withHorizontalAlign(java.lang.String horizontalAlign)
The horizontal position of the watermark unless you specify a non-zero
value for
HorizontalOffset :
Left: The left edge of the watermark is aligned with the left
border of the video.
Right: The right edge of the watermark is aligned with the
right border of the video.
Center: The watermark is centered between the left and right
borders.
|
PresetWatermark |
PresetWatermark.withHorizontalOffset(java.lang.String horizontalOffset)
The amount by which you want the horizontal position of the watermark to
be offset from the position specified by HorizontalAlign:
number of pixels (px): The minimum value is 0 pixels, and the maximum
value is the value of MaxWidth.
integer percentage (%): The range of valid values is 0 to 100.
For example, if you specify Left for
HorizontalAlign and 5px
for HorizontalOffset , the left side of the watermark appears
5 pixels from the left border of the output video. |
PresetWatermark |
PresetWatermark.withId(java.lang.String id)
A unique identifier for the settings for one watermark.
|
PresetWatermark |
PresetWatermark.withMaxHeight(java.lang.String maxHeight)
The maximum height of the watermark in one of the following formats:
number of pixels (px): The minimum value is 16 pixels, and the
maximum value is the value of
MaxHeight .
integer percentage (%): The range of valid values is 0 to 100. |
PresetWatermark |
PresetWatermark.withMaxWidth(java.lang.String maxWidth)
The maximum width of the watermark in one of the following formats:
number of pixels (px): The minimum value is 16 pixels, and the
maximum value is the value of
MaxWidth .
integer percentage (%): The range of valid values is 0 to 100. |
PresetWatermark |
PresetWatermark.withOpacity(java.lang.String opacity)
A percentage that indicates how much you want a watermark to obscure the
video in the location where it appears.
|
PresetWatermark |
PresetWatermark.withSizingPolicy(java.lang.String sizingPolicy)
A value that controls scaling of the watermark:
Fit: Elastic Transcoder scales the watermark so it matches the
value that you specified in either
MaxWidth or
MaxHeight without exceeding the other value.
Stretch: Elastic Transcoder stretches the watermark to match
the values that you specified for MaxWidth and
MaxHeight . |
PresetWatermark |
PresetWatermark.withTarget(java.lang.String target)
A value that determines how Elastic Transcoder interprets values that you
specified for
HorizontalOffset , VerticalOffset ,
MaxWidth , and MaxHeight :
Content: HorizontalOffset and
VerticalOffset values are calculated based on the borders of
the video excluding black bars added by Elastic Transcoder, if any. |
PresetWatermark |
PresetWatermark.withVerticalAlign(java.lang.String verticalAlign)
The vertical position of the watermark unless you specify a non-zero
value for
VerticalOffset :
Top: The top edge of the watermark is aligned with the top
border of the video.
Bottom: The bottom edge of the watermark is aligned with the
bottom border of the video.
Center: The watermark is centered between the top and bottom
borders.
|
PresetWatermark |
PresetWatermark.withVerticalOffset(java.lang.String verticalOffset)
VerticalOffset |
Modifier and Type | Method and Description |
---|---|
java.util.List<PresetWatermark> |
VideoParameters.getWatermarks()
Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using this
preset.
|
Modifier and Type | Method and Description |
---|---|
VideoParameters |
VideoParameters.withWatermarks(PresetWatermark... watermarks)
Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using this
preset.
|
Modifier and Type | Method and Description |
---|---|
void |
VideoParameters.setWatermarks(java.util.Collection<PresetWatermark> watermarks)
Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using this
preset.
|
VideoParameters |
VideoParameters.withWatermarks(java.util.Collection<PresetWatermark> watermarks)
Settings for the size, location, and opacity of graphics that you want
Elastic Transcoder to overlay over videos that are transcoded using this
preset.
|
Modifier and Type | Method and Description |
---|---|
PresetWatermark |
PresetWatermarkJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PresetWatermarkJsonMarshaller.marshall(PresetWatermark presetWatermark,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|