---
title: ZEC Adding File Streams
slug: zixi-broadcaster-v19-new-ui/zec-adding-file-streams
createdAt: 2024-12-26T19:04:33.360Z
---

This input creates a file input for the ZEC from a local or mounted disk and subsequently streams it to the end-user.

If the stream is an MPTS stream, you can either upload it as an MPTS file or you can demux it into separate SPTS input streams. To Demux the MPTS stream, create the input stream by following the instructions below, and then follow the instructions in the [ZEC Demuxing an MPTS Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-demuxing-an-mpts-stream) section.

## To Add a File Stream:

::::WorkflowBlock
:::WorkflowBlockItem
In the ZEC Navigation menu, click **Inputs**.
:::

:::WorkflowBlockItem
Click **Create**.

The **Select Input Type** page is displayed.
:::

:::WorkflowBlockItem
Select **MPEG-TS File**.

The **Create File Input** window is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/2PblNgeQSqdlvTb4gCMF2_create-file-input-3.png" size="80" width="789" height="796" position="center" alt="New File Input" darkWidth="789" darkHeight="796" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Input Parameters** section, in the **Input Name** field, enter the unique Stream I.D. for the ZEC.
:::

:::WorkflowBlockItem
Select the **Enable Logging** checkbox if you would like to generate event logs for this input.
:::

:::WorkflowBlockItem
Specify the **File Settings** (see [File Settings Table](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-file-streams#file-settings-table) below).
:::

:::WorkflowBlockItem
Specify the **Additional Settings** (see [Additional Settings](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-file-streams#additional-settings) below).
:::

:::WorkflowBlockItem
Click **Save**.

The “Input added” message appears at the top of the screen. The File Stream is added to the ZEC and now appears in the list of streams available in the  ZEC inputs UI.
:::
::::

### File Settings Table

| **Parameter** | Description                                                                                                                                                                                                                                                                                                                        |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Path**      | Type the local or mounted (Linux) disk or click the adjacent browse button to select the desired one.<br />The suffix .ts indicates a transmitted stream.<br />**Note:** see [Notes on the File Path](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-adding-file-streams#notes-on-the-file-path) below for more information |

## Notes on the File Path

- The paths the Broadcaster understands here are **not** operating system paths - full system paths such as `/home/user/videos/file.ts` or `C:\home\videos\file.ts` **will not work**.
- Instead, the file you wish to use must be in the **root folder** for the ZEC. The location of the root folder is shown in the **Settings >** **HTTPS Administration** page:

  ![Root Folder](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/hnn3CiFCGwseUPrlcPqTc-20260618-074743.png)
- Note that to change the root folder location, you must edit the **broadcaster-info.xml&#x20;**&#x66;ile, which is located in the Broadcaster installation folder.
- On the **Files** screen, you can **upload** files to the ZEC for use as file streams and also create **subfolders** to organize files.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/RXSNHsN4O-bsDWOrYRezq-20260618-075112.png" size="100" width="1920" height="338" position="center" alt="Files Tab" darkWidth="1920" darkHeight="338" showCaption="false" indent="1"}

- For files in **subfolders,&#x20;**&#x74;he **Path** is ***relative to the root folder*** - for example, if you create a *videos* subfolder and within the videos folder create another subfolder called *nature,&#x20;*&#x61;nd you want to use a file called *forest.ts* for the file stream, the path would be: `/videos/nature/forest.ts`

## Advanced Settings

:::hint{type="warning"}
The Advanced Settings are generally intended for advanced users and special cases. If you do not understand the settings, you should probably accept the default values.
:::

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/8cpFUIb7ynvUxby6kdt1G_file-input-advanced.png" size="80" isUploading="false" position="center" width="779" height="173" darkWidth="779" darkHeight="173" showCaption="false"}

### Advanced Settings Table

| **Parameter**   | **Description**                                                                                                                                                                                                                                                                                                                                                                               |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Compression** | Enables bandwidth optimization by replacing NULL packets with signaling information embedded in packet headers.<br />This reduces the overall bitrate without affecting content integrity. Since not all receivers support this compression method, it is optional. The system can receive compressed streams, but will only transmit compressed data when this option is explicitly enabled. |

## Additional Settings

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/W_asTBsXOiIg0dmSUz0ZZ-20260618-073929.png" size="80" width="1383" height="1266" position="center" darkWidth="1383" darkHeight="1266" showCaption="false"}

### Additional Settings Table

| **Parameter**                 | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Additional Input Settings** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Max Outputs                   | Specify the maximum number of concurrent output connections allowed for this stream. You can enter a value manually or use the Up/Down arrows that appear when hovering over the field. Default: Unlimited.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Latency offset (ms)           | Specify the additional buffering time in milliseconds. Increasing this value can improve stream stability in unstable network conditions, but will increase end-to-end delay. Default: 0 ms                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Inject Metadata               | Selecting this checkbox allows Zixi to create a PID that carries information about what hops a feed has travelled through on the way to its destination, including things like CC errors and IAT at each hop. The information is useful for debugging issues with streams.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Stats History                 | Select this checkbox to record stream statistics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Analyze                       | Select this checkbox if you would like to enable stream analysis for the input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Multicast                     | Select the **Enable Multicast On Pull Outputs** checkbox to enable the transmission of this stream’s outputs as multicast. A Broadcaster that will pull the stream will receive it in multicast. By default, ZEC is configured to allow transparent fallback to unicast if it is out of the LAN. Requires enabling **Multicast Pull** in the **Settings**.                                                                                                                                                                                                                                                                                                                                                                    |
| Multicast Only                | Select this checkbox to force only multicast outputs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Custom multicast address      | Select this checkbox to manually define a specific **Multicast IP** address, **Port**, and **TTL** for the output stream, overriding the system's global Multicast Pool settings.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Encryption**                | Encrypt the Input stream as it enters ZEC. The stream encryption prevents any further processing, such as analysis, transcoding, etc.<br />The encryption works in the following way:<br />- **If the stream has been encrypted at the source** - The stream will remain encrypted regardless of the output type. ZEC can only encrypt the stream after it has been decrypted.<br />- **If the stream is being encrypted by the ZEC** - it will be encrypted only if the output is a Zixi Pull or Zixi Push output. All other outputs will send out an unencrypted stream.<br />For more information, see [ZEC Encrypting an Input Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-encrypting-an-input-stream). |
| Encryption Type               | Select the type of Encryption:<br />- **None** (default) - no encryption<br />- **AES-128** - 32 hex characters (16 bytes) key<br />- **AES-192 -&#x20;**&#x34;8 hex characters (24 bytes) key<br />- **AES-256 -&#x20;**&#x36;4 hex characters (32 bytes) key                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Encryption Key                | Enter your own Encryption Key or click **Generate Key** to generate a random Encryption Key. The exact key should be used to decrypt the stream on the other end.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

