AWS SDK Version 3 for .NET
API Reference

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.

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.

Inheritance Hierarchy

System.Object
  Amazon.MediaConvert.Model.Mpeg2Settings

Namespace: Amazon.MediaConvert.Model
Assembly: AWSSDK.MediaConvert.dll
Version: 3.x.y.z

Syntax

C#
public class Mpeg2Settings

The Mpeg2Settings type exposes the following members

Constructors

NameDescription
Public Method Mpeg2Settings()

Properties

NameTypeDescription
Public Property AdaptiveQuantization Amazon.MediaConvert.Mpeg2AdaptiveQuantization

Gets and sets the property AdaptiveQuantization.

Public Property Bitrate System.Int32

Gets and sets the property Bitrate. Average bitrate in bits/second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.

Public Property CodecLevel Amazon.MediaConvert.Mpeg2CodecLevel

Gets and sets the property CodecLevel.

Public Property CodecProfile Amazon.MediaConvert.Mpeg2CodecProfile

Gets and sets the property CodecProfile.

Public Property DynamicSubGop Amazon.MediaConvert.Mpeg2DynamicSubGop

Gets and sets the property DynamicSubGop. Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).

Public Property FramerateControl Amazon.MediaConvert.Mpeg2FramerateControl

Gets and sets the property FramerateControl.

Public Property FramerateConversionAlgorithm Amazon.MediaConvert.Mpeg2FramerateConversionAlgorithm

Gets and sets the property FramerateConversionAlgorithm.

Public Property FramerateDenominator System.Int32

Gets and sets the property FramerateDenominator. Framerate denominator.

Public Property FramerateNumerator System.Int32

Gets and sets the property FramerateNumerator. Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.

Public Property GopClosedCadence System.Int32

Gets and sets the property GopClosedCadence. Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.

Public Property GopSize System.Double

Gets and sets the property GopSize. GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.

Public Property GopSizeUnits Amazon.MediaConvert.Mpeg2GopSizeUnits

Gets and sets the property GopSizeUnits.

Public Property HrdBufferInitialFillPercentage System.Int32

Gets and sets the property HrdBufferInitialFillPercentage. Percentage of the buffer that should initially be filled (HRD buffer model).

Public Property HrdBufferSize System.Int32

Gets and sets the property HrdBufferSize. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.

Public Property InterlaceMode Amazon.MediaConvert.Mpeg2InterlaceMode

Gets and sets the property InterlaceMode.

Public Property IntraDcPrecision Amazon.MediaConvert.Mpeg2IntraDcPrecision

Gets and sets the property IntraDcPrecision.

Public Property MaxBitrate System.Int32

Gets and sets the property MaxBitrate. Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.

Public Property MinIInterval System.Int32

Gets and sets the property MinIInterval. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1

Public Property NumberBFramesBetweenReferenceFrames System.Int32

Gets and sets the property NumberBFramesBetweenReferenceFrames. Number of B-frames between reference frames.

Public Property ParControl Amazon.MediaConvert.Mpeg2ParControl

Gets and sets the property ParControl.

Public Property ParDenominator System.Int32

Gets and sets the property ParDenominator. Pixel Aspect Ratio denominator.

Public Property ParNumerator System.Int32

Gets and sets the property ParNumerator. Pixel Aspect Ratio numerator.

Public Property QualityTuningLevel Amazon.MediaConvert.Mpeg2QualityTuningLevel

Gets and sets the property QualityTuningLevel.

Public Property RateControlMode Amazon.MediaConvert.Mpeg2RateControlMode

Gets and sets the property RateControlMode.

Public Property SceneChangeDetect Amazon.MediaConvert.Mpeg2SceneChangeDetect

Gets and sets the property SceneChangeDetect.

Public Property SlowPal Amazon.MediaConvert.Mpeg2SlowPal

Gets and sets the property SlowPal.

Public Property Softness System.Int32

Gets and sets the property Softness. Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.

Public Property SpatialAdaptiveQuantization Amazon.MediaConvert.Mpeg2SpatialAdaptiveQuantization

Gets and sets the property SpatialAdaptiveQuantization.

Public Property Syntax Amazon.MediaConvert.Mpeg2Syntax

Gets and sets the property Syntax.

Public Property Telecine Amazon.MediaConvert.Mpeg2Telecine

Gets and sets the property Telecine.

Public Property TemporalAdaptiveQuantization Amazon.MediaConvert.Mpeg2TemporalAdaptiveQuantization

Gets and sets the property TemporalAdaptiveQuantization.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
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