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

Profile

The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:

Level (H.264 Only)

The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:

CopyC#
1
,
CopyC#
1b
,
CopyC#
1.1
,
CopyC#
1.2
,
CopyC#
1.3
,
CopyC#
2
,
CopyC#
2.1
,
CopyC#
2.2
,
CopyC#
3
,
CopyC#
3.1
,
CopyC#
3.2
,
CopyC#
4
,
CopyC#
4.1

MaxReferenceFrames (H.264 Only)

Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:

CopyC#
Min(Floor(Maximum decoded picture buffer in macroblocks * 256 /
            (Width in pixels *                Height in pixels)), 16)

where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the

CopyC#
Level
object. See the list below. (A macroblock is a block of pixels measuring 16x16.)

MaxBitRate

The maximum number of bits per second in a video buffer; the size of the buffer is specified by

CopyC#
BufferSize
. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.

BufferSize

The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify

CopyC#
MaxBitRate
and omit
CopyC#
BufferSize
, Elastic Transcoder sets
CopyC#
BufferSize
to 10 times the value of
CopyC#
MaxBitRate
.

Declaration Syntax
C#
public Dictionary<string, string> CodecOptions { get; set; }

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