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

AV1 rate control.

AV1 supports QVBR and CBR.

Obtainable from: Av1RateControl.cbr, Av1RateControl.qvbr

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/video-codec-settings.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/video-codec-settings.ts#L1095)

## Example

TypeScript:

```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';
import * as cdk from 'aws-cdk-lib';

declare const bitrate: cdk.Bitrate;
const av1RateControl = medialive_alpha.Av1RateControl.cbr({
  bitrate: bitrate,
});
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk

# bitrate: cdk.Bitrate

av1_rate_control = medialive_alpha.Av1RateControl.cbr(
    bitrate=bitrate
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
import software.amazon.awscdk.*;

Bitrate bitrate;

Av1RateControl av1RateControl = Av1RateControl.cbr(CbrRateControlProps.builder()
        .bitrate(bitrate)
        .build());
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
using Amazon.CDK;

Bitrate bitrate;

var av1RateControl = Av1RateControl.Cbr(new CbrRateControlProps {
    Bitrate = bitrate
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"

var bitrate Bitrate

av1RateControl := medialive_alpha.Av1RateControl_Cbr(&CbrRateControlProps{
	Bitrate: bitrate,
})
```

## Methods

- `cbr(props: CbrRateControlProps): Av1RateControl // chainable` (static) — Constant bitrate.

- `qvbr(props: QvbrRateControlProps): Av1RateControl // chainable` (static) — Quality-defined variable bitrate.
