ZEC Fixing the Input Stream
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.
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.
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.
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.

To fix the Input Stream:
Method 1 - from the Inputs page table
On the Inputs page, navigate to the desired Input stream in the Inputs table.
Click the More Options > Fix action button.

The Create Error Concealment Input page is displayed.

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.
Note this must be identical (case sensitive) to the stream name configured in Broadcaster.
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.
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
Select the Enable Logging checkbox if you would like to generate event logs for this input.
Select the Analyze checkbox if you would like to enable stream analysis for the input.
Specify the Error Concealment Settings (see Error Concealment Settings Table below).
Select the desired checkboxes:
- Make timeline continuous - 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.
- Broken frames replacement – 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 - 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
Specify the Additional Settings (see Additional Settings below).
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
On the Inputs page, navigate to the desired Input stream in the Inputs table.
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.
Click the More Options > Fix action button.

The Create Error Concealment Input page is displayed.

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.
Note this must be identical (case sensitive) to the stream name configured in Broadcaster.
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.
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
Select the Enable Logging checkbox if you would like to generate event logs for this input.
Select the Analyze checkbox if you would like to enable stream analysis for the input.
Specify the Error Concealment Settings (see Error Concealment Settings Table below).
Select the desired checkboxes:
- Make timeline continuous - 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.
- Broken frames replacement – 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 - 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
Specify the Additional Settings (see Additional Settings below).
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.
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.
|
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:
|
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

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. 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. The encryption works in the following way:
For more information, see ZEC Encrypting an Input Stream. |
Encryption Type | Select the type of Encryption:
|
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-35 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. 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:
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 screen. |
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.

To fix the Input Stream:
In the Inputs page, click the desired input stream that you want to fix.
Click the Actions button on the selected row and then choose Fix. The following dialog is displayed.

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.
Select the maximum concurrent connections to this stream from the Max. Outputs drop-down list. Default: Unlimited.
Select the Show in Matrix checkbox to display this stream in the Matrix (see ZEC Using the Matrix ). Default: Selected.
Under Stream Parameters select the desired checkboxes:
- Make timeline continuous - this option will normalize the timeline, making it continuous.
- Broken frames replacement – 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 - 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
If you want to Enable encryption , select this checkbox (see Input Stream Parameters Table). For more information, see ZEC Encrypting an Input Stream .
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).