# 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.

- Source: Generated code
- Type last changed: v2.143.0 · 24 May 2024

## 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',
};
```

## Properties

- `compressionFactor`: number (required) — 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 floating point numbers in the range of 3.0 to 10.0, inclusive.

- `encoderProfile`: 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.
