Class: AWSCDK::MediaConnect::CfnFlow::FmtpProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::FmtpProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
A set of parameters that define the media stream.
Instance Attribute Summary collapse
-
#channel_order ⇒ String?
readonly
The format of the audio channel.
-
#colorimetry ⇒ String?
readonly
The format used for the representation of color.
-
#exact_framerate ⇒ String?
readonly
The frame rate for the video stream, in frames/second.
-
#par ⇒ String?
readonly
The pixel aspect ratio (PAR) of the video.
-
#range ⇒ String?
readonly
The encoding range of the video.
-
#scan_mode ⇒ String?
readonly
The type of compression that was used to smooth the video’s appearance.
-
#tcs ⇒ String?
readonly
The transfer characteristic system (TCS) that is used in the video.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel_order: nil, colorimetry: nil, exact_framerate: nil, par: nil, range: nil, scan_mode: nil, tcs: nil) ⇒ FmtpProperty
constructor
A new instance of FmtpProperty.
- #to_jsii ⇒ Object
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.
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_order ⇒ String? (readonly)
The format of the audio channel.
1149 1150 1151 |
# File 'media_connect/cfn_flow.rb', line 1149 def channel_order @channel_order end |
#colorimetry ⇒ String? (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_framerate ⇒ String? (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 |
#par ⇒ String? (readonly)
The pixel aspect ratio (PAR) of the video.
1166 1167 1168 |
# File 'media_connect/cfn_flow.rb', line 1166 def par @par end |
#range ⇒ String? (readonly)
The encoding range of the video.
1171 1172 1173 |
# File 'media_connect/cfn_flow.rb', line 1171 def range @range end |
#scan_mode ⇒ String? (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 |
#tcs ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |