Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Working with KLV metadata

Focus mode
Working with KLV metadata - MediaLive

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.

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.