Select the closed caption tracks carried by the video input before enabling them in the encoding and output.

1. Open **Services**.
2. Select `Edit` icon for a service or create a service to configure its video selection.
3. On **Input stream selection**, select `Edit` icon for the video.
4. Expand **Closed Caption / SCTE20** and select up to four tracks.
5. Enter an ISO 639-2 language code for each selected track.
6. Select **Apply**. The tracks appear in the **Closed caption** column on **Input stream selection**.
7. Open **Encoding**, select `Edit` icon for the video encoding, expand **Stream metadata settings**, and select **Insert closed captions**.
8. On **Output**, select **Generate TTML files**. The selected tracks appear and the encoder sends the Timed Text Markup Language (TTML) files to the [output location](/traditional-products-and-appliances/components/on-demand-encoder/network-configuration/mount-points).
9. Select **Apply**.

For MediaKind Packager to package the asset, extract the closed captions and convert them to TTML.
