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

The source of timecode for the channel outputs.

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

## Example

```ts
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;

new medialive.Channel(stack, 'Channel', {
  inputs: [{ input }],
  timecodeConfig: {
    source: medialive.TimecodeSource.EMBEDDED,
  },
  globalConfiguration: {
    outputLocking: medialive.OutputLocking.epoch(),
    outputTimingSource: medialive.OutputTimingSource.INPUT_CLOCK,
  },
  outputGroups: [
    medialive.OutputGroupConfiguration.hls({
      name: 'hls',
      destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
      outputs: [{ encodes: [video, audio], outputName: 'hls_out' }],
    }),
  ],
});
```

## Properties

- `EMBEDDED`: [TimecodeSource](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TimecodeSource.html) (static) — Use embedded timecode from the source.

  Falls back to zero-based if not detected.

- `SYSTEMCLOCK`: [TimecodeSource](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TimecodeSource.html) (static) — Use the system clock (UTC).

- `value`: string — The underlying string value passed to CloudFormation.

- `ZEROBASED`: [TimecodeSource](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.TimecodeSource.html) (static) — Start at 00:00:00:00.

## Methods

- `of(value: string): TimecodeSource // chainable` (static) — A value not yet modelled by AWS CDK.
