> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FmtpVideo

Options for FMTP Video.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/flow.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0-alpha.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow.ts#L583)

## Example

```ts
declare const stack: Stack;
declare const role: iam.IRole;
declare const securityGroup: ec2.ISecurityGroup;
declare const subnet: ec2.ISubnet;

const efaInterface = VpcInterface.define({
  vpcInterfaceName: 'efa-interface',
  role: role,
  securityGroups: [securityGroup],
  subnet: subnet,
  networkInterfaceType: NetworkInterface.EFA,  // Required for CDI
});

const videoStream = MediaStream.video({
  mediaStreamId: 1,
  mediaStreamName: 'video',
  videoFormat: MediaVideoFormat.HD_1080P,
  fmtp: {
    exactFramerate: Framerate.FPS_29_97,
    par: PixelAspectRatio.SQUARE,
  },
});

const flow = new Flow(stack, 'MyCdiFlow', {
  flowSize: FlowSize.LARGE_4X,  // Required for CDI and JPEG XS
  vpcInterfaces: [efaInterface],
  mediaStreams: [videoStream],
  source: SourceConfiguration.cdi({
    flowSourceName: 'cdi-source',
    vpcInterface: efaInterface,
    port: 5000,
    maxSyncBuffer: 100,
    mediaStreamSourceConfigurations: [{
      encoding: Encoding.RAW,
      mediaStream: videoStream,
    }],
  }),
});
```

## Properties

- `colorimetry`: [Colorimetry](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.Colorimetry.html) — The format used for the representation of color.

  **Default:** no colorimetry specified

- `exactFramerate`: [Framerate](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.Framerate.html) — The frame rate for the video stream.

  **Default:** no frame rate specified

- `par`: [PixelAspectRatio](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.PixelAspectRatio.html) — The pixel aspect ratio (PAR) of the video — the shape of a single pixel, not the display aspect ratio.

  **Default:** no pixel aspect ratio specified

  Use `PixelAspectRatio.SQUARE` for most modern content.

- `scanMode`: [ScanMode](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.ScanMode.html) — The type of compression that was used to smooth the video's appearance.

  **Default:** no scan mode specified

- `tcs`: [Tcs](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.Tcs.html) — The transfer characteristic system (TCS) that is used in the video.

  **Default:** no TCS specified

- `videoRange`: [VideoRange](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.VideoRange.html) — The encoding range of the video.

  **Default:** no video range specified
