---
title: ZEC Fixing the Input Stream
slug: zixi-broadcaster-v19-new-ui/zec-fixing-the-input-stream
createdAt: 2024-12-26T19:25:39.689Z
---

The Fix feature can be used to normalize the timeline and/or replace broken frames in the stream:

- **Make timeline continuous** - if there are timeline jumps in the source, this feature will normalize the timeline, making it continuous. For example, this feature can be useful if the source is an HLS stream that jumps to display ads. In this case, if you want the timeline to be continuous, it is possible to achieve this by enabling this feature. Note that this feature creates a variant of the input, which means that it doubles your input.
- **Synchronize timeline** - ties a looping file's position to wall-clock time instead of to when the input was started.

:::Paragraph{indent="1"}
When it's OFF (default): the file simply starts from the beginning when the input starts, and loops from there. If you restart the input, or start the same file on a second Broadcaster, each one begins at the start of the file at the moment it was started - so they will not be at the same point in the file as each other.
:::

:::Paragraph{indent="1"}
When it's ON: the Broadcaster calculates where in the file it would be if the file had been playing continuously since a fixed reference time and jumps straight to that position. This means: The playout position is deterministic from the clock - restarting the input resumes at the "correct" point for the current time rather than jumping back to the beginning. Two or more Broadcasters playing the same looping file will stay aligned with each other because they all compute their position from the same clock reference rather than from their individual start moments.
:::

:::Paragraph{indent="1"}
This is what makes it possible to have multiple servers (or a restarted input) present the same looping file content in lock-step, as a continuous "always-on" channel, rather than each copy starting from frame one whenever it happens to be launched. PCR, PTS, and DTS are all derived from the NTP time.
:::

- **Broken frames replacement** - If the stream has frames with CC errors, the broken frames replacement feature replaces them with “skip” frames. This may solve issues such as an IRD that loses synchronization when receiving broken frames. Note that this feature creates a variant of the input, which means that it doubles your input.

The Fix process creates a new Input stream (Type - Error Concealed), which has the original Input (on which you selected the Fix action) as its source. In the following example, the original source is called “monkey\_loopback-...”. Following the Fix action, a new Input stream is created by the name “monkey\_loopback-...-ec”, in which “monkey\_loopback-...” is its source.&#x20;

![](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/zm1OOnqQdscQWGSmNsUdu-20260309-094632.png)

## To fix the Input Stream:

### Method 1 - from the Inputs page table

:::::WorkflowBlock
:::WorkflowBlockItem
On the **Inputs&#x20;**&#x70;age, navigate to the desired Input stream in the Inputs table.
:::

:::WorkflowBlockItem
Click the **More Options > Fix** action button.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/1IiTO53fna3FAacmKho4A_zec-input-action-fix.png" size="50" width="388" height="657" position="center" darkWidth="388" darkHeight="657" showCaption="false"}

The **Create Error Concealment Input** page is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/fhSXSBHeccISuLAgIgAHc_zec-create-error-concealment-input.png" size="80" width="1406" height="2350" position="center" darkWidth="1406" darkHeight="2350" showCaption="false"}
:::

::::WorkflowBlockItem
In the **Input Name** field, enter the unique Stream ID for the ZEC. This name will be the name/ID of the newly created stream, which includes the Fix process of the original Input.

:::hint{type="info"}
Note this **must** be identical (case sensitive) to the stream name configured in Broadcaster.
:::
::::

:::WorkflowBlockItem
In the **Max Outputs** field, 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.
:::

:::WorkflowBlockItem
In the **Latency offset (ms)** field, 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
:::

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

:::WorkflowBlockItem
Select the **Analyze** checkbox if you would like to enable stream analysis for the input.
:::

:::WorkflowBlockItem
Specify the **Error Concealment Settings** (see [Error Concealment Settings Table](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-fixing-the-input-stream#error-concealment-settings-table) below).

Select the desired checkboxes:

- **Make timeline continuous&#x20;**- this option will normalize the timeline, making it continuous.
- **Synchronize timeline** - this option enables the timeline to start a baseline value, allowing better failover experience when running streams in separate Broadcasters across different regions.&#x20;
- **Broken frames replacement&#x20;**– this option replaces broken frames with “skip” frames.
- **Padding bitrate \[kbps]** - enter a value for the rate at which padding will be added to maintain a specific output transport bitrate.
- **PCR Interval&#x20;**- select the frequency at which Program Clock Reference is inserted into the outputs Transport stream. Options include:
  - ATSC standard - 100 ms
  - DVB standard - 40 ms
:::

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

:::WorkflowBlockItem
Click **Save**.

The "Input Added" message appears at the top of the screen. The Error Concealed Stream is added to the ZEC and now appears in the list of streams available in the ZEC Inputs UI.
:::
:::::

### Method 2 - from the individual Input Details page

:::::WorkflowBlock
:::WorkflowBlockItem
On the **Inputs&#x20;**&#x70;age, navigate to the desired Input stream in the Inputs table.
:::

:::WorkflowBlockItem
Click on the desired Input to open the **Input Details** page for this Input.

The action buttons are displayed at the top right of the page.
:::

:::WorkflowBlockItem
Click the **More Options > Fix** action button.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/31jMq4JiQXKURvi56am8Q_zec-input-details-action-fix.png" size="50" width="323" height="573" position="center" darkWidth="323" darkHeight="573" showCaption="false"}

The **Create Error Concealment Input** page is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/fhSXSBHeccISuLAgIgAHc_zec-create-error-concealment-input.png" size="80" width="1406" height="2350" position="center" darkWidth="1406" darkHeight="2350" showCaption="false"}
:::

::::WorkflowBlockItem
In the **Input Name** field, enter the unique Stream ID for the ZEC. This name will be the name/ID of the newly created stream, which includes the Fix process of the original Input.

:::hint{type="info"}
Note this **must** be identical (case sensitive) to the stream name configured in Broadcaster.
:::
::::

:::WorkflowBlockItem
In the **Max Outputs** field, 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.
:::

:::WorkflowBlockItem
In the **Latency offset (ms)** field, 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
:::

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

:::WorkflowBlockItem
Select the **Analyze** checkbox if you would like to enable stream analysis for the input.
:::

:::WorkflowBlockItem
Specify the **Error Concealment Settings** (see [Error Concealment Settings Table](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-fixing-the-input-stream#error-concealment-settings-table) below).

Select the desired checkboxes:

- **Make timeline continuous&#x20;**- this option will normalize the timeline, making it continuous.
- **Synchronize timeline** - this option enables the timeline to start a baseline value, allowing better failover experience when running streams in separate Broadcasters across different regions.&#x20;
- **Broken frames replacement&#x20;**– this option replaces broken frames with “skip” frames.
- **Padding bitrate \[kbps]** - enter a value for the rate at which padding will be added to maintain a specific output transport bitrate.
- **PCR Interval&#x20;**- select the frequency at which Program Clock Reference is inserted into the outputs Transport stream. Options include:
  - ATSC standard - 100 ms
  - DVB standard - 40 ms
:::

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

:::WorkflowBlockItem
Click **Save**.&#x20;

The "Input Added" message appears at the top of the screen. The Error Concealed Stream is added to the ZEC and now appears in the list of streams available in the ZEC Inputs UI.
:::
:::::

### Error Concealment Settings Table

| **Parameter**             | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Inject Metadata           | Select this checkbox to insert metadata into the stream.                                                                                                                                                                                                                                                                                                                                                                                  |
| Source Input              | The name of the selected input. This field cannot be edited.                                                                                                                                                                                                                                                                                                                                                                              |
| Make timeline continuous  | Selecting this checkbox will normalize the timeline, making it continuous.                                                                                                                                                                                                                                                                                                                                                                |
| Synchronize timeline      | Selecting this checkbox will tie a looping file's playout position to wall-clock time.<br />- **Selected**: Calculates the playout position from a fixed reference time. This ensures that restarted inputs or multiple Broadcasters output the file in lock-step.<br />- **Cleared (Default)**: Starts playback from the beginning of the file as soon as the input is launched. Multiple instances of the same file may not be aligned. |
| Broken frames replacement | Selecting this checkbox will replace broken frames with "skip" frames.                                                                                                                                                                                                                                                                                                                                                                    |
| Padding bitrate (kbps)    | Enter a value in kbps for the rate at which padding will be added to maintain a specific output transport bitrate.                                                                                                                                                                                                                                                                                                                        |
| PCR interval              | Select the frequency at which the Program Clock Reference is inserted into the output's Transport stream. Options include:<br />- ATSC standard - 100 ms<br />- DVB standard - 40 ms                                                                                                                                                                                                                                                      |
| Renumber CC               | Select this checkbox to rewrite the CC counter for the downstream devices, so they will see a continuous increase in the counter. The Continuity Counter is part of the TS encapsulation. When there are CC errors in TR101 analysis, it means that the counter has a gap due to the lost frames.                                                                                                                                         |
| Delay (ms)                | Enter the delay that the Error Concealment adds to the stream in milliseconds. Error Concealment needs to buffer the stream to analyze it. One second is a reasonable value. Lower values may cause the Error Concealment to not be able to fix some of the frames.                                                                                                                                                                       |

## Additional Settings

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/aRPu2wS9ZdWMH62JPE8nN_zec-error-concealment-input-additional-settings.png" size="80" width="1411" height="3079" position="center" darkWidth="1411" darkHeight="3079" showCaption="false"}

### Additional Settings Table

| **Parameter**                       | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Additional Input Settings**       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Max Outputs                         | In the **Max Outputs** field, 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.<br />**Note**: This setting can be modified without interrupting an existing stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| 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: 4000 ms                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Inject Metadata                     | Select this checkbox to insert metadata into the stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 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 Zixi receiver that will pull the stream will receive it in multicast. By default, Zixi Broadcaster is configured to allow transparent fallback to unicast if it is out of the LAN. Requires enabling **Multicast Pull** in the **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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| SCTE-3&#x35;**&#x20;Injection**     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Support SCTE-35 injection           | Select this checkbox if you would like the stream to support SCTE-35 insertion.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Remove old SCTE-35 packets          | If SCTE-35 injection is supported, select this checkbox to clear out existing packets.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| SCTE-35 PID                         | Enter a PID number for SCTE-35 injection. You can enter a value manually or use the Up/Down arrows that appear when clicking the field. (or leave as **Auto** to match existing SCTE-35 PID)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Timeout for CBR \[90Khz]            | Designate an appropriate **timeout interval** when searching for a NULL packet to replace with the SCTE-35 packet to maintain PCR accuracy in CBR streams. You can enter a value manually or use the Up/Down arrows that appear when hovering over the field. If no NULL Packet is detected by the time the timeout is reached, the SCTE-35 will be inserted anyway, breaking PCR Accuracy momentarily. (if stream is VBR, set this to 0). The value is in cycle ticks, so 90,000 = 1000 ms, 180,000 = 2000 ms, etc.                                                                                                                                                                                                                                                                                                                                                                                            |
| **Recording**                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| File Name Template                  | Specify the file name pattern that Zixi will use to generate when saving the recorded content. A separate file will be generated for each recording up to the time specified in the Max recorded file duration parameter (see above). After this duration, a new file will be generated.<br />The file name pattern can include any string and up to five variables listed below. Only the %T=HH.MM.SS creation time is mandatory. You can change the order of these variables and add text as long as you maintain the legitimate structure of the file in Linux and Windows:<br />- %S=stream id - optional.<br />- %Y=year - optional<br />- %M=month - optional<br />- %D=day - optional<br />- %T=HH.MM.SS creation time - mandatory<br />- %U=YYYYmmddTHHMMSSZ UTC timestamp<br />For example, the following pattern %Y\_recording%T.ts will generate the following file name 2017\_recording15:32:35.ts. |
| Custom Path                         | Optionally specify a storage location for the recorded files that is relative to the root folder. This location bypasses the location specified as the root folder in the **Settings** > **General&#x20;**&#x73;creen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Max recorded file duration (HH\:MM) | Specify the maximum time allotted for recording a video stream. Default: 2 hours                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Keep recorded files for (HH\:MM)    | Specify the maximum time for storing the recording. Default: 0 hours                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Billing Code**                    | Billing codes are used to identify and differentiate traffic on a Zixi Broadcaster for billing purposes. When a billing code is added to a Source or Target, Zixi can track the traffic on that Broadcaster input or output separately from other inputs and outputs on the same Broadcaster. Billing codes are created by Zixi personnel on the Zixi Customer Portal for a particular organization.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Billing Code                        | Enter the billing code that corresponds to this stream. The relevant billing can be obtained from the organization that received the billing code from Zixi.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Billing Password                    | Enter the password that corresponds to this billing code.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Validate                            | Click to validate the Billing information.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |



The Fix feature can be used to normalize the timeline and/or replace broken frames in the stream:

- **Make timeline continuous** - if there are timeline jumps in the source, this feature will normalize the timeline, making it continuous. For example, this feature can be useful if the source is an HLS stream that jumps to display ads. In this case, if you want the timeline to be continuous it is possible to achieve this by enabling this feature. Note that this feature creates a variant of the input, which means that it doubles your input.
- **Broken frames replacement** - If the stream has frames with CC errors, the broken frames replacement feature replaces them with “skip” frames. This may solve issues such as an IRD that loses synchronization when receiving broken frames. Note that this feature creates a variant of the input, which means that it doubles your input.

The Fix process creates a new Input stream (Type - Error Concealed), which has the original Input (on which you selected the Fix action) as its source. In the following example, the original source is called “clocks-udp”. Following the Fix action, a new Input stream is created by the name “123”, in which “clocks-udp” is its Source.&#x20;

![](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/R4kRC0pXEJsQlRJYv7QJn_image.png)

**To fix the Input Stream:**

::::WorkflowBlock
:::WorkflowBlockItem
In the **Inputs** page, click the desired input stream that you want to fix.
:::

:::WorkflowBlockItem
Click the **Actions** button on the selected row and then choose **Fix**.
The following dialog is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/1CGjNLXIk4XEQx5SJVJO-_image.png" size="38" width="369" height="351" position="center" darkWidth="369" darkHeight="351" showCaption="false"}
:::

:::WorkflowBlockItem
Enter a unique **Stream ID** for the Input Stream. This name will be the name/ID of the newly created stream, which includes the Fix process of the original Input.
:::

:::WorkflowBlockItem
Select  the maximum concurrent connections to this stream from the **Max. Outputs** drop-down list. Default: Unlimited.
:::

:::WorkflowBlockItem
Select the Show in **Matrix** checkbox to display this stream in the Matrix (see [ZEC Using the Matrix](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-using-the-matrix) ). Default: Selected.
:::

:::WorkflowBlockItem
Under Stream Parameters select the desired checkboxes:

- **Make timeline continuous&#x20;**- this option will normalize the timeline, making it continuous.
- **Broken frames replacement&#x20;**– this option replaces broken frames with “skip” frames.&#x20;
- **Padding bitrate \[kbps]** - enter a value for the rate at which padding will be added to maintain a specific output transport bitrate.
- **PCR Interval&#x20;**- select the frequency at which Program Clock Reference is inserted into the outputs Transport stream. Options include:
  - ATSC standard - 100 ms
  - DVB standard - 40 ms
:::

:::WorkflowBlockItem
If you want to Enable encryption , select this checkbox (see Input Stream Parameters Table). For more information, see [ZEC Encrypting an Input Stream](https://docs.zixi.com/zixi-broadcaster-v19-new-ui/zec-encrypting-an-input-stream) .
:::

:::WorkflowBlockItem
If you want to configure the **Recording Parameters**, specify them in the respective fields (see Input Stream Parameters Table for the type of input you are working with).
:::
::::

