Interface CfnChannel.IVideoDescriptionProperty
Encoding information for one output video.
Namespace: Amazon.CDK.AWS.MediaLive
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVideoDescriptionProperty
Syntax (vb)
Public Interface 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 colorSpacePassthroughSettings;
var rec601Settings;
var rec709Settings;
var videoDescriptionProperty = new VideoDescriptionProperty {
CodecSettings = new VideoCodecSettingsProperty {
Av1Settings = new Av1SettingsProperty {
AfdSignaling = "afdSignaling",
BufSize = 123,
ColorSpaceSettings = new Av1ColorSpaceSettingsProperty {
ColorSpacePassthroughSettings = colorSpacePassthroughSettings,
Hdr10Settings = new Hdr10SettingsProperty {
MaxCll = 123,
MaxFall = 123
},
Rec601Settings = rec601Settings,
Rec709Settings = rec709Settings
},
FixedAfd = "fixedAfd",
FramerateDenominator = 123,
FramerateNumerator = 123,
GopSize = 123,
GopSizeUnits = "gopSizeUnits",
Level = "level",
LookAheadRateControl = "lookAheadRateControl",
MaxBitrate = 123,
MinIInterval = 123,
ParDenominator = 123,
ParNumerator = 123,
QvbrQualityLevel = 123,
SceneChangeDetect = "sceneChangeDetect",
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
}
},
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 {
BandwidthReductionFilterSettings = new BandwidthReductionFilterSettingsProperty {
PostFilterSharpening = "postFilterSharpening",
Strength = "strength"
},
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,
MinQp = 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 { }
},
Deblocking = "deblocking",
FilterSettings = new H265FilterSettingsProperty {
BandwidthReductionFilterSettings = new BandwidthReductionFilterSettingsProperty {
PostFilterSharpening = "postFilterSharpening",
Strength = "strength"
},
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,
MinQp = 123,
MvOverPictureBoundaries = "mvOverPictureBoundaries",
MvTemporalPredictor = "mvTemporalPredictor",
ParDenominator = 123,
ParNumerator = 123,
Profile = "profile",
QvbrQualityLevel = 123,
RateControlMode = "rateControlMode",
ScanType = "scanType",
SceneChangeDetect = "sceneChangeDetect",
Slices = 123,
Tier = "tier",
TileHeight = 123,
TilePadding = "tilePadding",
TileWidth = 123,
TimecodeBurninSettings = new TimecodeBurninSettingsProperty {
FontSize = "fontSize",
Position = "position",
Prefix = "prefix"
},
TimecodeInsertion = "timecodeInsertion",
TreeblockSize = "treeblockSize"
},
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
Properties
Codec |
The video codec settings. |
Height | The output video height, in pixels. |
Name | The name of this VideoDescription. |
Respond |
Indicates how to respond to the AFD values in the input stream. |
Scaling |
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. |
Properties
CodecSettings
The video codec settings.
virtual object CodecSettings { get; }
Property Value
System.
Remarks
Height
The output video height, in pixels.
virtual Nullable<double> Height { get; }
Property Value
System.
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.
virtual string Name { get; }
Property Value
System.
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.
virtual string RespondToAfd { get; }
Property Value
System.
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).
virtual string ScalingBehavior { get; }
Property Value
System.
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.
virtual Nullable<double> Sharpness { get; }
Property Value
System.
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.
virtual Nullable<double> Width { get; }
Property Value
System.
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.