Working with KLV metadata - MediaLive

Working with KLV metadata

You can configure MediaLive to pass through KLV metadata in TS outputs. The metadata must be compliant with SMPTE 336M-2007.

In an input, KLV metadata might be contained in a SMPTE 2038 stream or in a PID in a transport stream:

  • If the KLV metadata is in a SMPTE 2038 stream in a specific input, you must configure the input to extract it. See Handling SMPTE 2038 metadata.

  • If the KLV metadata is in a PID, read the topics that follow.

Note that if an AWS Elemental Link device is the input, the KLV metadata is always in a SMPTE 2038 stream. Therefore, read the SMPTE 2038 section.

Configuring inputs

When MediaLive ingests an input that contains a TS source, it automatically extracts KLV metadata that it finds. You don't need to configure the input.

Configuring outputs

You can choose to pass through the KLV metadata in one or more of the following output groups.

Note

The information in this section assumes that you are familiar with the general steps for creating a channel, as described in Creating a channel from scratch.

Archive

  1. On the Create channel page, in the Output groups section, in the Archive group, choose the output.

  2. In Output settings, select Container settings, then select PID settings.

  3. Set these fields:

    • KLV: Choose PASSTHROUGH

    • KLV data PIDs: Enter the PID where you want the KLV metadata.

MediaPackage

MediaPackage outputs are automatically set up for passthrough. If MediaLive finds KLV metadata in an input, it passes it through in a MediaPackage output, in PID 501.

HLS

You can pass through KLV metadata in any output that has a standard HLS container (a TS container).

  1. On the Create channel page, in the Output groups section, in the HLS group, choose the output.

  2. In Output settings, make sure that HLS settings specifies Standard HLS.

  3. In HLS settings, select PID settings.

  4. Set these fields:

    • KLV: Choose PASSTHROUGH

    • KLV data PIDs: Enter the PID where you want the KLV metadata.

UDP/TS

  1. On the Create channel page, in the Output groups section, in the UDP group, choose the output.

  2. In Output settings, select Network settings, then select PID Settings.

  3. Set these fields:

    • KLV: Choose PASSTHROUGH

    • KLV data PID: Enter the PID where you want the KLV metadata.