Java com.amazonaws.services.elastictranscoder.model VideoParameters fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.elastictranscoder.model VideoParameters fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.elastictranscoder.model VideoParameters.

The text is from its open source code.

Constructor

Method

StringgetAspectRatio()

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio.

StringgetBitRate()

The bit rate of the video stream in the output file, in kilobits/second.

StringgetCodec()

The video codec for the output file.

StringgetDisplayAspectRatio()

The value that Elastic Transcoder adds to the metadata in the output file.

StringgetFixedGOP()

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

StringgetFrameRate()

The frames per second for the video stream in the output file.

StringgetKeyframesMaxDist()

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

StringgetMaxFrameRate()

If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video.

StringgetMaxHeight()

The maximum height of the output video in pixels.

StringgetMaxWidth()

The maximum width of the output video in pixels.

StringgetPaddingPolicy()

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for MaxWidth and MaxHeight.

StringgetResolution()

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio.

StringgetSizingPolicy()

Specify one of the following values to control scaling of the output video:

  • Fit: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.