Class CfnChannel.VideoDescriptionProperty
Encoding information for one output video.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.AWS.MediaLive.dll
Syntax (csharp)
public class VideoDescriptionProperty : Object, CfnChannel.IVideoDescriptionProperty
Syntax (vb)
Public Class VideoDescriptionProperty
Inherits Object
Implements CfnChannel.IVideoDescriptionProperty
Remarks
The parent of this entity is EncoderSettings.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var videoDescriptionProperty = new VideoDescriptionProperty {
CodecSettings = new VideoCodecSettingsProperty {
FrameCaptureSettings = new FrameCaptureSettingsProperty {
CaptureInterval = 123,
CaptureIntervalUnits = "captureIntervalUnits",
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
}
},
H264Settings = new H264SettingsProperty {
AdaptiveQuantization = "adaptiveQuantization",
AfdSignaling = "afdSignaling",
Bitrate = 123,
BufFillPct = 123,
BufSize = 123,
ColorMetadata = "colorMetadata",
ColorSpaceSettings = new H264ColorSpaceSettingsProperty {
ColorSpacePassthroughSettings = new ColorSpacePassthroughSettingsProperty { },
Rec601Settings = new Rec601SettingsProperty { },
Rec709Settings = new Rec709SettingsProperty { }
},
EntropyEncoding = "entropyEncoding",
FilterSettings = new H264FilterSettingsProperty {
TemporalFilterSettings = new TemporalFilterSettingsProperty {
PostFilterSharpening = "postFilterSharpening",
Strength = "strength"
}
},
FixedAfd = "fixedAfd",
FlickerAq = "flickerAq",
ForceFieldPictures = "forceFieldPictures",
FramerateControl = "framerateControl",
FramerateDenominator = 123,
FramerateNumerator = 123,
GopBReference = "gopBReference",
GopClosedCadence = 123,
GopNumBFrames = 123,
GopSize = 123,
GopSizeUnits = "gopSizeUnits",
Level = "level",
LookAheadRateControl = "lookAheadRateControl",
MaxBitrate = 123,
MinIInterval = 123,
NumRefFrames = 123,
ParControl = "parControl",
ParDenominator = 123,
ParNumerator = 123,
Profile = "profile",
QualityLevel = "qualityLevel",
QvbrQualityLevel = 123,
RateControlMode = "rateControlMode",
ScanType = "scanType",
SceneChangeDetect = "sceneChangeDetect",
Slices = 123,
Softness = 123,
SpatialAq = "spatialAq",
SubgopLength = "subgopLength",
Syntax = "syntax",
TemporalAq = "temporalAq",
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
},
TimecodeInsertion = "timecodeInsertion"
},
H265Settings = new H265SettingsProperty {
AdaptiveQuantization = "adaptiveQuantization",
AfdSignaling = "afdSignaling",
AlternativeTransferFunction = "alternativeTransferFunction",
Bitrate = 123,
BufSize = 123,
ColorMetadata = "colorMetadata",
ColorSpaceSettings = new H265ColorSpaceSettingsProperty {
ColorSpacePassthroughSettings = new ColorSpacePassthroughSettingsProperty { },
DolbyVision81Settings = new DolbyVision81SettingsProperty { },
Hdr10Settings = new Hdr10SettingsProperty {
MaxCll = 123,
MaxFall = 123
},
Rec601Settings = new Rec601SettingsProperty { },
Rec709Settings = new Rec709SettingsProperty { }
},
FilterSettings = new H265FilterSettingsProperty {
TemporalFilterSettings = new TemporalFilterSettingsProperty {
PostFilterSharpening = "postFilterSharpening",
Strength = "strength"
}
},
FixedAfd = "fixedAfd",
FlickerAq = "flickerAq",
FramerateDenominator = 123,
FramerateNumerator = 123,
GopClosedCadence = 123,
GopSize = 123,
GopSizeUnits = "gopSizeUnits",
Level = "level",
LookAheadRateControl = "lookAheadRateControl",
MaxBitrate = 123,
MinIInterval = 123,
ParDenominator = 123,
ParNumerator = 123,
Profile = "profile",
QvbrQualityLevel = 123,
RateControlMode = "rateControlMode",
ScanType = "scanType",
SceneChangeDetect = "sceneChangeDetect",
Slices = 123,
Tier = "tier",
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
},
TimecodeInsertion = "timecodeInsertion"
},
Mpeg2Settings = new Mpeg2SettingsProperty {
AdaptiveQuantization = "adaptiveQuantization",
AfdSignaling = "afdSignaling",
ColorMetadata = "colorMetadata",
ColorSpace = "colorSpace",
DisplayAspectRatio = "displayAspectRatio",
FilterSettings = new Mpeg2FilterSettingsProperty {
TemporalFilterSettings = new TemporalFilterSettingsProperty {
PostFilterSharpening = "postFilterSharpening",
Strength = "strength"
}
},
FixedAfd = "fixedAfd",
FramerateDenominator = 123,
FramerateNumerator = 123,
GopClosedCadence = 123,
GopNumBFrames = 123,
GopSize = 123,
GopSizeUnits = "gopSizeUnits",
ScanType = "scanType",
SubgopLength = "subgopLength",
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
},
TimecodeInsertion = "timecodeInsertion"
}
},
Height = 123,
Name = "name",
RespondToAfd = "respondToAfd",
ScalingBehavior = "scalingBehavior",
Sharpness = 123,
Width = 123
};
Synopsis
Constructors
VideoDescriptionProperty() |
Properties
CodecSettings | The video codec settings. |
Height | The output video height, in pixels. |
Name | The name of this VideoDescription. |
RespondToAfd | Indicates how to respond to the AFD values in the input stream. |
ScalingBehavior | STRETCHTOOUTPUT configures the output position to stretch the video to the specified output resolution (height and width). |
Sharpness | Changes the strength of the anti-alias filter used for scaling. |
Width | The output video width, in pixels. |
Constructors
VideoDescriptionProperty()
public VideoDescriptionProperty()
Properties
CodecSettings
The video codec settings.
public object CodecSettings { get; set; }
Property Value
System.Object
Remarks
Height
The output video height, in pixels.
public Nullable<double> Height { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This must be an even number. For most codecs, you can keep this field and width blank in order to use the height and width (resolution) from the source. Note that we don't recommend keeping the field blank. For the Frame Capture codec, height and width are required.
Name
The name of this VideoDescription.
public string Name { get; set; }
Property Value
System.String
Remarks
Outputs use this name to uniquely identify this description. Description names should be unique within this channel.
RespondToAfd
Indicates how to respond to the AFD values in the input stream.
public string RespondToAfd { get; set; }
Property Value
System.String
Remarks
RESPOND causes input video to be clipped, depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for the FRAMECAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAMECAPTURE codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE ignores the AFD values and does not include the values through to the output, so input video is not clipped.
ScalingBehavior
STRETCHTOOUTPUT configures the output position to stretch the video to the specified output resolution (height and width).
public string ScalingBehavior { get; set; }
Property Value
System.String
Remarks
This option overrides any position value. DEFAULT might insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.
Sharpness
Changes the strength of the anti-alias filter used for scaling.
public Nullable<double> Sharpness { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
0 is the softest setting, and 100 is the sharpest. We recommend a setting of 50 for most content.
Width
The output video width, in pixels.
public Nullable<double> Width { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
It must be an even number. For most codecs, you can keep this field and height blank in order to use the height and width (resolution) from the source. Note that we don't recommend keeping the field blank. For the Frame Capture codec, height and width are required.