| Package | Description |
|---|---|
| com.amazonaws.services.elastictranscoder.model |
| Modifier and Type | Method and Description |
|---|---|
PresetWatermark |
PresetWatermark.clone() |
PresetWatermark |
PresetWatermark.withHorizontalAlign(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(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(String id)
A unique identifier for the settings for one watermark.
|
PresetWatermark |
PresetWatermark.withMaxHeight(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(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(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(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(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(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(String verticalOffset)
VerticalOffset |
| Modifier and Type | Method and Description |
|---|---|
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(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(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.
|
Copyright © 2016. All rights reserved.