H265Settings
public struct H265Settings : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
Declaration
Swift
public let adaptiveQuantization: H265AdaptiveQuantization?
-
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.
Declaration
Swift
public let afdSignaling: AfdSignaling?
-
Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
Declaration
Swift
public let alternativeTransferFunction: H265AlternativeTransferFunction?
-
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.
Declaration
Swift
public let bitrate: Int?
-
Size of buffer (HRD buffer model) in bits.
Declaration
Swift
public let bufSize: Int?
-
Includes colorspace metadata in the output.
Declaration
Swift
public let colorMetadata: H265ColorMetadata?
-
Color Space settings
Declaration
Swift
public let colorSpaceSettings: H265ColorSpaceSettings?
-
Optional filters that you can apply to an encode.
Declaration
Swift
public let filterSettings: H265FilterSettings?
-
Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to ‘Fixed’.
Declaration
Swift
public let fixedAfd: FixedAfd?
-
If set to enabled, adjust quantization within each frame to reduce flicker or ‘pop’ on I-frames.
Declaration
Swift
public let flickerAq: H265FlickerAq?
-
Framerate denominator.
Declaration
Swift
public let framerateDenominator: Int
-
Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
Declaration
Swift
public let framerateNumerator: Int
-
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.
Declaration
Swift
public let gopClosedCadence: Int?
-
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.
Declaration
Swift
public let gopSize: Double?
-
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.
Declaration
Swift
public let gopSizeUnits: H265GopSizeUnits?
-
H.265 Level.
Declaration
Swift
public let level: H265Level?
-
Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
Declaration
Swift
public let lookAheadRateControl: H265LookAheadRateControl?
-
For QVBR: See the tooltip for Quality level
Declaration
Swift
public let maxBitrate: Int?
-
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
Declaration
Swift
public let minIInterval: Int?
-
Pixel Aspect Ratio denominator.
Declaration
Swift
public let parDenominator: Int?
-
Pixel Aspect Ratio numerator.
Declaration
Swift
public let parNumerator: Int?
-
H.265 Profile.
Declaration
Swift
public let profile: H265Profile?
-
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
Declaration
Swift
public let qvbrQualityLevel: Int?
-
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.
Declaration
Swift
public let rateControlMode: H265RateControlMode?
-
Sets the scan type of the output to progressive or top-field-first interlaced.
Declaration
Swift
public let scanType: H265ScanType?
-
Scene change detection.
Declaration
Swift
public let sceneChangeDetect: H265SceneChangeDetect?
-
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.
Declaration
Swift
public let slices: Int?
-
H.265 Tier.
Declaration
Swift
public let tier: H265Tier?
-
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
Declaration
Swift
public let timecodeInsertion: H265TimecodeInsertionBehavior?
-
init(adaptiveQuantization:afdSignaling:alternativeTransferFunction:bitrate:bufSize:colorMetadata:colorSpaceSettings:filterSettings:fixedAfd:flickerAq:framerateDenominator:framerateNumerator:gopClosedCadence:gopSize:gopSizeUnits:level:lookAheadRateControl:maxBitrate:minIInterval:parDenominator:parNumerator:profile:qvbrQualityLevel:rateControlMode:scanType:sceneChangeDetect:slices:tier:timecodeInsertion:)
Undocumented
Declaration
Swift
public init(adaptiveQuantization: H265AdaptiveQuantization? = nil, afdSignaling: AfdSignaling? = nil, alternativeTransferFunction: H265AlternativeTransferFunction? = nil, bitrate: Int? = nil, bufSize: Int? = nil, colorMetadata: H265ColorMetadata? = nil, colorSpaceSettings: H265ColorSpaceSettings? = nil, filterSettings: H265FilterSettings? = nil, fixedAfd: FixedAfd? = nil, flickerAq: H265FlickerAq? = nil, framerateDenominator: Int, framerateNumerator: Int, gopClosedCadence: Int? = nil, gopSize: Double? = nil, gopSizeUnits: H265GopSizeUnits? = nil, level: H265Level? = nil, lookAheadRateControl: H265LookAheadRateControl? = nil, maxBitrate: Int? = nil, minIInterval: Int? = nil, parDenominator: Int? = nil, parNumerator: Int? = nil, profile: H265Profile? = nil, qvbrQualityLevel: Int? = nil, rateControlMode: H265RateControlMode? = nil, scanType: H265ScanType? = nil, sceneChangeDetect: H265SceneChangeDetect? = nil, slices: Int? = nil, tier: H265Tier? = nil, timecodeInsertion: H265TimecodeInsertionBehavior? = nil)
-
Declaration
Swift
public func validate(name: String) throws