---
title: Using Output Templates
slug: zixi-broadcaster-zec-current-version/using-output-templates
docTags: 
createdAt: 2024-12-26T15:04:20.522Z
---

Instead of manually creating an output and then connecting the output to an input, you can define output templates with rules for automatic creation of outputs with predefined settings. The template includes an Input pattern. When an input pattern matches the pattern of an incoming input stream, the output is created automatically.&#x20;

### To create a new Output template:

::::WorkflowBlock
:::WorkflowBlockItem
Click the **Outputs** tab at the top of the Zixi Broadcaster administrative screen.
:::

:::WorkflowBlockItem
In the Menu bar, click the **Templates** button.

The **Output Templates** window is displayed:

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/dO9ef6Q8b8Y7115_2Q7rA_image.png" size="66" width="650" height="205" position="center" darkWidth="650" darkHeight="205" showCaption="false"}
:::

:::WorkflowBlockItem
Under **Input ID Parameters**, click **+**.

The **New Output Template Pattern** window is displayed:

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/IpmvRGTaAPrYPQ-C1kg6p_image.png" size="52" width="791" height="436" position="center" darkWidth="791" darkHeight="436" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Input Pattern** field, enter a pattern for the Stream ID of the input stream for which an output will be automatically created. This pattern will be used to identify the input stream and can include variables that are marked with the "$" sign followed by a number (e.g., $1, $2, etc.) and/or with an asterisk "\*" wildcard. The patterns should also include a part of the string that requires an exact match. For example, the pattern "$1\_stream\_$2kbps" will match an input stream "talk\_show\_stream\_600kbps".
:::

:::WorkflowBlockItem
Click **Apply**.

The newly created input ID pattern is added to the **Input ID Patterns** list.
:::

:::WorkflowBlockItem
From the **Input ID Patterns** list, select a pattern for which you want to relate an output template.
:::

:::WorkflowBlockItem
In the **Output Template Description** section, click the “**+**” button.

The **New Output Template** window is displayed:

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

:::WorkflowBlockItem
In the **Output Name** field, enter a name for the output that will be created. The name can include variables used in the **Input Pattern** field. For example, the pattern "$1\_ouput\_stream\_$2kps" will eventually create an output "talk\_show\_output\_stream\_600kbps", as it uses the variables that were defined in the Input Pattern field.
:::

:::WorkflowBlockItem
Select the desired output type and fill in the relevant Output parameters according to the instructions of the relevant section:

- UDP Output – Follow the instructions in the [Adding UDP Outputs](docId\:absWeJDsG6zGiQPWvouc1) section.
- RTMP Output – Follow the instructions in the [Adding RTMP and RTMPS Outputs](docId:-57f_3Q0CgpBP6_gQHaxq) section.
- Pull Output - Follow the instructions in the [Adding Pull Outputs](docId\:sMaYhAgFYpO7wtx_WnjaG) section.&#x20;
- Push Output - Follow the instructions in the [Adding Push Outputs](docId\:OJshbQBuhJUyo3D9L3MQJ) section.
- TCP Output - Follow the instructions in the [Adding TCP Outputs](docId\:x0JnBFoMHzcj3qDR8wYQi) section.
- HTTP Push - Follow the instructions in the [Adding HTTP Push Outputs](docId\:CT-h7h-tw7TGtiFuE94AQ) section. Note that the **Target URL** field can also use the same variables used in the **Input Pattern** field. For example, "https\://s3.amazon.com/zixi/$1\_folder\_$2kbps".
- AWS Output - Follow the instructions in the [Adding AWS Outputs](docId\:c2z2p5dt-tfITWSuibC4q) section. Note that the **URL** field can also use the same variables used in the **Input Pattern** field. For example, "[https://s3.amazon.com/zixi/$1\_folder\_$2kbps](https://s3.amazon.com/zixi/$1_folder_$2kbps)".
- RIST Output - Follow the instructions in the [Adding RIST Outputs](docId\:c7l7wsvTwzmDl6LrwR_ca) section.&#x20;
:::

:::WorkflowBlockItem
Click **OK**.

The template is added to the **Output Template Description** list. When an input pattern matches the pattern of an incoming input stream, the defined output is created automatically.
:::
::::

