Interface H265SettingsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
H265SettingsProps.Jsii$Proxy
Example:
// H.264
EncodeConfiguration h264 = EncodeConfiguration.video(VideoEncodeProps.builder()
.name("h264_720p")
.codec(VideoCodecSettings.h264(H264SettingsProps.builder()
.rateControl(H264RateControl.cbr(CbrRateControlProps.builder().bitrate(Bitrate.mbps(3)).build()))
.framerate(Framerate.FPS_30)
.profile(H264Profile.HIGH)
.build()))
.width(1280)
.height(720)
.build());
// H.265
EncodeConfiguration h265 = EncodeConfiguration.video(VideoEncodeProps.builder()
.name("h265_1080p")
.codec(VideoCodecSettings.h265(H265SettingsProps.builder()
.rateControl(H265RateControl.qvbr(QvbrRateControlProps.builder()
.maxBitrate(Bitrate.mbps(5))
.qvbrQualityLevel(7)
.build()))
.framerate(Framerate.FPS_30)
.profile(H265Profile.MAIN)
.tier(H265Tier.HIGH)
.build()))
.width(1920)
.height(1080)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forH265SettingsPropsstatic final classAn implementation forH265SettingsProps -
Method Summary
Modifier and TypeMethodDescriptionstatic H265SettingsProps.Builderbuilder()default H265AdaptiveQuantization(experimental) The adaptive quantization.default AfdSignaling(experimental) AFD signaling mode.default H265AlternativeTransferFunction(experimental) Whether to insert an Alternative Transfer Function SEI message for backwards compatibility with non-HDR decoders.default Number(experimental) Size of buffer (HRD buffer model) in bits.default ColorMetadata(experimental) Whether to include color space metadata in the output.default H265ColorSpaceSettings(experimental) Color space settings for the video.default H265Deblocking(experimental) Deblocking filter control.default H265FilterSettings(experimental) Optional video filter settings.default String(experimental) Four-bit AFD value to write on all frames.default FlickerAq(experimental) If enabled, adjusts quantization within each frame to reduce flicker on I-frames.(experimental) The video frame rate.default GopBReference(experimental) If enabled, uses reference B frames for GOP structures that have B frames > 1.default Number(experimental) Frequency of closed GOPs.default Number(experimental) Number of B-frames between reference frames.default GopSize(experimental) The GOP size (keyframe interval).default H265LevelgetLevel()(experimental) The H.265 level.default LookAheadRateControl(experimental) Amount of lookahead.default Number(experimental) Minimum bitrate in bits/second.default Number(experimental) Only meaningful if sceneChangeDetect is enabled.default NumbergetMinQp()(experimental) Minimum QP value.default H265MvOverPictureBoundaries(experimental) Whether motion vectors can cross picture boundaries.default H265MvTemporalPredictor(experimental) Whether to use temporal motion vector prediction.default PixelAspectRatio(experimental) The pixel aspect ratio (PAR) of the video.default H265Profile(experimental) The H.265 profile.default H265RateControl(experimental) The rate control configuration.default ScanType(experimental) Sets the scan type of the output.default H265SceneChangeDetect(experimental) Whether scene change detection inserts I-frames on scene changes.default Number(experimental) Number of slices per picture.default SubgopLength(experimental) Sub-GOP length mode.default H265TiergetTier()(experimental) The H.265 tier.default Number(experimental) Tile height in pixels.default H265TilePadding(experimental) Tile padding mode.default Number(experimental) Tile width in pixels.default TimecodeBurninSettings(experimental) Timecode burn-in settings to overlay timecode on the video.default TimecodeInsertion(experimental) Determines how timecodes are inserted into the video elementary stream.default H265TreeblockSize(experimental) Treeblock size for the encoder.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFramerate
(experimental) The video frame rate.Required for H.265.
-
getAdaptiveQuantization
(experimental) The adaptive quantization.Allows intra-frame quantizers to vary to improve visual quality.
Default: H265AdaptiveQuantization.AUTO
-
getAfdSignaling
(experimental) AFD signaling mode.Default: AfdSignaling.NONE
-
getAlternativeTransferFunction
@Stability(Experimental) @Nullable default H265AlternativeTransferFunction getAlternativeTransferFunction()(experimental) Whether to insert an Alternative Transfer Function SEI message for backwards compatibility with non-HDR decoders.Default: - service default
-
getBufSize
(experimental) Size of buffer (HRD buffer model) in bits.Default: - service default
-
getColorMetadata
(experimental) Whether to include color space metadata in the output.Default: - service default
-
getColorSpaceSettings
(experimental) Color space settings for the video.Default: - service default
-
getDeblocking
(experimental) Deblocking filter control.Default: - service default
-
getFilterSettings
(experimental) Optional video filter settings.Default: - service default
-
getFixedAfd
(experimental) Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED.Valid values: FIXED_0000, FIXED_0010, FIXED_0011, FIXED_0100, FIXED_1000, FIXED_1001, FIXED_1010, FIXED_1011, FIXED_1100, FIXED_1101, FIXED_1110, FIXED_1111.
Default: - service default
-
getFlickerAq
(experimental) If enabled, adjusts quantization within each frame to reduce flicker on I-frames.Default: - service default
-
getGopBReference
(experimental) If enabled, uses reference B frames for GOP structures that have B frames > 1.Default: - service default
-
getGopClosedCadence
(experimental) Frequency of closed GOPs.Set to 1 for streaming so decoders joining mid-stream get an IDR frame quickly.
Default: - service default
-
getGopNumBFrames
(experimental) Number of B-frames between reference frames.Default: - service default
-
getGopSize
(experimental) The GOP size (keyframe interval).Default: GopSize.seconds(1)
-
getLevel
(experimental) The H.265 level.Valid values: H265_LEVEL_1, H265_LEVEL_2, H265_LEVEL_2_1, H265_LEVEL_3, H265_LEVEL_3_1, H265_LEVEL_4, H265_LEVEL_4_1, H265_LEVEL_5, H265_LEVEL_5_1, H265_LEVEL_5_2, H265_LEVEL_6, H265_LEVEL_6_1, H265_LEVEL_6_2, H265_LEVEL_AUTO.
Default: - service default (auto)
-
getLookAheadRateControl
(experimental) Amount of lookahead.Low decreases latency/memory; high can produce better quality.
Default: - service default
-
getMinBitrate
(experimental) Minimum bitrate in bits/second.Default: - service default
-
getMinIInterval
(experimental) Only meaningful if sceneChangeDetect is enabled.Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection.
Default: - service default
-
getMinQp
(experimental) Minimum QP value.Default: - service default
-
getMvOverPictureBoundaries
(experimental) Whether motion vectors can cross picture boundaries.Default: - service default
-
getMvTemporalPredictor
(experimental) Whether to use temporal motion vector prediction.Default: - service default
-
getPixelAspectRatio
(experimental) The pixel aspect ratio (PAR) of the video.Default: - square pixels
-
getProfile
(experimental) The H.265 profile.Default: H265Profile.MAIN
-
getRateControl
(experimental) The rate control configuration.Default: - CBR with no bitrate (service default)
-
getScanType
(experimental) Sets the scan type of the output.Default: ScanType.PROGRESSIVE
-
getSceneChangeDetect
(experimental) Whether scene change detection inserts I-frames on scene changes.Default: H265SceneChangeDetect.ENABLED
-
getSlices
(experimental) Number of slices per picture.Default: - encoder chooses based on resolution
-
getSubgopLength
(experimental) Sub-GOP length mode.Default: - service default
-
getTier
(experimental) The H.265 tier.Default: H265Tier.MAIN
-
getTileHeight
(experimental) Tile height in pixels.Must be a multiple of the CTU size.
Default: - service default
-
getTilePadding
(experimental) Tile padding mode.Default: - service default
-
getTileWidth
(experimental) Tile width in pixels.Must be a multiple of the CTU size.
Default: - service default
-
getTimecodeBurnin
(experimental) Timecode burn-in settings to overlay timecode on the video.Default: - no timecode burn-in
-
getTimecodeInsertion
(experimental) Determines how timecodes are inserted into the video elementary stream.This controls insertion into the output elementary stream. The channel's
timecodeConfigcontrols the source of the timecode used for output.Default: - service default
-
getTreeblockSize
(experimental) Treeblock size for the encoder.Default: - service default
-
builder
- Returns:
- a
H265SettingsProps.BuilderofH265SettingsProps
-