Class: Aws::MediaConnect::Types::EncodingParametersRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb

Overview

Note:

When making an API call, you may pass EncodingParametersRequest data as a hash:

{
  compression_factor: 1.0, # required
  encoder_profile: "main", # required, accepts main, high
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compression_factorFloat

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.

Returns:

  • (Float)


1120
1121
1122
1123
1124
1125
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 1120

class EncodingParametersRequest < Struct.new(
  :compression_factor,
  :encoder_profile)
  SENSITIVE = []
  include Aws::Structure
end

#encoder_profileString

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, if at least one source on the flow uses the CDI protocol.

Returns:

  • (String)


1120
1121
1122
1123
1124
1125
# File 'gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/types.rb', line 1120

class EncodingParametersRequest < Struct.new(
  :compression_factor,
  :encoder_profile)
  SENSITIVE = []
  include Aws::Structure
end