interface EncodingParametersProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MediaConnect.CfnFlowOutput.EncodingParametersProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnFlowOutput_EncodingParametersProperty |
![]() | software.amazon.awscdk.services.mediaconnect.CfnFlowOutput.EncodingParametersProperty |
![]() | aws_cdk.aws_mediaconnect.CfnFlowOutput.EncodingParametersProperty |
![]() | aws-cdk-lib » aws_mediaconnect » CfnFlowOutput » EncodingParametersProperty |
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
// 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',
};
Properties
Name | Type | Description |
---|---|---|
compression | number | A value that is used to calculate compression for an output. |
encoder | string | A setting on the encoder that drives compression settings. |
compressionFactor
Type:
number
A value that is used to calculate compression for an output.
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?
Type:
string
(optional)
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.