Class: AWSCDK::MediaLive::CfnChannel::TemporalFilterSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::TemporalFilterSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Settings for the temporal filter to apply to the video.
The parents of this entity are H264FilterSettings, H265FilterSettings, and Mpeg2FilterSettings.
Instance Attribute Summary collapse
-
#post_filter_sharpening ⇒ String?
readonly
If you enable this filter, the results are the following: - If the source content is noisy (it contains excessive digital artifacts), the filter cleans up the source.
-
#strength ⇒ String?
readonly
Choose a filter strength.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(post_filter_sharpening: nil, strength: nil) ⇒ TemporalFilterSettingsProperty
constructor
A new instance of TemporalFilterSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(post_filter_sharpening: nil, strength: nil) ⇒ TemporalFilterSettingsProperty
Returns a new instance of TemporalFilterSettingsProperty.
13451 13452 13453 13454 13455 13456 |
# File 'media_live/cfn_channel.rb', line 13451 def initialize(post_filter_sharpening: nil, strength: nil) @post_filter_sharpening = post_filter_sharpening Jsii::Type.check_type(@post_filter_sharpening, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "postFilterSharpening") unless @post_filter_sharpening.nil? @strength = strength Jsii::Type.check_type(@strength, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "strength") unless @strength.nil? end |
Instance Attribute Details
#post_filter_sharpening ⇒ String? (readonly)
If you enable this filter, the results are the following: - If the source content is noisy (it contains excessive digital artifacts), the filter cleans up the source.
- If the source content is already clean, the filter tends to decrease the bitrate, especially when the rate control mode is QVBR.
13464 13465 13466 |
# File 'media_live/cfn_channel.rb', line 13464 def post_filter_sharpening @post_filter_sharpening end |
#strength ⇒ String? (readonly)
Choose a filter strength.
We recommend a strength of 1 or 2. A higher strength might take out good information, resulting in an image that is overly soft.
13471 13472 13473 |
# File 'media_live/cfn_channel.rb', line 13471 def strength @strength end |
Class Method Details
.jsii_properties ⇒ Object
13473 13474 13475 13476 13477 13478 |
# File 'media_live/cfn_channel.rb', line 13473 def self.jsii_properties { :post_filter_sharpening => "postFilterSharpening", :strength => "strength", } end |
Instance Method Details
#to_jsii ⇒ Object
13480 13481 13482 13483 13484 13485 13486 13487 |
# File 'media_live/cfn_channel.rb', line 13480 def to_jsii result = {} result.merge!({ "postFilterSharpening" => @post_filter_sharpening, "strength" => @strength, }) result.compact end |