

# Creating a video encode from scratch
<a name="create-video-scratch"></a>

You can create a video encode by entering values in all the appropriate fields. Follow this procedure for video in all types of outputs except for Frame capture outputs. 

1. On the **Create channel** page, find the output group that you [created](creating-a-channel-step4.md). 

1. Under that output group, find the output where you want to set up a video encode.

1. Choose the link for the video encode.

1. For **Codec settings**, choose the codec to use for this encode. More fields appear in several sections.

1. Complete each field as appropriate. For details about a field, choose the **Info** link next to the field. 

**Topics**
+ [Width and height (resolution)](#video-encode-resolution)
+ [Rate control](#video-encode-ratecontrol-fields)
+ [Framerate](#video-encode-framerate)
+ [Codec details](#video-encode-codec-details)
+ [Timecode](#video-encode-timecode)
+ [Color space](#video-encode-colorspace)
+ [Additional encoding settings](#video-encode-additional-settings)

## Width and height (resolution)
<a name="video-encode-resolution"></a>

For information about the **Width** and **Height** fields (which define the video resolution), choose the **Info** link for each field. The frame rate affects the output charges for this channel. For more information about charges, see [the MediaLive price list](https://aws.amazon.com/medialive/pricing/).

## Rate control
<a name="video-encode-ratecontrol-fields"></a>

For information about the **Rate control** fields, see [Setting the rate control mode](video-encode-ratecontrol.md). There are fields in this section that affect the output charges for this channel. For more information about charges, see [the MediaLive price list](https://aws.amazon.com/medialive/pricing/).

## Framerate
<a name="video-encode-framerate"></a>

For information about the **Framerate** fields, choose the **Info** link for each field. The frame rate affects the output charges for this channel. For more information about charges, see [the MediaLive price list](https://aws.amazon.com/medialive/pricing/).

## Codec details
<a name="video-encode-codec-details"></a>

### Profile field for H.264
<a name="video-encode-codec-details-h264-"></a>

The **Profile** field sets the profile, chroma sampling, and bit depth. 


|  Value in **Profile** field  |  Profile   |  Chroma Sampling   |  Bit Depth   | 
| --- | --- | --- | --- | 
| **Baseline**  | Baseline  | 4:2:0  | 8-bit  | 
| **Main**  | Main  | 4:2:0  | 8-bit  | 
| **High**  | High  | 4:2:0  | 8-bit  | 
| **High 10bit**  | High  | 4:2:0  | 10-bit  | 
| **High 422**  | High  | 4:2:2  | 8-bit  | 
| **High 422 10bit** | High  | 4:2:2  | 10-bit  | 

### Profile field for H.265
<a name="video-encode-codec-details-h265-profile"></a>

The **Profile** field sets the profile, chroma sampling, and bit depth. 


| Value in Profile field |  Profile   |  Chroma Sampling   |  Bit Depth   | 
| --- | --- | --- | --- | 
| Main | Main  | 4:2:0  | 8-bit  | 
| Main\_10BIT | Main  | 4:2:0  | 10-bit  | 

### Bit depth and level fields for AV1
<a name="video-encode-codec-details-av1"></a>

The **Bit Depth** field sets the bit depth for the AV1 output encode. Choose **DEPTH\_8** for 8-bit output or **DEPTH\_10** for 10-bit output. If you don't specify a value, the default is 8-bit.

The **Level** field sets the level. Other encoding schemes (profile, chroma sampling, and tier) are hard-coded. For more information, see [Encoding schemes for the AV1 codec](video-characteristics-encoding-schemes.md#video-characteristics-encoding-schema-av1).

## Timecode
<a name="video-encode-timecode"></a>

For information about the **Timecode** fields, see [Working with timecodes and timestamps](timecode.md).

## Color space
<a name="video-encode-colorspace"></a>

For information about the **Color space** fields, see [Handling complex color space conversions](color-space.md).

## Additional encoding settings
<a name="video-encode-additional-settings"></a>

For information about the **Additional encoding setting**s fields, see [Setting up enhanced VQ mode](video-enhancedvq.md)

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for MediaLive. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query medialive` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
