Class MediaVideoFormat
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediaconnect.alpha.MediaVideoFormat
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.188Z")
@Stability(Experimental)
public class MediaVideoFormat
extends software.amazon.jsii.JsiiObject
(experimental) Options for Media Video format.
Example:
Stack stack;
IRole role;
ISecurityGroup securityGroup;
ISubnet subnet;
VpcInterfaceConfig efaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
.vpcInterfaceName("efa-interface")
.role(role)
.securityGroups(List.of(securityGroup))
.subnet(subnet)
.networkInterfaceType(NetworkInterface.EFA)
.build());
MediaStream videoStream = MediaStream.video(MediaStreamVideo.builder()
.mediaStreamId(1)
.mediaStreamName("video")
.videoFormat(MediaVideoFormat.HD_1080P)
.fmtp(FmtpVideo.builder()
.exactFramerate(Framerate.FPS_29_97)
.par(PixelAspectRatio.SQUARE)
.build())
.build());
Flow flow = Flow.Builder.create(stack, "MyCdiFlow")
.flowSize(FlowSize.LARGE_4X) // Required for CDI and JPEG XS
.vpcInterfaces(List.of(efaInterface))
.mediaStreams(List.of(videoStream))
.source(SourceConfiguration.cdi(SourceCdi.builder()
.flowSourceName("cdi-source")
.vpcInterface(efaInterface)
.port(5000)
.maxSyncBuffer(100)
.mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationCdi.builder()
.encoding(Encoding.RAW)
.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
FieldsModifier and TypeFieldDescriptionstatic final MediaVideoFormat(experimental) Option for 1080i.static final MediaVideoFormat(experimental) Option for 1080p.static final MediaVideoFormat(experimental) Option for 720p.static final MediaVideoFormat(experimental) Option for 480p.static final MediaVideoFormat(experimental) Option for 2160p. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMediaVideoFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedMediaVideoFormat(software.amazon.jsii.JsiiObjectRef objRef) -
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
-
HD_1080_I
(experimental) Option for 1080i. -
HD_1080_P
(experimental) Option for 1080p. -
HD_720_P
(experimental) Option for 720p. -
SD_480_P
(experimental) Option for 480p. -
UHD_2160_P
(experimental) Option for 2160p.
-
-
Constructor Details
-
MediaVideoFormat
protected MediaVideoFormat(software.amazon.jsii.JsiiObjectRef objRef) -
MediaVideoFormat
protected MediaVideoFormat(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details