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();
 
  • Method Details

    • getColorSpace

      @Stability(Experimental) @Nullable default VideoColorSpace getColorSpace()
      (experimental) The color space of the input video.

      Default: - service default

    • getColorSpaceUsage

      @Stability(Experimental) @Nullable default VideoColorSpaceUsage getColorSpaceUsage()
      (experimental) How colorSpace is applied when it is not FOLLOW.

      Default: - MediaLive service default

    • getHdr10

      @Stability(Experimental) @Nullable default Hdr10Settings getHdr10()
      (experimental) HDR10 color space metadata for the input.

      Default: - none

    • getSelectBy

      @Stability(Experimental) @Nullable default VideoSelection getSelectBy()
      (experimental) Selects the specific video to extract from the input (by PID or by program).

      Default: - MediaLive selects the video automatically

    • builder

      @Stability(Experimental) static VideoSelectorSettings.Builder builder()
      Returns:
      a VideoSelectorSettings.Builder of VideoSelectorSettings