---
title: Demuxing an MPTS Stream
slug: zixi-broadcaster-zec-current-version/demuxing-an-mpts-stream
docTags: 
createdAt: 2024-12-25T19:45:03.265Z
---

MPTS (Multi Program Transport Streams) streams can be demuxed into single SPTS (Single Program Transport Streams) streams. MPTS demuxing is available for Pull, Push, UDP, and File input streams. From the various programs in the MPTS stream, you can select specific programs, which will be turned into individual SPTS input streams.&#x20;

### To demux an MPTS stream:

::::WorkflowBlock
:::WorkflowBlockItem
Create a Pull/Push/UDP/File input stream using an MPTS stream.
:::

:::WorkflowBlockItem
In the **Inputs** page, click the newly created input stream that you want to demux.
:::

:::WorkflowBlockItem
Click the action ⚙️ button on the right end of the selected row and then **Edit**.
The Edit input stream name window is displayed.&#x20;
:::

:::WorkflowBlockItem
Select the **Demux MPTS&#x20;**&#x63;heckbox.
:::

:::WorkflowBlockItem
In the **Transport ID** field, enter a program ID and click **Scan**, or click **Scan** to view all programs.

A list of included programs is displayed:

![Program list from MPTS](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/oaYMil1phvlNPd4RWZ9WY_image.png)
:::

:::WorkflowBlockItem
Click **Add Program** on the program that you want to create a separate SPTS input stream.

An **Add Input&#x20;**&#x73;creen opens with the new SPTS input details, including a suggested **Stream ID**, the original MPTS as a Source Stream, and the relevant **Program&#x20;**&#x6E;umber.


::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/j2SMnaOUM-disWjXaaKwm_image.png" size="60" width="855" height="1240" position="center" alt="New MPTS dialog" darkWidth="855" darkHeight="1240" showCaption="false"}

&#x20;
:::

:::WorkflowBlockItem
In the **Max Bitrate&#x20;**&#x66;ield, specify the maximum bitrate of the stream. This is used for internal memory allocation and will not affect the transmitted bitrate. Recommended: double the bitrate of the highest bitrate stream.
:::

:::WorkflowBlockItem
Select the **Pad to CBR&#x20;**&#x74;o achieve CBR (constant bitrate) by padding the stream with TS null packets.
:::

:::WorkflowBlockItem
Configure additional parameters as necessary.
:::

:::WorkflowBlockItem
Click **OK**.

&#x20;The channel is assigned an input:

&#x20;

![Channel with assigned input](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/ZV04TG-DSNcLXDizf6zox_image.png)
:::

:::WorkflowBlockItem
Repeat steps 5-8 to add more programs.
:::

:::WorkflowBlockItem
Click **OK**.

The newly created MPTS input stream and the related SPTS input streams will appear in the Inputs list.&#x20;


![New MPTS Stream](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/fwEM8OmWF5g-oowjh_cuQ_image.png)
:::
::::

