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
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for FmtpVideo
    static final class 
    An implementation for FmtpVideo
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Colorimetry
    (experimental) The format used for the representation of color.
    default Framerate
    (experimental) The frame rate for the video stream.
    (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 Tcs
    (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

      @Stability(Experimental) @Nullable default Colorimetry getColorimetry()
      (experimental) The format used for the representation of color.

      Default: - no colorimetry specified

    • getExactFramerate

      @Stability(Experimental) @Nullable default Framerate getExactFramerate()
      (experimental) The frame rate for the video stream.

      Default: - no frame rate specified

    • getPar

      @Stability(Experimental) @Nullable default PixelAspectRatio getPar()
      (experimental) The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio.

      Use PixelAspectRatio.SQUARE for most modern content.

      Default: - no pixel aspect ratio specified

    • getScanMode

      @Stability(Experimental) @Nullable default ScanMode getScanMode()
      (experimental) The type of compression that was used to smooth the video's appearance.

      Default: - no scan mode specified

    • getTcs

      @Stability(Experimental) @Nullable default Tcs getTcs()
      (experimental) The transfer characteristic system (TCS) that is used in the video.

      Default: - no TCS specified

    • getVideoRange

      @Stability(Experimental) @Nullable default VideoRange getVideoRange()
      (experimental) The encoding range of the video.

      Default: - no video range specified

    • builder

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