AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.
Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.
When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.
public class PresetWatermark
The PresetWatermark type exposes the following members
Gets and sets the property HorizontalAlign.
The horizontal position of the watermark unless you specify a non-zero value for
Gets and sets the property HorizontalOffset.
The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:
For example, if you specify Left for
Use the value of
Gets and sets the property Id.
A unique identifier for the settings for one watermark. The value of
Gets and sets the property MaxHeight.
The maximum height of the watermark in one of the following formats:
If you specify the value in pixels, it must be less than or equal to the value of
Gets and sets the property MaxWidth.
The maximum width of the watermark in one of the following formats:
Gets and sets the property Opacity.
A percentage that indicates how much you want a watermark to obscure the video in
the location where it appears. Valid values are 0 (the watermark is invisible) to
100 (the watermark completely obscures the video in the specified location). The datatype
Elastic Transcoder supports transparent .png graphics. If you use a transparent .png,
the transparent portion of the video appears as if you had specified a value of 0
Gets and sets the property SizingPolicy.
A value that controls scaling of the watermark:
Gets and sets the property Target.
A value that determines how Elastic Transcoder interprets values that you specified
Gets and sets the property VerticalAlign.
The vertical position of the watermark unless you specify a non-zero value for
Gets and sets the property VerticalOffset.
The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:
For example, if you specify
If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.
Use the value of
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms