Class: AWSCDK::MediaLive::CfnChannel::H265SettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

H265 Settings.

The parent of this entity is VideoCodecSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adaptive_quantization: nil, afd_signaling: nil, alternative_transfer_function: nil, bitrate: nil, buf_size: nil, color_metadata: nil, color_space_settings: nil, deblocking: nil, filter_settings: nil, fixed_afd: nil, flicker_aq: nil, framerate_denominator: nil, framerate_numerator: nil, gop_b_reference: nil, gop_closed_cadence: nil, gop_num_b_frames: nil, gop_size: nil, gop_size_units: nil, level: nil, look_ahead_rate_control: nil, max_bitrate: nil, min_bitrate: nil, min_i_interval: nil, min_qp: nil, mv_over_picture_boundaries: nil, mv_temporal_predictor: nil, par_denominator: nil, par_numerator: nil, profile: nil, qvbr_quality_level: nil, rate_control_mode: nil, scan_type: nil, scene_change_detect: nil, slices: nil, subgop_length: nil, tier: nil, tile_height: nil, tile_padding: nil, tile_width: nil, timecode_burnin_settings: nil, timecode_insertion: nil, treeblock_size: nil) ⇒ H265SettingsProperty

Returns a new instance of H265SettingsProperty.

Parameters:

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

    Adaptive quantization.

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

    Indicates that AFD values will be written into the output stream.

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

    Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.

  • bitrate (Numeric, nil) (defaults to: nil)

    Average bitrate in bits/second.

  • buf_size (Numeric, nil) (defaults to: nil)

    Size of buffer (HRD buffer model) in bits.

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

    Includes colorspace metadata in the output.

  • color_space_settings (AWSCDK::IResolvable, AWSCDK::MediaLive::CfnChannel::H265ColorSpaceSettingsProperty, nil) (defaults to: nil)

    Color Space settings.

  • deblocking (String, nil) (defaults to: nil)
  • filter_settings (AWSCDK::IResolvable, AWSCDK::MediaLive::CfnChannel::H265FilterSettingsProperty, nil) (defaults to: nil)

    Optional filters that you can apply to an encode.

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

    Four bit AFD value to write on all frames of video in the output stream.

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

    If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.

  • framerate_denominator (Numeric, nil) (defaults to: nil)

    Framerate denominator.

  • framerate_numerator (Numeric, nil) (defaults to: nil)

    Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.

  • gop_b_reference (String, nil) (defaults to: nil)
  • gop_closed_cadence (Numeric, nil) (defaults to: nil)

    Frequency of closed GOPs.

  • gop_num_b_frames (Numeric, nil) (defaults to: nil)
  • gop_size (Numeric, nil) (defaults to: nil)

    GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.

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

    Indicates if the gopSize is specified in frames or seconds.

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

    H.265 Level.

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

    Amount of lookahead.

  • max_bitrate (Numeric, nil) (defaults to: nil)

    For QVBR: See the tooltip for Quality level.

  • min_bitrate (Numeric, nil) (defaults to: nil)
  • min_i_interval (Numeric, nil) (defaults to: nil)

    Only meaningful if sceneChangeDetect is set to enabled.

  • min_qp (Numeric, nil) (defaults to: nil)
  • mv_over_picture_boundaries (String, nil) (defaults to: nil)
  • mv_temporal_predictor (String, nil) (defaults to: nil)
  • par_denominator (Numeric, nil) (defaults to: nil)

    Pixel Aspect Ratio denominator.

  • par_numerator (Numeric, nil) (defaults to: nil)

    Pixel Aspect Ratio numerator.

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

    H.265 Profile.

  • qvbr_quality_level (Numeric, nil) (defaults to: nil)

    Controls the target quality for the video encode.

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

    Rate control mode.

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

    Sets the scan type of the output to progressive or top-field-first interlaced.

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

    Scene change detection.

  • slices (Numeric, nil) (defaults to: nil)

    Number of slices per picture.

  • subgop_length (String, nil) (defaults to: nil)
  • tier (String, nil) (defaults to: nil)

    H.265 Tier.

  • tile_height (Numeric, nil) (defaults to: nil)
  • tile_padding (String, nil) (defaults to: nil)
  • tile_width (Numeric, nil) (defaults to: nil)
  • timecode_burnin_settings (AWSCDK::IResolvable, AWSCDK::MediaLive::CfnChannel::TimecodeBurninSettingsProperty, nil) (defaults to: nil)
  • timecode_insertion (String, nil) (defaults to: nil)

    Determines how timecodes should be inserted into the video elementary stream.

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


6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
# File 'media_live/cfn_channel.rb', line 6890

def initialize(adaptive_quantization: nil, afd_signaling: nil, alternative_transfer_function: nil, bitrate: nil, buf_size: nil, color_metadata: nil, color_space_settings: nil, deblocking: nil, filter_settings: nil, fixed_afd: nil, flicker_aq: nil, framerate_denominator: nil, framerate_numerator: nil, gop_b_reference: nil, gop_closed_cadence: nil, gop_num_b_frames: nil, gop_size: nil, gop_size_units: nil, level: nil, look_ahead_rate_control: nil, max_bitrate: nil, min_bitrate: nil, min_i_interval: nil, min_qp: nil, mv_over_picture_boundaries: nil, mv_temporal_predictor: nil, par_denominator: nil, par_numerator: nil, profile: nil, qvbr_quality_level: nil, rate_control_mode: nil, scan_type: nil, scene_change_detect: nil, slices: nil, subgop_length: nil, tier: nil, tile_height: nil, tile_padding: nil, tile_width: nil, timecode_burnin_settings: nil, timecode_insertion: nil, treeblock_size: nil)
  @adaptive_quantization = adaptive_quantization
  Jsii::Type.check_type(@adaptive_quantization, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "adaptiveQuantization") unless @adaptive_quantization.nil?
  @afd_signaling = afd_signaling
  Jsii::Type.check_type(@afd_signaling, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "afdSignaling") unless @afd_signaling.nil?
  @alternative_transfer_function = alternative_transfer_function
  Jsii::Type.check_type(@alternative_transfer_function, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alternativeTransferFunction") unless @alternative_transfer_function.nil?
  @bitrate = bitrate
  Jsii::Type.check_type(@bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bitrate") unless @bitrate.nil?
  @buf_size = buf_size
  Jsii::Type.check_type(@buf_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bufSize") unless @buf_size.nil?
  @color_metadata = 
  Jsii::Type.check_type(@color_metadata, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "colorMetadata") unless @color_metadata.nil?
  @color_space_settings = color_space_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::H265ColorSpaceSettingsProperty.new(**color_space_settings.transform_keys(&:to_sym)) : color_space_settings
  Jsii::Type.check_type(@color_space_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5IMjY1Q29sb3JTcGFjZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "colorSpaceSettings") unless @color_space_settings.nil?
  @deblocking = deblocking
  Jsii::Type.check_type(@deblocking, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deblocking") unless @deblocking.nil?
  @filter_settings = filter_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::H265FilterSettingsProperty.new(**filter_settings.transform_keys(&:to_sym)) : filter_settings
  Jsii::Type.check_type(@filter_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5IMjY1RmlsdGVyU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "filterSettings") unless @filter_settings.nil?
  @fixed_afd = fixed_afd
  Jsii::Type.check_type(@fixed_afd, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fixedAfd") unless @fixed_afd.nil?
  @flicker_aq = flicker_aq
  Jsii::Type.check_type(@flicker_aq, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flickerAq") unless @flicker_aq.nil?
  @framerate_denominator = framerate_denominator
  Jsii::Type.check_type(@framerate_denominator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "framerateDenominator") unless @framerate_denominator.nil?
  @framerate_numerator = framerate_numerator
  Jsii::Type.check_type(@framerate_numerator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "framerateNumerator") unless @framerate_numerator.nil?
  @gop_b_reference = gop_b_reference
  Jsii::Type.check_type(@gop_b_reference, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gopBReference") unless @gop_b_reference.nil?
  @gop_closed_cadence = gop_closed_cadence
  Jsii::Type.check_type(@gop_closed_cadence, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gopClosedCadence") unless @gop_closed_cadence.nil?
  @gop_num_b_frames = gop_num_b_frames
  Jsii::Type.check_type(@gop_num_b_frames, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gopNumBFrames") unless @gop_num_b_frames.nil?
  @gop_size = gop_size
  Jsii::Type.check_type(@gop_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gopSize") unless @gop_size.nil?
  @gop_size_units = gop_size_units
  Jsii::Type.check_type(@gop_size_units, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gopSizeUnits") unless @gop_size_units.nil?
  @level = level
  Jsii::Type.check_type(@level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "level") unless @level.nil?
  @look_ahead_rate_control = look_ahead_rate_control
  Jsii::Type.check_type(@look_ahead_rate_control, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lookAheadRateControl") unless @look_ahead_rate_control.nil?
  @max_bitrate = max_bitrate
  Jsii::Type.check_type(@max_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxBitrate") unless @max_bitrate.nil?
  @min_bitrate = min_bitrate
  Jsii::Type.check_type(@min_bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minBitrate") unless @min_bitrate.nil?
  @min_i_interval = min_i_interval
  Jsii::Type.check_type(@min_i_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minIInterval") unless @min_i_interval.nil?
  @min_qp = min_qp
  Jsii::Type.check_type(@min_qp, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minQp") unless @min_qp.nil?
  @mv_over_picture_boundaries = mv_over_picture_boundaries
  Jsii::Type.check_type(@mv_over_picture_boundaries, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mvOverPictureBoundaries") unless @mv_over_picture_boundaries.nil?
  @mv_temporal_predictor = mv_temporal_predictor
  Jsii::Type.check_type(@mv_temporal_predictor, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mvTemporalPredictor") unless @mv_temporal_predictor.nil?
  @par_denominator = par_denominator
  Jsii::Type.check_type(@par_denominator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "parDenominator") unless @par_denominator.nil?
  @par_numerator = par_numerator
  Jsii::Type.check_type(@par_numerator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "parNumerator") unless @par_numerator.nil?
  @profile = profile
  Jsii::Type.check_type(@profile, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "profile") unless @profile.nil?
  @qvbr_quality_level = qvbr_quality_level
  Jsii::Type.check_type(@qvbr_quality_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "qvbrQualityLevel") unless @qvbr_quality_level.nil?
  @rate_control_mode = rate_control_mode
  Jsii::Type.check_type(@rate_control_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rateControlMode") unless @rate_control_mode.nil?
  @scan_type = scan_type
  Jsii::Type.check_type(@scan_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scanType") unless @scan_type.nil?
  @scene_change_detect = scene_change_detect
  Jsii::Type.check_type(@scene_change_detect, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sceneChangeDetect") unless @scene_change_detect.nil?
  @slices = slices
  Jsii::Type.check_type(@slices, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "slices") unless @slices.nil?
  @subgop_length = subgop_length
  Jsii::Type.check_type(@subgop_length, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "subgopLength") unless @subgop_length.nil?
  @tier = tier
  Jsii::Type.check_type(@tier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tier") unless @tier.nil?
  @tile_height = tile_height
  Jsii::Type.check_type(@tile_height, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "tileHeight") unless @tile_height.nil?
  @tile_padding = tile_padding
  Jsii::Type.check_type(@tile_padding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tilePadding") unless @tile_padding.nil?
  @tile_width = tile_width
  Jsii::Type.check_type(@tile_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "tileWidth") unless @tile_width.nil?
  @timecode_burnin_settings = timecode_burnin_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::TimecodeBurninSettingsProperty.new(**timecode_burnin_settings.transform_keys(&:to_sym)) : timecode_burnin_settings
  Jsii::Type.check_type(@timecode_burnin_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5UaW1lY29kZUJ1cm5pblNldHRpbmdzUHJvcGVydHkifV19fQ==")), "timecodeBurninSettings") unless @timecode_burnin_settings.nil?
  @timecode_insertion = timecode_insertion
  Jsii::Type.check_type(@timecode_insertion, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timecodeInsertion") unless @timecode_insertion.nil?
  @treeblock_size = treeblock_size
  Jsii::Type.check_type(@treeblock_size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "treeblockSize") unless @treeblock_size.nil?
end

Instance Attribute Details

#adaptive_quantizationString? (readonly)

Adaptive quantization.

Allows intra-frame quantizers to vary to improve visual quality.



6983
6984
6985
# File 'media_live/cfn_channel.rb', line 6983

def adaptive_quantization
  @adaptive_quantization
end

#afd_signalingString? (readonly)

Indicates that AFD values will be written into the output stream.

If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.



6990
6991
6992
# File 'media_live/cfn_channel.rb', line 6990

def afd_signaling
  @afd_signaling
end

#alternative_transfer_functionString? (readonly)

Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.



6995
6996
6997
# File 'media_live/cfn_channel.rb', line 6995

def alternative_transfer_function
  @alternative_transfer_function
end

#bitrateNumeric? (readonly)

Average bitrate in bits/second.

Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.



7002
7003
7004
# File 'media_live/cfn_channel.rb', line 7002

def bitrate
  @bitrate
end

#buf_sizeNumeric? (readonly)

Size of buffer (HRD buffer model) in bits.



7007
7008
7009
# File 'media_live/cfn_channel.rb', line 7007

def buf_size
  @buf_size
end

#color_metadataString? (readonly)

Includes colorspace metadata in the output.



7012
7013
7014
# File 'media_live/cfn_channel.rb', line 7012

def 
  @color_metadata
end

#color_space_settingsAWSCDK::IResolvable, ... (readonly)

Color Space settings.



7017
7018
7019
# File 'media_live/cfn_channel.rb', line 7017

def color_space_settings
  @color_space_settings
end

#deblockingString? (readonly)



7020
7021
7022
# File 'media_live/cfn_channel.rb', line 7020

def deblocking
  @deblocking
end

#filter_settingsAWSCDK::IResolvable, ... (readonly)

Optional filters that you can apply to an encode.



7025
7026
7027
# File 'media_live/cfn_channel.rb', line 7025

def filter_settings
  @filter_settings
end

#fixed_afdString? (readonly)

Four bit AFD value to write on all frames of video in the output stream.

Only valid when afdSignaling is set to 'Fixed'.



7032
7033
7034
# File 'media_live/cfn_channel.rb', line 7032

def fixed_afd
  @fixed_afd
end

#flicker_aqString? (readonly)

If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.



7037
7038
7039
# File 'media_live/cfn_channel.rb', line 7037

def flicker_aq
  @flicker_aq
end

#framerate_denominatorNumeric? (readonly)

Framerate denominator.



7042
7043
7044
# File 'media_live/cfn_channel.rb', line 7042

def framerate_denominator
  @framerate_denominator
end

#framerate_numeratorNumeric? (readonly)

Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.



7047
7048
7049
# File 'media_live/cfn_channel.rb', line 7047

def framerate_numerator
  @framerate_numerator
end

#gop_b_referenceString? (readonly)



7050
7051
7052
# File 'media_live/cfn_channel.rb', line 7050

def gop_b_reference
  @gop_b_reference
end

#gop_closed_cadenceNumeric? (readonly)

Frequency of closed GOPs.

In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.



7057
7058
7059
# File 'media_live/cfn_channel.rb', line 7057

def gop_closed_cadence
  @gop_closed_cadence
end

#gop_num_b_framesNumeric? (readonly)



7060
7061
7062
# File 'media_live/cfn_channel.rb', line 7060

def gop_num_b_frames
  @gop_num_b_frames
end

#gop_sizeNumeric? (readonly)

GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.

If gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.



7068
7069
7070
# File 'media_live/cfn_channel.rb', line 7068

def gop_size
  @gop_size
end

#gop_size_unitsString? (readonly)

Indicates if the gopSize is specified in frames or seconds.

If seconds the system will convert the gopSize into a frame count at run time.



7075
7076
7077
# File 'media_live/cfn_channel.rb', line 7075

def gop_size_units
  @gop_size_units
end

#levelString? (readonly)

H.265 Level.



7080
7081
7082
# File 'media_live/cfn_channel.rb', line 7080

def level
  @level
end

#look_ahead_rate_controlString? (readonly)

Amount of lookahead.

A value of low can decrease latency and memory usage, while high can produce better quality for certain content.



7087
7088
7089
# File 'media_live/cfn_channel.rb', line 7087

def look_ahead_rate_control
  @look_ahead_rate_control
end

#max_bitrateNumeric? (readonly)

For QVBR: See the tooltip for Quality level.



7092
7093
7094
# File 'media_live/cfn_channel.rb', line 7092

def max_bitrate
  @max_bitrate
end

#min_bitrateNumeric? (readonly)



7095
7096
7097
# File 'media_live/cfn_channel.rb', line 7095

def min_bitrate
  @min_bitrate
end

#min_i_intervalNumeric? (readonly)

Only meaningful if sceneChangeDetect is set to enabled.

Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1



7102
7103
7104
# File 'media_live/cfn_channel.rb', line 7102

def min_i_interval
  @min_i_interval
end

#min_qpNumeric? (readonly)



7105
7106
7107
# File 'media_live/cfn_channel.rb', line 7105

def min_qp
  @min_qp
end

#mv_over_picture_boundariesString? (readonly)



7108
7109
7110
# File 'media_live/cfn_channel.rb', line 7108

def mv_over_picture_boundaries
  @mv_over_picture_boundaries
end

#mv_temporal_predictorString? (readonly)



7111
7112
7113
# File 'media_live/cfn_channel.rb', line 7111

def mv_temporal_predictor
  @mv_temporal_predictor
end

#par_denominatorNumeric? (readonly)

Pixel Aspect Ratio denominator.



7116
7117
7118
# File 'media_live/cfn_channel.rb', line 7116

def par_denominator
  @par_denominator
end

#par_numeratorNumeric? (readonly)

Pixel Aspect Ratio numerator.



7121
7122
7123
# File 'media_live/cfn_channel.rb', line 7121

def par_numerator
  @par_numerator
end

#profileString? (readonly)

H.265 Profile.



7126
7127
7128
# File 'media_live/cfn_channel.rb', line 7126

def profile
  @profile
end

#qvbr_quality_levelNumeric? (readonly)

Controls the target quality for the video encode.

Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:

  • Primary screen: Quality level: 8 to 10. Max bitrate: 4M
  • PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M
  • Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M


7137
7138
7139
# File 'media_live/cfn_channel.rb', line 7137

def qvbr_quality_level
  @qvbr_quality_level
end

#rate_control_modeString? (readonly)

Rate control mode.

QVBR: Quality will match the specified quality level except when it is constrained by the maximum bitrate. Recommended if you or your viewers pay for bandwidth. CBR: Quality varies, depending on the video complexity. Recommended only if you distribute your assets to devices that cannot handle variable bitrates. Multiplex: This rate control mode is only supported (and is required) when the video is being delivered to a MediaLive Multiplex in which case the rate control configuration is controlled by the properties within the Multiplex Program.



7148
7149
7150
# File 'media_live/cfn_channel.rb', line 7148

def rate_control_mode
  @rate_control_mode
end

#scan_typeString? (readonly)

Sets the scan type of the output to progressive or top-field-first interlaced.



7153
7154
7155
# File 'media_live/cfn_channel.rb', line 7153

def scan_type
  @scan_type
end

#scene_change_detectString? (readonly)

Scene change detection.



7158
7159
7160
# File 'media_live/cfn_channel.rb', line 7158

def scene_change_detect
  @scene_change_detect
end

#slicesNumeric? (readonly)

Number of slices per picture.

Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.



7166
7167
7168
# File 'media_live/cfn_channel.rb', line 7166

def slices
  @slices
end

#subgop_lengthString? (readonly)



7169
7170
7171
# File 'media_live/cfn_channel.rb', line 7169

def subgop_length
  @subgop_length
end

#tierString? (readonly)

H.265 Tier.



7174
7175
7176
# File 'media_live/cfn_channel.rb', line 7174

def tier
  @tier
end

#tile_heightNumeric? (readonly)



7177
7178
7179
# File 'media_live/cfn_channel.rb', line 7177

def tile_height
  @tile_height
end

#tile_paddingString? (readonly)



7180
7181
7182
# File 'media_live/cfn_channel.rb', line 7180

def tile_padding
  @tile_padding
end

#tile_widthNumeric? (readonly)



7183
7184
7185
# File 'media_live/cfn_channel.rb', line 7183

def tile_width
  @tile_width
end

#timecode_burnin_settingsAWSCDK::IResolvable, ... (readonly)



7186
7187
7188
# File 'media_live/cfn_channel.rb', line 7186

def timecode_burnin_settings
  @timecode_burnin_settings
end

#timecode_insertionString? (readonly)

Determines how timecodes should be inserted into the video elementary stream.

  • 'disabled': Do not include timecodes
  • 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config


7194
7195
7196
# File 'media_live/cfn_channel.rb', line 7194

def timecode_insertion
  @timecode_insertion
end

#treeblock_sizeString? (readonly)



7197
7198
7199
# File 'media_live/cfn_channel.rb', line 7197

def treeblock_size
  @treeblock_size
end

Class Method Details

.jsii_propertiesObject



7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
# File 'media_live/cfn_channel.rb', line 7199

def self.jsii_properties
  {
    :adaptive_quantization => "adaptiveQuantization",
    :afd_signaling => "afdSignaling",
    :alternative_transfer_function => "alternativeTransferFunction",
    :bitrate => "bitrate",
    :buf_size => "bufSize",
    :color_metadata => "colorMetadata",
    :color_space_settings => "colorSpaceSettings",
    :deblocking => "deblocking",
    :filter_settings => "filterSettings",
    :fixed_afd => "fixedAfd",
    :flicker_aq => "flickerAq",
    :framerate_denominator => "framerateDenominator",
    :framerate_numerator => "framerateNumerator",
    :gop_b_reference => "gopBReference",
    :gop_closed_cadence => "gopClosedCadence",
    :gop_num_b_frames => "gopNumBFrames",
    :gop_size => "gopSize",
    :gop_size_units => "gopSizeUnits",
    :level => "level",
    :look_ahead_rate_control => "lookAheadRateControl",
    :max_bitrate => "maxBitrate",
    :min_bitrate => "minBitrate",
    :min_i_interval => "minIInterval",
    :min_qp => "minQp",
    :mv_over_picture_boundaries => "mvOverPictureBoundaries",
    :mv_temporal_predictor => "mvTemporalPredictor",
    :par_denominator => "parDenominator",
    :par_numerator => "parNumerator",
    :profile => "profile",
    :qvbr_quality_level => "qvbrQualityLevel",
    :rate_control_mode => "rateControlMode",
    :scan_type => "scanType",
    :scene_change_detect => "sceneChangeDetect",
    :slices => "slices",
    :subgop_length => "subgopLength",
    :tier => "tier",
    :tile_height => "tileHeight",
    :tile_padding => "tilePadding",
    :tile_width => "tileWidth",
    :timecode_burnin_settings => "timecodeBurninSettings",
    :timecode_insertion => "timecodeInsertion",
    :treeblock_size => "treeblockSize",
  }
end

Instance Method Details

#to_jsiiObject



7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
# File 'media_live/cfn_channel.rb', line 7246

def to_jsii
  result = {}
  result.merge!({
    "adaptiveQuantization" => @adaptive_quantization,
    "afdSignaling" => @afd_signaling,
    "alternativeTransferFunction" => @alternative_transfer_function,
    "bitrate" => @bitrate,
    "bufSize" => @buf_size,
    "colorMetadata" => @color_metadata,
    "colorSpaceSettings" => @color_space_settings,
    "deblocking" => @deblocking,
    "filterSettings" => @filter_settings,
    "fixedAfd" => @fixed_afd,
    "flickerAq" => @flicker_aq,
    "framerateDenominator" => @framerate_denominator,
    "framerateNumerator" => @framerate_numerator,
    "gopBReference" => @gop_b_reference,
    "gopClosedCadence" => @gop_closed_cadence,
    "gopNumBFrames" => @gop_num_b_frames,
    "gopSize" => @gop_size,
    "gopSizeUnits" => @gop_size_units,
    "level" => @level,
    "lookAheadRateControl" => @look_ahead_rate_control,
    "maxBitrate" => @max_bitrate,
    "minBitrate" => @min_bitrate,
    "minIInterval" => @min_i_interval,
    "minQp" => @min_qp,
    "mvOverPictureBoundaries" => @mv_over_picture_boundaries,
    "mvTemporalPredictor" => @mv_temporal_predictor,
    "parDenominator" => @par_denominator,
    "parNumerator" => @par_numerator,
    "profile" => @profile,
    "qvbrQualityLevel" => @qvbr_quality_level,
    "rateControlMode" => @rate_control_mode,
    "scanType" => @scan_type,
    "sceneChangeDetect" => @scene_change_detect,
    "slices" => @slices,
    "subgopLength" => @subgop_length,
    "tier" => @tier,
    "tileHeight" => @tile_height,
    "tilePadding" => @tile_padding,
    "tileWidth" => @tile_width,
    "timecodeBurninSettings" => @timecode_burnin_settings,
    "timecodeInsertion" => @timecode_insertion,
    "treeblockSize" => @treeblock_size,
  })
  result.compact
end