Interface CfnFlowOutput.IEncodingParametersProperty
A collection of parameters that determine how MediaConnect will convert the content.
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEncodingParametersProperty
Syntax (vb)
Public Interface IEncodingParametersProperty
Remarks
These fields only apply to outputs on flows that have a CDI source.
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.MediaConnect;
var encodingParametersProperty = new EncodingParametersProperty {
CompressionFactor = 123,
// the properties below are optional
EncoderProfile = "encoderProfile"
};
Synopsis
Properties
Compression |
A value that is used to calculate compression for an output. |
Encoder |
A setting on the encoder that drives compression settings. |
Properties
CompressionFactor
A value that is used to calculate compression for an output.
double CompressionFactor { get; }
Property Value
System.
Remarks
The bitrate of the output is calculated as follows:
Output bitrate = (1 / compressionFactor) * (source bitrate)
This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are in the range of 3.0 to 10.0, inclusive.
EncoderProfile
A setting on the encoder that drives compression settings.
virtual string EncoderProfile { get; }
Property Value
System.
Remarks
This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.