interface H265SettingsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.H265SettingsProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#H265SettingsProps |
Java | software.amazon.awscdk.services.medialive.alpha.H265SettingsProps |
Python | aws_cdk.aws_medialive_alpha.H265SettingsProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป H265SettingsProps |
Properties for H.265 codec settings.
Example
// H.264
const h264 = medialive.EncodeConfiguration.video({
name: 'h264_720p',
codec: medialive.VideoCodecSettings.h264({
rateControl: medialive.H264RateControl.cbr({ bitrate: Bitrate.mbps(3) }),
framerate: medialive.Framerate.FPS_30,
profile: medialive.H264Profile.HIGH,
}),
width: 1280,
height: 720,
});
// H.265
const h265 = medialive.EncodeConfiguration.video({
name: 'h265_1080p',
codec: medialive.VideoCodecSettings.h265({
rateControl: medialive.H265RateControl.qvbr({
maxBitrate: Bitrate.mbps(5),
qvbrQualityLevel: 7,
}),
framerate: medialive.Framerate.FPS_30,
profile: medialive.H265Profile.MAIN,
tier: medialive.H265Tier.HIGH,
}),
width: 1920,
height: 1080,
});
Properties
| Name | Type | Description |
|---|---|---|
| framerate | Framerate | The video frame rate. |
| adaptive | H265 | The adaptive quantization. |
| afd | Afd | AFD signaling mode. |
| alternative | H265 | Whether to insert an Alternative Transfer Function SEI message for backwards compatibility with non-HDR decoders. |
| buf | number | Size of buffer (HRD buffer model) in bits. |
| color | Color | Whether to include color space metadata in the output. |
| color | H265 | Color space settings for the video. |
| deblocking? | H265 | Deblocking filter control. |
| filter | H265 | Optional video filter settings. |
| fixed | string | Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED. |
| flicker | Flicker | If enabled, adjusts quantization within each frame to reduce flicker on I-frames. |
| gop | Gop | If enabled, uses reference B frames for GOP structures that have B frames > 1. |
| gop | number | Frequency of closed GOPs. |
| gop | number | Number of B-frames between reference frames. |
| gop | Gop | The GOP size (keyframe interval). |
| level? | H265 | The H.265 level. |
| look | Look | Amount of lookahead. |
| min | number | Minimum bitrate in bits/second. |
| min | number | Only meaningful if sceneChangeDetect is enabled. |
| min | number | Minimum QP value. |
| mv | H265 | Whether motion vectors can cross picture boundaries. |
| mv | H265 | Whether to use temporal motion vector prediction. |
| pixel | Pixel | The pixel aspect ratio (PAR) of the video. |
| profile? | H265 | The H.265 profile. |
| rate | H265 | The rate control configuration. |
| scan | Scan | Sets the scan type of the output. |
| scene | H265 | Whether scene change detection inserts I-frames on scene changes. |
| slices? | number | Number of slices per picture. |
| subgop | Subgop | Sub-GOP length mode. |
| tier? | H265 | The H.265 tier. |
| tile | number | Tile height in pixels. |
| tile | H265 | Tile padding mode. |
| tile | number | Tile width in pixels. |
| timecode | Timecode | Timecode burn-in settings to overlay timecode on the video. |
| timecode | Timecode | Determines how timecodes are inserted into the video elementary stream. |
| treeblock | H265 | Treeblock size for the encoder. |
framerate
Type:
Framerate
The video frame rate.
Required for H.265.
adaptiveQuantization?
Type:
H265
(optional, default: H265AdaptiveQuantization.AUTO)
The adaptive quantization.
Allows intra-frame quantizers to vary to improve visual quality.
afdSignaling?
Type:
Afd
(optional, default: AfdSignaling.NONE)
AFD signaling mode.
alternativeTransferFunction?
Type:
H265
(optional, default: service default)
Whether to insert an Alternative Transfer Function SEI message for backwards compatibility with non-HDR decoders.
bufSize?
Type:
number
(optional, default: service default)
Size of buffer (HRD buffer model) in bits.
colorMetadata?
Type:
Color
(optional, default: service default)
Whether to include color space metadata in the output.
colorSpaceSettings?
Type:
H265
(optional, default: service default)
Color space settings for the video.
deblocking?
Type:
H265
(optional, default: service default)
Deblocking filter control.
filterSettings?
Type:
H265
(optional, default: service default)
Optional video filter settings.
fixedAfd?
Type:
string
(optional, default: service default)
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.
flickerAq?
Type:
Flicker
(optional, default: service default)
If enabled, adjusts quantization within each frame to reduce flicker on I-frames.
gopBReference?
Type:
Gop
(optional, default: service default)
If enabled, uses reference B frames for GOP structures that have B frames > 1.
gopClosedCadence?
Type:
number
(optional, default: service default)
Frequency of closed GOPs.
Set to 1 for streaming so decoders joining mid-stream get an IDR frame quickly.
gopNumBFrames?
Type:
number
(optional, default: service default)
Number of B-frames between reference frames.
gopSize?
Type:
Gop
(optional, default: GopSize.seconds(1))
The GOP size (keyframe interval).
level?
Type:
H265
(optional, default: service default (auto))
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.
lookAheadRateControl?
Type:
Look
(optional, default: service default)
Amount of lookahead.
Low decreases latency/memory; high can produce better quality.
minBitrate?
Type:
number
(optional, default: service default)
Minimum bitrate in bits/second.
minIInterval?
Type:
number
(optional, default: service default)
Only meaningful if sceneChangeDetect is enabled.
Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection.
minQp?
Type:
number
(optional, default: service default)
Minimum QP value.
mvOverPictureBoundaries?
Type:
H265
(optional, default: service default)
Whether motion vectors can cross picture boundaries.
mvTemporalPredictor?
Type:
H265
(optional, default: service default)
Whether to use temporal motion vector prediction.
pixelAspectRatio?
Type:
Pixel
(optional, default: square pixels)
The pixel aspect ratio (PAR) of the video.
profile?
Type:
H265
(optional, default: H265Profile.MAIN)
The H.265 profile.
rateControl?
Type:
H265
(optional, default: CBR with no bitrate (service default))
The rate control configuration.
scanType?
Type:
Scan
(optional, default: ScanType.PROGRESSIVE)
Sets the scan type of the output.
sceneChangeDetect?
Type:
H265
(optional, default: H265SceneChangeDetect.ENABLED)
Whether scene change detection inserts I-frames on scene changes.
slices?
Type:
number
(optional, default: encoder chooses based on resolution)
Number of slices per picture.
subgopLength?
Type:
Subgop
(optional, default: service default)
Sub-GOP length mode.
tier?
Type:
H265
(optional, default: H265Tier.MAIN)
The H.265 tier.
tileHeight?
Type:
number
(optional, default: service default)
Tile height in pixels.
Must be a multiple of the CTU size.
tilePadding?
Type:
H265
(optional, default: service default)
Tile padding mode.
tileWidth?
Type:
number
(optional, default: service default)
Tile width in pixels.
Must be a multiple of the CTU size.
timecodeBurnin?
Type:
Timecode
(optional, default: no timecode burn-in)
Timecode burn-in settings to overlay timecode on the video.
timecodeInsertion?
Type:
Timecode
(optional, default: service default)
Determines how timecodes are inserted into the video elementary stream.
This controls insertion into the output elementary stream. The channel's timecodeConfig controls the
source of the timecode used for output.
treeblockSize?
Type:
H265
(optional, default: service default)
Treeblock size for the encoder.

.NET
Go
Java
Python
TypeScript (