Step 6: Set up the video encode - AWS Elemental MediaLive

Step 6: Set up the video encode

In Step 5: Create output groups and outputs, you created the output groups and outputs that you identified when you planned the channel. Each output section contains a Stream settings section. You must now create all the video encodes.

General procedure

Follow this general procedure to set up the video encode.

  1. Decide how you're going to create each encode:

    • From scratch.

    • By sharing an encode that already exists in this output or another output in the channel.

    • By cloning an encode that already exists in this output or another output in the channel.

    You might have already made this decision. If not, you should decide now. For more information, see Step 4: Design the encodes.

    You can share or clone video encodes from one output to another in the same output group, or from one output to an output in another output group.

  2. Read the appropriate sections that follow.

Creating a video encode from scratch

To set up the video encodes in most types of output

  1. On the Create channel page, find the output group that you created.

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

  3. Choose the link for the video encode.

  4. For Codec settings, choose the codec to use for this encode. More fields appear.

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

    Note

    The Width and Height fields (which define the video resolution), the fields in the Framerate section, and the Bitrate field in the Rate control section all affect the output charges for this channel. For more information about charges, see the MediaLive price list.

To set up the video encodes in the Frame Capture types of output

  1. On the Create channel page, find the output group that you created.

  2. Under that output group, find the output and choose the link for the video encode.

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

  4. When you are ready, go to save the channel.

Creating a video encode by sharing

You can create one video encode and share it among several outputs. Follow the earlier procedure to create the encode once. Then set up the encode for the other outputs using the following steps.

Note that the procedure for sharing a video encode is nearly identical to the procedure for sharing an audio encode or captions encode.

To create a video encode by sharing

  1. On the Create channel page, find the output group that you created.

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

  3. If the output already contains a video encode, choose that video and then choose Remove video.

  4. Choose Add video. A menu appears that includes the option Use an existing video description, followed by a list of the videos that currently exist in the entire channel.

  5. Choose the video that you want to use. On the dialog that appears, choose Share the existing settings.

    The fields for this encode appear. Above the first field is an information message that lists all the outputs that share this encode.

    You might want to change the video description to include the term shared, as a reminder to yourself.

    Keep in mind that there is only one instance of this encode in the channel. Therefore, if you change a field, you will change the field in all the other outputs that use this encode.

    Remember this rule if you change the Video selector name field. If you specify a different selector in the encode in one output, you change it in all the outputs that share this encode. If you actually want to specify a different selector, you might need to clone the encode instead of sharing it.

Creating a video encode by cloning

You can create one video encode and clone it among several outputs. The source encode could be an encode that you created from scratch, or it could be an encode that was itself created by cloning. For example, create video-1, then clone it to video-2, then clone video-2 to video-3.

Note that the procedure for cloning a video encode is nearly identical to the procedure for cloning an audio encode or captions encode.

To create a video encode by cloning

  1. On the Create channel page, find the output group that you created.

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

  3. If there is a Video button on the left, choose that button and then choose Remove video.

  4. Choose Add video. A menu appears that includes the option Use an existing video description, followed by a list of the videos that currently exist in the entire channel.

  5. Choose the video encode that you want to use as the source for the new video encode.

  6. On the dialog that appears, choose Clone the existing settings. The fields for the encode appear, with the fields showing the values from the source encode.

  7. Change any fields, as appropriate.

    Keep in mind that this cloned encode is a new encode instance. If you change fields, you don't affect the source encode.