Skip to content
v2.278.0

EncodingParametersProperty Struct ​

A collection of parameters that determine how MediaConnect will convert the content.

These fields only apply to outputs on flows that have a CDI source.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const encodingParametersProperty: mediaconnect.CfnFlowOutput.EncodingParametersProperty = {
  compressionFactor: 123,

  // the properties below are optional
  encoderProfile: 'encoderProfile',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

encoding_parameters_property = mediaconnect.CfnFlowOutput.EncodingParametersProperty(
    compression_factor=123,

    # the properties below are optional
    encoder_profile="encoderProfile"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;

EncodingParametersProperty encodingParametersProperty = EncodingParametersProperty.builder()
        .compressionFactor(123)

        // the properties below are optional
        .encoderProfile("encoderProfile")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

encodingParametersProperty := &EncodingParametersProperty{
	CompressionFactor: jsii.Number(123),

	// the properties below are optional
	EncoderProfile: jsii.String("encoderProfile"),
}

Properties ​

compressionFactornumbercompression_factorint | floatcompressionFactorNumberCompressionFactordoubleCompressionFactor*float64 required #
A value that is used to calculate compression for an output.
notes

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 floating point numbers in the range of 3.0 to 10.0, inclusive.

encoderProfileoptionalstringencoder_profileoptionalstrencoderProfileoptionalStringEncoderProfileoptionalstringEncoderProfileoptional*string #
A setting on the encoder that drives compression settings.

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.