Interface VideoSelectorSettings
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VideoSelectorSettings.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.402Z")
@Stability(Experimental)
public interface VideoSelectorSettings
extends software.amazon.jsii.JsiiSerializable
(experimental) Video selector settings for an input.
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder()
.input(input)
.audioSelectors(List.of(AudioSelector.byLanguage("eng", "eng", AudioLanguageSelectionPolicy.STRICT)))
.captionSelectors(List.of(CaptionSelector.embedded("embedded")))
.videoSelector(VideoSelectorSettings.builder()
.colorSpace(VideoColorSpace.HDR10)
.colorSpaceUsage(VideoColorSpaceUsage.FORCE)
.selectBy(VideoSelection.byProgramId(1))
.build())
.build()))
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVideoSelectorSettingsstatic final classAn implementation forVideoSelectorSettings -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default VideoColorSpace(experimental) The color space of the input video.default VideoColorSpaceUsage(experimental) HowcolorSpaceis applied when it is notFOLLOW.default Hdr10SettingsgetHdr10()(experimental) HDR10 color space metadata for the input.default VideoSelection(experimental) Selects the specific video to extract from the input (by PID or by program).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColorSpace
(experimental) The color space of the input video.Default: - service default
-
getColorSpaceUsage
(experimental) HowcolorSpaceis applied when it is notFOLLOW.Default: - MediaLive service default
-
getHdr10
(experimental) HDR10 color space metadata for the input.Default: - none
-
getSelectBy
(experimental) Selects the specific video to extract from the input (by PID or by program).Default: - MediaLive selects the video automatically
-
builder
- Returns:
- a
VideoSelectorSettings.BuilderofVideoSelectorSettings
-