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

Options for an SCTE-27 caption source.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/caption-selector.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/caption-selector.ts#L147)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const ocrLanguage: medialive_alpha.OcrLanguage;
const scte27CaptionSourceOptions: medialive_alpha.Scte27CaptionSourceOptions = {
  ocrLanguage: ocrLanguage,
  pid: 123,
};
```

## Properties

- `ocrLanguage`: [OcrLanguage](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.OcrLanguage.html) — The OCR language to use when converting this image-based source to text.

  **Default:** MediaLive service default

- `pid`: number — The PID to extract captions from.

  **Default:** MediaLive service default

  See the MediaLive docs for how PID and `languageCode`
  interact.
