Interface CfnChannel.H265SettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.H265SettingsProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.H265SettingsProperty extends software.amazon.jsii.JsiiSerializable
H265 Settings.

The parent of this entity is VideoCodecSettings.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.*;
 H265SettingsProperty h265SettingsProperty = H265SettingsProperty.builder()
         .adaptiveQuantization("adaptiveQuantization")
         .afdSignaling("afdSignaling")
         .alternativeTransferFunction("alternativeTransferFunction")
         .bitrate(123)
         .bufSize(123)
         .colorMetadata("colorMetadata")
         .colorSpaceSettings(H265ColorSpaceSettingsProperty.builder()
                 .colorSpacePassthroughSettings(ColorSpacePassthroughSettingsProperty.builder().build())
                 .dolbyVision81Settings(DolbyVision81SettingsProperty.builder().build())
                 .hdr10Settings(Hdr10SettingsProperty.builder()
                         .maxCll(123)
                         .maxFall(123)
                         .build())
                 .rec601Settings(Rec601SettingsProperty.builder().build())
                 .rec709Settings(Rec709SettingsProperty.builder().build())
                 .build())
         .filterSettings(H265FilterSettingsProperty.builder()
                 .temporalFilterSettings(TemporalFilterSettingsProperty.builder()
                         .postFilterSharpening("postFilterSharpening")
                         .strength("strength")
                         .build())
                 .build())
         .fixedAfd("fixedAfd")
         .flickerAq("flickerAq")
         .framerateDenominator(123)
         .framerateNumerator(123)
         .gopClosedCadence(123)
         .gopSize(123)
         .gopSizeUnits("gopSizeUnits")
         .level("level")
         .lookAheadRateControl("lookAheadRateControl")
         .maxBitrate(123)
         .minIInterval(123)
         .parDenominator(123)
         .parNumerator(123)
         .profile("profile")
         .qvbrQualityLevel(123)
         .rateControlMode("rateControlMode")
         .scanType("scanType")
         .sceneChangeDetect("sceneChangeDetect")
         .slices(123)
         .tier("tier")
         .timecodeBurninSettings(TimecodeBurninSettingsProperty.builder()
                 .fontSize("fontSize")
                 .position("position")
                 .prefix("prefix")
                 .build())
         .timecodeInsertion("timecodeInsertion")
         .build();
 
  • Method Details

    • getAdaptiveQuantization

      @Stability(Stable) @Nullable default String getAdaptiveQuantization()
      Adaptive quantization.

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

    • getAfdSignaling

      @Stability(Stable) @Nullable default String getAfdSignaling()
      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.

    • getAlternativeTransferFunction

      @Stability(Stable) @Nullable default String getAlternativeTransferFunction()
      Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
    • getBitrate

      @Stability(Stable) @Nullable default Number getBitrate()
      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.

    • getBufSize

      @Stability(Stable) @Nullable default Number getBufSize()
      Size of buffer (HRD buffer model) in bits.
    • getColorMetadata

      @Stability(Stable) @Nullable default String getColorMetadata()
      Includes colorspace metadata in the output.
    • getColorSpaceSettings

      @Stability(Stable) @Nullable default Object getColorSpaceSettings()
      Color Space settings.
    • getFilterSettings

      @Stability(Stable) @Nullable default Object getFilterSettings()
      Optional filters that you can apply to an encode.
    • getFixedAfd

      @Stability(Stable) @Nullable default String getFixedAfd()
      Four bit AFD value to write on all frames of video in the output stream.

      Only valid when afdSignaling is set to 'Fixed'.

    • getFlickerAq

      @Stability(Stable) @Nullable default String getFlickerAq()
      If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
    • getFramerateDenominator

      @Stability(Stable) @Nullable default Number getFramerateDenominator()
      Framerate denominator.
    • getFramerateNumerator

      @Stability(Stable) @Nullable default Number getFramerateNumerator()
      Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
    • getGopClosedCadence

      @Stability(Stable) @Nullable default Number getGopClosedCadence()
      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.

    • getGopSize

      @Stability(Stable) @Nullable default Number getGopSize()
      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.

    • getGopSizeUnits

      @Stability(Stable) @Nullable default String getGopSizeUnits()
      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.

    • getLevel

      @Stability(Stable) @Nullable default String getLevel()
      H.265 Level.
    • getLookAheadRateControl

      @Stability(Stable) @Nullable default String getLookAheadRateControl()
      Amount of lookahead.

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

    • getMaxBitrate

      @Stability(Stable) @Nullable default Number getMaxBitrate()
      For QVBR: See the tooltip for Quality level.
    • getMinIInterval

      @Stability(Stable) @Nullable default Number getMinIInterval()
      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

    • getParDenominator

      @Stability(Stable) @Nullable default Number getParDenominator()
      Pixel Aspect Ratio denominator.
    • getParNumerator

      @Stability(Stable) @Nullable default Number getParNumerator()
      Pixel Aspect Ratio numerator.
    • getProfile

      @Stability(Stable) @Nullable default String getProfile()
      H.265 Profile.
    • getQvbrQualityLevel

      @Stability(Stable) @Nullable default Number getQvbrQualityLevel()
      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
    • getRateControlMode

      @Stability(Stable) @Nullable default String getRateControlMode()
      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.

    • getScanType

      @Stability(Stable) @Nullable default String getScanType()
      Sets the scan type of the output to progressive or top-field-first interlaced.
    • getSceneChangeDetect

      @Stability(Stable) @Nullable default String getSceneChangeDetect()
      Scene change detection.
    • getSlices

      @Stability(Stable) @Nullable default Number getSlices()
      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.

    • getTier

      @Stability(Stable) @Nullable default String getTier()
      H.265 Tier.
    • getTimecodeBurninSettings

      @Stability(Stable) @Nullable default Object getTimecodeBurninSettings()
      CfnChannel.H265SettingsProperty.TimecodeBurninSettings.
    • getTimecodeInsertion

      @Stability(Stable) @Nullable default String getTimecodeInsertion()
      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
    • builder

      @Stability(Stable) static CfnChannel.H265SettingsProperty.Builder builder()
      Returns:
      a CfnChannel.H265SettingsProperty.Builder of CfnChannel.H265SettingsProperty