Step 2: Setting up for pipeline locking - AWS Elemental MediaLive

Step 2: Setting up for pipeline locking

Pipeline locking is always enabled. But you must set up the channel to make sure that MediaLive can successfully perform pipeline locking in your output groups.

Note

All the procedures in this section assume that you are familiar with the general steps for creating a channel, as described Creating a channel from scratch.

Setting the mode and timecode for pipeline locking

Configure the pipeline locking mode

  1. In the channel that you are creating, in the navigation pane, choose General settings. Then choose Global configuration.

  2. Choose Enable global configuration.

  3. In Output locking mode, choose the mode—pipeline_locking or epoch_locking. For details about the options, choose the Info link next to the field.

  4. In the General settings section, choose Timecode configuration. Set Source to Embedded. You must set this field, otherwise MediaLive won't attempt to perform pipeline locking.

    You can optionally set the Sync threshold. This field has no effect on pipeline locking.

Setting up an HLS, MediaPackage, or Microsoft Smooth output group

In an HLS output group or Microsoft Smooth output group, you must set up the framerate for each video encode.

Set up for pipeline locking

  1. In the channel that you are creating, in the navigation pane, choose the HLS or Microsoft Smooth output group.

  2. If necessary, create the outputs and video encodes in each output, then choose the first video encode.

  3. In the Codec settings field, choose the codec. More fields appear.

  4. Choose the Frame rate section and set the following fields:

    • Framerate control: We recommend you choose Specified. The option Initialize_from_source doesn't work well with pipeline locking.

    • Framerate numerator and Framerate denominator: Set the desired resolution for the output. Make sure that the conversion from input framerate to output framerate meets the requirements.

  5. Continue setting up the channel.

Setting up a UDP output group

In a UDP output group, you must obtain information about segmentation markers, and set up the segmentation markers for framerate for each video encode.

Set up for pipeline locking

  1. You need information about the how to configure segmentation in the outputs. This information is contained in fields on the Create channel page on the console. To display the fields, in the navigation pane choose Archive group. Then choose an output and choose Network settings. Choose the Info link next to each of the following fields:

    • Segmentation markers

    • Segmentation time

    • EBP lookahead msec

    • Fragment time

    • Segmentation style

    • EBP placement

    • EBP audio interval

  2. Speak to your contact at the downstream system to obtain recommended values for these fields.

  3. In the channel that you are creating, in the navigation pane, choose the Archive output group.

  4. If necessary, create the outputs. Then in the Output settings, choose Network settings. More fields appear.

  5. Choose Container settings and set values for the segmentation fields listed in step 1. It's possible that some of the fields don't apply to the segmentation markers you choose.

  6. If necessary, create the video encodes in each output, then choose the first video encode.

  7. In the Codec settings field, choose the codec. More fields appear.

  8. Choose the Frame rate section and set the following fields:

    • Framerate control: We recommend you choose Specified. The option Initialize_from_source doesn't work well with pipeline locking.

    • Framerate numerator and Framerate denominator: Set the desired framerate for the output. Make sure that the conversion from input framerate to output framerate meets the requirements.

  9. Continue setting up the channel.