import { TimecodeBurninSettingsProps } from './TimecodeBurninSettingsProps';
import { Value } from '../../../cloudformation/Value';
import { H265FilterSettingsProps } from './H265FilterSettingsProps';
import { H265ColorSpaceSettingsProps } from './H265ColorSpaceSettingsProps';
/**
  H265 Settings
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html">the AWS Docs</a>
*/
export interface H265SettingsProps {
    /** <code>TimecodeBurninSettings</code>  <a name="cfn-medialive-channel-h265settings-timecodeburninsettings"></a>
  Property description not available.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timecodeBurninSettings?: TimecodeBurninSettingsProps;
    /** <code>Slices</code>  <a name="cfn-medialive-channel-h265settings-slices"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    slices?: Value<number>;
    /** <code>QvbrQualityLevel</code>  <a name="cfn-medialive-channel-h265settings-qvbrqualitylevel"></a>
  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<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    qvbrQualityLevel?: Value<number>;
    /** <code>FramerateNumerator</code>  <a name="cfn-medialive-channel-h265settings-frameratenumerator"></a>
  Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    framerateNumerator?: Value<number>;
    /** <code>GopClosedCadence</code>  <a name="cfn-medialive-channel-h265settings-gopclosedcadence"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gopClosedCadence?: Value<number>;
    /** <code>FlickerAq</code>  <a name="cfn-medialive-channel-h265settings-flickeraq"></a>
  If set to enabled, adjust quantization within each frame to reduce flicker or ‘pop’ on I-frames.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    flickerAq?: Value<string>;
    /** <code>Profile</code>  <a name="cfn-medialive-channel-h265settings-profile"></a>
  H.265 Profile.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    profile?: Value<string>;
    /** <code>MinIInterval</code>  <a name="cfn-medialive-channel-h265settings-miniinterval"></a>
  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<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    minIInterval?: Value<number>;
    /** <code>SceneChangeDetect</code>  <a name="cfn-medialive-channel-h265settings-scenechangedetect"></a>
  Scene change detection.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    sceneChangeDetect?: Value<string>;
    /** <code>FramerateDenominator</code>  <a name="cfn-medialive-channel-h265settings-frameratedenominator"></a>
  Framerate denominator.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    framerateDenominator?: Value<number>;
    /** <code>GopSize</code>  <a name="cfn-medialive-channel-h265settings-gopsize"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gopSize?: Value<number>;
    /** <code>AdaptiveQuantization</code>  <a name="cfn-medialive-channel-h265settings-adaptivequantization"></a>
  Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    adaptiveQuantization?: Value<string>;
    /** <code>FilterSettings</code>  <a name="cfn-medialive-channel-h265settings-filtersettings"></a>
  Optional filters that you can apply to an encode.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    filterSettings?: H265FilterSettingsProps;
    /** <code>AlternativeTransferFunction</code>  <a name="cfn-medialive-channel-h265settings-alternativetransferfunction"></a>
  Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    alternativeTransferFunction?: Value<string>;
    /** <code>ColorSpaceSettings</code>  <a name="cfn-medialive-channel-h265settings-colorspacesettings"></a>
  Color Space settings<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    colorSpaceSettings?: H265ColorSpaceSettingsProps;
    /** <code>Tier</code>  <a name="cfn-medialive-channel-h265settings-tier"></a>
  H.265 Tier.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tier?: Value<string>;
    /** <code>ParDenominator</code>  <a name="cfn-medialive-channel-h265settings-pardenominator"></a>
  Pixel Aspect Ratio denominator.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    parDenominator?: Value<number>;
    /** <code>FixedAfd</code>  <a name="cfn-medialive-channel-h265settings-fixedafd"></a>
  Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to ‘Fixed’.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fixedAfd?: Value<string>;
    /** <code>GopSizeUnits</code>  <a name="cfn-medialive-channel-h265settings-gopsizeunits"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gopSizeUnits?: Value<string>;
    /** <code>AfdSignaling</code>  <a name="cfn-medialive-channel-h265settings-afdsignaling"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    afdSignaling?: Value<string>;
    /** <code>Bitrate</code>  <a name="cfn-medialive-channel-h265settings-bitrate"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    bitrate?: Value<number>;
    /** <code>ParNumerator</code>  <a name="cfn-medialive-channel-h265settings-parnumerator"></a>
  Pixel Aspect Ratio numerator.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    parNumerator?: Value<number>;
    /** <code>RateControlMode</code>  <a name="cfn-medialive-channel-h265settings-ratecontrolmode"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    rateControlMode?: Value<string>;
    /** <code>ScanType</code>  <a name="cfn-medialive-channel-h265settings-scantype"></a>
  Sets the scan type of the output to progressive or top-field-first interlaced.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    scanType?: Value<string>;
    /** <code>BufSize</code>  <a name="cfn-medialive-channel-h265settings-bufsize"></a>
  Size of buffer (HRD buffer model) in bits.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    bufSize?: Value<number>;
    /** <code>TimecodeInsertion</code>  <a name="cfn-medialive-channel-h265settings-timecodeinsertion"></a>
  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<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    timecodeInsertion?: Value<string>;
    /** <code>ColorMetadata</code>  <a name="cfn-medialive-channel-h265settings-colormetadata"></a>
  Includes colorspace metadata in the output.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    colorMetadata?: Value<string>;
    /** <code>LookAheadRateControl</code>  <a name="cfn-medialive-channel-h265settings-lookaheadratecontrol"></a>
  Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    lookAheadRateControl?: Value<string>;
    /** <code>Level</code>  <a name="cfn-medialive-channel-h265settings-level"></a>
  H.265 Level.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    level?: Value<string>;
    /** <code>MaxBitrate</code>  <a name="cfn-medialive-channel-h265settings-maxbitrate"></a>
  For QVBR: See the tooltip for Quality level<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxBitrate?: Value<number>;
}
