libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConnect.Types.EncodingParameters

Description

 
Synopsis

Documentation

data EncodingParameters Source #

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.

See: newEncodingParameters smart constructor.

Constructors

EncodingParameters' 

Fields

  • encoderProfile :: EncoderProfile

    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.

  • compressionFactor :: Double

    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.

Instances

Instances details
Eq EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

Read EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

Show EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

Generic EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

Associated Types

type Rep EncodingParameters :: Type -> Type #

NFData EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

Methods

rnf :: EncodingParameters -> () #

Hashable EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

FromJSON EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

type Rep EncodingParameters Source # 
Instance details

Defined in Amazonka.MediaConnect.Types.EncodingParameters

type Rep EncodingParameters = D1 ('MetaData "EncodingParameters" "Amazonka.MediaConnect.Types.EncodingParameters" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "EncodingParameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encoderProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncoderProfile) :*: S1 ('MetaSel ('Just "compressionFactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newEncodingParameters Source #

Create a value of EncodingParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:encoderProfile:EncodingParameters', encodingParameters_encoderProfile - 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.

$sel:compressionFactor:EncodingParameters', encodingParameters_compressionFactor - 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.

encodingParameters_encoderProfile :: Lens' EncodingParameters EncoderProfile Source #

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.

encodingParameters_compressionFactor :: Lens' EncodingParameters Double Source #

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.