Interface FmtpVideo
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FmtpVideo.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.168Z")
@Stability(Experimental)
public interface FmtpVideo
extends software.amazon.jsii.JsiiSerializable
(experimental) Options for FMTP Video.
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic FmtpVideo.Builderbuilder()default Colorimetry(experimental) The format used for the representation of color.default Framerate(experimental) The frame rate for the video stream.default PixelAspectRatiogetPar()(experimental) The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio.default ScanMode(experimental) The type of compression that was used to smooth the video's appearance.default TcsgetTcs()(experimental) The transfer characteristic system (TCS) that is used in the video.default VideoRange(experimental) The encoding range of the video.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColorimetry
(experimental) The format used for the representation of color.Default: - no colorimetry specified
-
getExactFramerate
(experimental) The frame rate for the video stream.Default: - no frame rate specified
-
getPar
(experimental) The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio.Use
PixelAspectRatio.SQUAREfor most modern content.Default: - no pixel aspect ratio specified
-
getScanMode
(experimental) The type of compression that was used to smooth the video's appearance.Default: - no scan mode specified
-
getTcs
(experimental) The transfer characteristic system (TCS) that is used in the video.Default: - no TCS specified
-
getVideoRange
(experimental) The encoding range of the video.Default: - no video range specified
-
builder
- Returns:
- a
FmtpVideo.BuilderofFmtpVideo
-