Class ScanMode
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediaconnect.alpha.ScanMode
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.225Z")
@Stability(Experimental)
public class ScanMode
extends software.amazon.jsii.JsiiObject
(experimental) Options for Scan Mode.
Example:
Stack stack;
IRole role;
ISecurityGroup sg1;
ISecurityGroup sg2;
ISubnet subnet;
VpcInterfaceConfig efaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
.vpcInterfaceName("efa-interface")
.role(role)
.securityGroups(List.of(sg1))
.subnet(subnet)
.networkInterfaceType(NetworkInterface.EFA)
.build());
VpcInterfaceConfig enaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
.vpcInterfaceName("ena-interface")
.role(role)
.securityGroups(List.of(sg2))
.subnet(subnet)
.networkInterfaceType(NetworkInterface.ENA)
.build());
MediaStream videoStream = MediaStream.video(MediaStreamVideo.builder()
.mediaStreamId(1)
.mediaStreamName("video")
.videoFormat(MediaVideoFormat.UHD_2160P)
.fmtp(FmtpVideo.builder()
.exactFramerate(Framerate.FPS_59_94)
.par(PixelAspectRatio.SQUARE)
.colorimetry(Colorimetry.BT2020)
.videoRange(VideoRange.FULL)
.scanMode(ScanMode.PROGRESSIVE)
.tcs(Tcs.PQ)
.build())
.build());
Flow flow = Flow.Builder.create(stack, "MyJpegXsFlow")
.flowSize(FlowSize.LARGE_4X) // Required for JPEG XS
.vpcInterfaces(List.of(efaInterface, enaInterface))
.mediaStreams(List.of(videoStream))
.source(SourceConfiguration.jpegXs(SourceJpegXs.builder()
.flowSourceName("jpegxs-source")
.maxSyncBuffer(100)
.mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationJpegXs.builder()
.encoding(Encoding.JXSV)
.port(5000)
.inputInterface(List.of(efaInterface, enaInterface)) // 2 interfaces for redundancy
.mediaStream(videoStream)
.build()))
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
INTERLACE
(experimental) Option for Interlace. -
PROGRESSIVE
(experimental) Option for Progressive. -
PROGRESSIVE_SEGMENTED_FRAME
(experimental) Option for Progressive Segmented Frame.
-
-
Constructor Details
-
ScanMode
protected ScanMode(software.amazon.jsii.JsiiObjectRef objRef) -
ScanMode
protected ScanMode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details