AWS SDK for .NET Documentation
AspectRatio Property
AmazonAmazon.ElasticTranscoder.ModelVideoParametersAspectRatio Did this page help you?   Yes   No    Tell us about it...
Gets and sets the property AspectRatio.

To better control resolution and aspect ratio of output videos, we recommend that you use the values

CopyC#
MaxWidth
,
CopyC#
MaxHeight
,
CopyC#
SizingPolicy
,
CopyC#
PaddingPolicy
, and
CopyC#
DisplayAspectRatio
instead of
CopyC#
Resolution
and
CopyC#
AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.

The display aspect ratio of the video in the output file. Valid values include:

CopyC#
auto
,
CopyC#
1:1
,
CopyC#
4:3
,
CopyC#
3:2
,
CopyC#
16:9

If you specify

CopyC#
auto
, Elastic Transcoder tries to preserve the aspect ratio of the input file.

If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.

Declaration Syntax
C#
public string AspectRatio { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)