# Transport Stream

## Create an output transport stream (mux)

1. Display services.
2. Click **Add service** > **Multiplexing**.

## Configure output transport stream elements

1. Display services.
2. Click  to edit the service and display parameters. The transport stream parameters display.
3. Select the transport stream, or an element in the stream, and use the action buttons to add, delete or organize items.

Parameters, properties and options vary depending on the selected transport stream item.

## Configure a transport stream

Create an output Transport Stream to aggregate outputs from multiple Encoding Live encoder sources.

Before you start, ensure the multicast addresses of the Encoding Live output streams are known.

1. Create a new **Multiplexing** service and configure the service settings.
2. Configure the Transport Stream parameters:
   1. Open the **Mux** tab to configure bit rate and TS levels.
   2. Open the **Output** tab and select the output type:
      - IP output type: enter the IP stream address and destination UDP port
      - ASI output type: select the connector(s)
      - RIST output type: select the RIST mode (Caller or Listener) and connections details
   3. Open the **PSI/SI** tab and configure the PSI/SI generation and table repetition rates.
3. Click **add** to add more Pass-through encoding services to the transport stream.

If the **Input Program** number is unknown then set to 0 to choose the first program referenced in the PAT of the incoming SPTS.
4. Save settings to return to the services page.
5. Assign a server and start the Output Transport stream.

## Organize elements in the transport stream

1. Display services.
2. Click  to edit the service and display parameters. The transport stream parameters display.
3. Use the buttons to shift up or down, to add or delete, or filter items in the stream.

## Delete an element from the transport stream

1. Display services.
2. Click  to edit the service and display parameters. The transport stream parameters display.
3. Click  to delete the item.

## Configure a service in the transport stream

1. Display services.
2. Click  to edit the service and display parameters. The transport stream parameters display.
3. Select the **Service** item in the transport stream, or select the transport stream and add a service to the output transport stream. The properties display.

## Configuring a remux transport stream

Create a basic output TS from fixed source input SPTS or MPTS. This section will describe how to select incoming PIDs and remap them into a new output Transport stream.

1. Create a new Multiplexing Service and configure the service settings.
2. Configure Transport Stream parameters.
3. Click **add** to add output services to the transport stream.
4. Click **Save and continue** to scramble Service 1. The MediaKind ECM is present in the output transport stream.

## Configuring a simulcrypt output transport stream

### Specific configuration with an external EIS

If External EIS is being used:

1. Click **Services** in the left-side menu panel.
2. Edit the Multiplexing Service that you want to scramble.
3. Select the **Scrambling** tab.
4. Select **Transport Stream** under the **Scrambling Groups** panel.
5. Click the **Enable EIS** check-box.

### Configuring a simulcrypt output transport stream

Create a basic output TS from fixed source input SPTS or MPTS. This section will describe how to remux services and scramble them in the output transport stream.

1. Create **SCG 1**.
2. Edit the Multiplexing Service that you want to scramble. The service configuration options display.
3. Select the **Scrambling** tab.

## Configuring a fixed key output transport stream

1. Create SCG 1.
2. Edit the Multiplexing Service that you want to scramble. The service configuration options display.
3. Select the **Scrambling** tab.

## Configuring a BISS-CA output transport stream

1. Create **SCG 1**.
2. Edit the Multiplexing service that you want to scramble. The service configuration options display.
3. Select the **Scrambling** tab.

## Configuring a dynamic PID output transport stream (remapping PID for remuxing)

Create a basic output TS from fixed source input SPTS or MPTS. This example configuration describes how to select incoming PIDs and remap them into a new output Transport stream.

1. Create a new Multiplexing Service: **Services** > **Add service** > **Multiplexing**. The service options display.
2. Configure the required parameters in the **Mux** tab.
3. Configure the output multicast details in the **Output** > **Output** tab. Multiple outputs for the same Transport Stream can be added using the `+Add` button.
4. Configure **Tables** in the **PSI/SI** tab.
5. Add a TOT descriptor to the output service.
6. Click **Add output** and configure components for **Service 1**.
7. Click **Save and exit** to apply changes.
8. Assign a server to the service.
9. Click  to start the transport stream.

The Status column shows **started**.
