# CASPAR server SDI and NDI output best and easiest workflow

**URL:** <https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466>\
**Category:** FAQ\
**Tags:** ndi\
**Created:** [February 26, 2023, 3:46pm UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466 "2023-02-26T15:46:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![badilla](https://casparcgforum.org/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@badilla](https://casparcgforum.org/u/badilla)\
**Post date:** [February 26, 2023, 3:46pm UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466/1 "2023-02-26T15:46:46Z")

</div>

Hello. I am running the latest Caspar server with the Caspar client with Decklink cards for SDI out and all works perfect.  
I wanted to have the outputs at the same time as NDI and I followed the instrucions from here

> **[NDI Consumer](https://github.com/CasparCG/help/wiki/NDI-Consumer)**
>
> File an issue here if you need help with CasparCG by the community-led support :+1: - CasparCG/help

It works fine by only doing the following:  
Added the  
`<ndi> <name>[custom name]</name> <allow-fields>false [true|false]</allow-fields> </ndi>`  
in the config file.

After that I send the command  
“add 1 ndi name xyz”  
in the server window

and I got the xyz NDI channel available in my network.

QUESTION: Is it a way to set up the server so it will always produce the NDI output without the need to write the command in the server window each time?  
I need to make sure the system will start that way so my colleagues using the server don’t need to write the command.  
Many thanks for any help.

Cris

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [February 26, 2023, 4:08pm UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466/2 "2023-02-26T16:08:26Z")

</div>

You should get rid of everything between square brackets `[]` so that it becomes valid XML. You can add a text instead of the custom name, but WITHOUT the brackets. That is what is displayed, when you list NDI sources.

You added this XML in the consumer part of a channel, did you?

---

<div class="post-metadata">

**Author:** ![badilla](https://casparcgforum.org/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@badilla](https://casparcgforum.org/u/badilla)\
**Post date:** [February 27, 2023, 12:17pm UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466/3 "2023-02-27T12:17:33Z")

</div>

Hej!  
I added the code  
`<ndi> <name>caspar1_studio7</name> <allow-fields>false [true|false]</allow-fields> </ndi>`  
before the tag and it works now. Many thanks for the advice.  
Cris

---

<div class="post-metadata">

**Author:** ![didikunz](https://casparcgforum.org/user_avatar/casparcgforum.org/didikunz/32/7_2.png) [@didikunz](https://casparcgforum.org/u/didikunz)\
**Post date:** [February 27, 2023, 1:36pm UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466/4 "2023-02-27T13:36:47Z")

</div>

> [@badilla](#):
>
> ```auto
> <ndi>
> <name>caspar1_studio7</name>
> <allow-fields>false [true|false]</allow-fields>
> </ndi>
> 
> ```

As I said earlier: Everything between [and] is wrong. It is there to tell you, what the possible settings are. But it is INVALID in an XML document. So the line `<allow-fields>false [true|false]</allow-fields>` will currently be ignored.

For your reference: The full channel should look something like this, where a few of the settings for the Decklink can be omitted:

```auto
<channel>
	<video-mode>1080i5000</video-mode>
	<straight-alpha-output>false</straight-alpha-output>
	<consumers>
		<decklink>
			<device>1</device>
			<embedded-audio>true</embedded-audio>
			<channel-layout>stereo</channel-layout>
			<latency>normal</latency>
			<keyer>external</keyer>
			<key-only>false</key-only>
			<buffer-depth>3</buffer-depth>
			<custom-allocator>true</custom-allocator>
		</decklink>
		<ndi>
			<name>caspar1_studio7</name>
			<allow-fields>false</allow-fields>
		</ndi>
	</consumers>
</channel>

```

---

<div class="post-metadata">

**Author:** ![badilla](https://casparcgforum.org/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@badilla](https://casparcgforum.org/u/badilla)\
**Post date:** [March 2, 2023, 10:37am UTC](https://casparcgforum.org/t/caspar-server-sdi-and-ndi-output-best-and-easiest-workflow/5466/5 "2023-03-02T10:37:31Z")

</div>

Hi again! Ok got it, changed now and looks good. Many thanks for the help.  
Regards,  
Badilla
