Class: AWSCDK::MediaConnect::CfnFlow::FmtpProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_flow.rb

Overview

A set of parameters that define the media stream.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_order: nil, colorimetry: nil, exact_framerate: nil, par: nil, range: nil, scan_mode: nil, tcs: nil) ⇒ FmtpProperty

Returns a new instance of FmtpProperty.

Parameters:

  • channel_order (String, nil) (defaults to: nil)

    The format of the audio channel.

  • colorimetry (String, nil) (defaults to: nil)

    The format used for the representation of color.

  • exact_framerate (String, nil) (defaults to: nil)

    The frame rate for the video stream, in frames/second.

  • par (String, nil) (defaults to: nil)

    The pixel aspect ratio (PAR) of the video.

  • range (String, nil) (defaults to: nil)

    The encoding range of the video.

  • scan_mode (String, nil) (defaults to: nil)

    The type of compression that was used to smooth the video’s appearance.

  • tcs (String, nil) (defaults to: nil)

    The transfer characteristic system (TCS) that is used in the video.



1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'media_connect/cfn_flow.rb', line 1128

def initialize(channel_order: nil, colorimetry: nil, exact_framerate: nil, par: nil, range: nil, scan_mode: nil, tcs: nil)
  @channel_order = channel_order
  Jsii::Type.check_type(@channel_order, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelOrder") unless @channel_order.nil?
  @colorimetry = colorimetry
  Jsii::Type.check_type(@colorimetry, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "colorimetry") unless @colorimetry.nil?
  @exact_framerate = exact_framerate
  Jsii::Type.check_type(@exact_framerate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exactFramerate") unless @exact_framerate.nil?
  @par = par
  Jsii::Type.check_type(@par, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "par") unless @par.nil?
  @range = range
  Jsii::Type.check_type(@range, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "range") unless @range.nil?
  @scan_mode = scan_mode
  Jsii::Type.check_type(@scan_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scanMode") unless @scan_mode.nil?
  @tcs = tcs
  Jsii::Type.check_type(@tcs, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tcs") unless @tcs.nil?
end

Instance Attribute Details

#channel_orderString? (readonly)

The format of the audio channel.



1149
1150
1151
# File 'media_connect/cfn_flow.rb', line 1149

def channel_order
  @channel_order
end

#colorimetryString? (readonly)

The format used for the representation of color.



1154
1155
1156
# File 'media_connect/cfn_flow.rb', line 1154

def colorimetry
  @colorimetry
end

#exact_framerateString? (readonly)

The frame rate for the video stream, in frames/second.

For example: 60000/1001.



1161
1162
1163
# File 'media_connect/cfn_flow.rb', line 1161

def exact_framerate
  @exact_framerate
end

#parString? (readonly)

The pixel aspect ratio (PAR) of the video.



1166
1167
1168
# File 'media_connect/cfn_flow.rb', line 1166

def par
  @par
end

#rangeString? (readonly)

The encoding range of the video.



1171
1172
1173
# File 'media_connect/cfn_flow.rb', line 1171

def range
  @range
end

#scan_modeString? (readonly)

The type of compression that was used to smooth the video’s appearance.



1176
1177
1178
# File 'media_connect/cfn_flow.rb', line 1176

def scan_mode
  @scan_mode
end

#tcsString? (readonly)

The transfer characteristic system (TCS) that is used in the video.



1181
1182
1183
# File 'media_connect/cfn_flow.rb', line 1181

def tcs
  @tcs
end

Class Method Details

.jsii_propertiesObject



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'media_connect/cfn_flow.rb', line 1183

def self.jsii_properties
  {
    :channel_order => "channelOrder",
    :colorimetry => "colorimetry",
    :exact_framerate => "exactFramerate",
    :par => "par",
    :range => "range",
    :scan_mode => "scanMode",
    :tcs => "tcs",
  }
end

Instance Method Details

#to_jsiiObject



1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
# File 'media_connect/cfn_flow.rb', line 1195

def to_jsii
  result = {}
  result.merge!({
    "channelOrder" => @channel_order,
    "colorimetry" => @colorimetry,
    "exactFramerate" => @exact_framerate,
    "par" => @par,
    "range" => @range,
    "scanMode" => @scan_mode,
    "tcs" => @tcs,
  })
  result.compact
end