NDI Config and Support for OBS

Trying to config the latest server for NDI output to use with OBS and not having much luck. Any help would be appreciated.

sorry but I will explaine as good as you
NDI works for me with latest version, both fullscreen and alpha generated templates.
So lets go through the process

  • OBS can receive NDI (checked for example with NDI Tools Test generator)
  • CasparCG sends NDI (recived with NDI Tools Studio Monitor)
    if CasparCG is not sending NDI are there under channel added NDI in the config-file?
    my channels in my NDI-config-file
     <channels>
        <channel>
            <video-mode>1080i5000</video-mode>
            <consumers>
            <screen>
                <device>1</device>
                <aspect-ratio>default</aspect-ratio>
                <stretch>fill</stretch>
                <windowed>true</windowed>
                <key-only>false</key-only>
                <vsync>false</vsync>
                <borderless>false</borderless>
                <interactive>true</interactive>
                <always-on-top>false</always-on-top>
                <x>3300</x>
                <y>100</y>
                <width>480</width>
                <height>270</height>
                <sbs-key>false [true|false]</sbs-key>
                <colour-space>RGB [RGB|datavideo-full|datavideo-limited] (Enables colour space convertion for DataVideo TC-100 / TC-200)</colour-space>
            </screen>
            <ndi>
                <name>CasparCG_1</name>
                <allow-fields>false</allow-fields>
            </ndi>
            </consumers>
        </channel>
        <channel>
            <video-mode>1080i5000</video-mode>
            <consumers>
            <screen>
                <device>1</device>
                <aspect-ratio>default</aspect-ratio>
                <stretch>fill</stretch>
                <windowed>true</windowed>
                <key-only>false</key-only>
                <vsync>false</vsync>
                <borderless>false</borderless>
                <interactive>true</interactive>
                <always-on-top>false</always-on-top>
                <x>3300</x>
                <y>500</y>
                <width>480</width>
                <height>270</height>
                <sbs-key>false [true|false]</sbs-key>
                <colour-space>RGB [RGB|datavideo-full|datavideo-limited] (Enables colour space convertion for DataVideo TC-100 / TC-200)</colour-space>
            </screen>
            <ndi>
                <name>CasparCG_2</name>
                <allow-fields>false</allow-fields>
            </ndi>
            </consumers>
        </channel>
    </channels>

Please!!! Why has nobody ever found the button </> to format the configs?

By the way you have the lines:

<sbs-key>false [true|false]</sbs-key>
<colour-space>RGB [RGB|datavideo-full|datavideo-limited] (Enables colour space convertion for DataVideo TC-100 / TC-200)</colour-space>

That is wrong, they have been copied from the instruction part bellow, whitout editing. XML (that’s what the config is) does not know what to do with these [ blabla ] parts. To be valid it should lock something like that:

<sbs-key>false</sbs-key>
<colour-space>RGB</colour-space>

Hey guys. Apologies for not including more in my question.

System:
Windows 10 Pro - 20H2
Intel® Core™ i7-9700K CPU @ 3.60GHz 3.60 GHz
32.0 GB
NVIDIA GeForce GTX 1660 SUPER
NewTek NDI 4.0 Tools
CasparCG Server 2.0.7

Thanks. Here is my config:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>media\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
	<video-mode>1080p5994</video-mode>
        <consumers>
          <screen>
            <device>1</device>
          </screen>
	  <ndi>
            <name>CasparCG_1</name>
            <allow-fields>false</allow-fields>
          </ndi>
          <system-audio />
        </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>

When it runs, the server window reports “Invalid consumer: ndi”

I’ll post the log file as well in another reply. Thanks.

Log file below:

2021-04-22 09:05:32.097] [3204] [info]    ############################################################################
[2021-04-22 09:05:32.097] [3204] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-04-22 09:05:32.097] [3204] [info]    under the GNU General Public License GPLv3 or higher.
[2021-04-22 09:05:32.097] [3204] [info]    Please see LICENSE.TXT for details.
[2021-04-22 09:05:32.098] [3204] [info]    http://www.casparcg.com/
[2021-04-22 09:05:32.098] [3204] [info]    ############################################################################
[2021-04-22 09:05:32.100] [3204] [info]    Starting CasparCG Video and Graphics Playout Server 2.0.7.e9fc25a Stable
[2021-04-22 09:05:32.100] [3204] [info]    on Windows 10 Enterprise 
[2021-04-22 09:05:32.100] [3204] [info]    Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Physical Threads: 8
[2021-04-22 09:05:32.100] [3204] [info]    System Product Name
[2021-04-22 09:05:32.142] [3204] [info]    Decklink 12.0
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [1]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [2]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [3]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [4]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [5]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [6]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [7]
[2021-04-22 09:05:32.201] [3204] [info]     - DeckLink Quad 2 [8]
[2021-04-22 09:05:32.202] [3204] [info]    Bluefish Not found
[2021-04-22 09:05:32.202] [3204] [info]    FreeImage 3.15.4
[2021-04-22 09:05:32.202] [3204] [info]    FFMPEG-avcodec 55.52.102
[2021-04-22 09:05:32.202] [3204] [info]    FFMPEG-avformat 55.33.100
[2021-04-22 09:05:32.202] [3204] [info]    FFMPEG-avfilter 4.2.100
[2021-04-22 09:05:32.202] [3204] [info]    FFMPEG-avutil 52.66.100
[2021-04-22 09:05:32.202] [3204] [info]    FFMPEG-swscale 2.5.102
[2021-04-22 09:05:32.202] [3204] [info]    Flash Not found
[2021-04-22 09:05:32.204] [3204] [info]    flash[cg20.fth.pal|0] Initialized.
[2021-04-22 09:05:32.204] [3204] [info]    flash[cg20.fth.pal|0] Invoking info-command: <invoke name="GetInfo" returntype="xml"><arguments></arguments></invoke>
[2021-04-22 09:05:32.204] [13092] [error]   producer\flash_producer.cpp(217): Throw in function __thiscall caspar::flash::flash_renderer::flash_renderer(const class caspar::safe_ptr<class caspar::diagnostics::graph> &,const class std::tr1::shared_ptr<struct caspar::core::frame_factory> &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,int,int)
Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::caspar_exception>
std::exception::what: Unknown exception
[struct caspar::tag_msg_info *] = flash-player[cg20.fth.pal|1024x576] Failed to Create FlashAxControl

[2021-04-22 09:05:32.205] [3204]  [trace]   Template-Host Unknown
[2021-04-22 09:05:32.206] [3204]  [info]    NewTek iVGA unavailable (Processing.AirSend.x86.dll)
[2021-04-22 09:05:32.206] [3204]  [info]    casparcg.config:
-----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
   <paths>
      <media-path>media\</media-path>
      <log-path>log\</log-path>
      <data-path>data\</data-path>
      <template-path>templates\</template-path>
      <thumbnails-path>thumbnails\</thumbnails-path>
   </paths>
   <channels>
      <channel>
         <video-mode>1080p5994</video-mode>
         <consumers>
            <screen>
               <device>1</device>
            </screen>
            <ndi>
               <name>CasparCG_1</name>
               <allow-fields>false</allow-fields>
            </ndi>
            <system-audio/>
         </consumers>
      </channel>
   </channels>
   <controllers>
      <tcp>
         <port>5250</port>
         <protocol>AMCP</protocol>
      </tcp>
   </controllers>
</configuration>
-----------------------------------------
[2021-04-22 09:05:32.206] [10620] [info]    flash[cg20.fth.pal|0] Uninitialized.
[2021-04-22 09:05:32.206] [3204]  [info]    Initialized html module.
[2021-04-22 09:05:32.206] [3204]  [info]    Initializing OpenGL Device.
[2021-04-22 09:05:32.238] [13096] [info]    OpenGL 4.6.0 NVIDIA 456.71 NVIDIA Corporation
[2021-04-22 09:05:32.238] [13096] [info]    Successfully initialized OpenGL Device.
[2021-04-22 09:05:32.242] [3204]  [info]    Initialized ffmpeg module.
[2021-04-22 09:05:32.243] [3204]  [info]    Initialized bluefish module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized decklink module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized oal module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized newtek module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized ogl module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized flash module.
[2021-04-22 09:05:32.246] [3204]  [info]    Initialized image module.
[2021-04-22 09:05:32.260] [13096] [info]    [shader] Blend-modes are disabled.
[2021-04-22 09:05:32.261] [3204]  [info]    video_channel[1|1080p5994] Successfully Initialized.
[2021-04-22 09:05:32.262] [3204]  [info]    
+---------------+
| filter_buffer |default--[1920x1080 1:1 bgra]--filter_buffersink:default
|   (buffer)    |
+---------------+

                                                    +-------------------+
filter_buffer:default--[1920x1080 1:1 bgra]--default| filter_buffersink |
                                                    |   (buffersink)    |
                                                    +-------------------+


[2021-04-22 09:05:32.263] [3204]  [info]    Screen consumer [1|1080p5994] Successfully Initialized.
[2021-04-22 09:05:32.263] [8112]  [info]    output[1] Screen consumer [1|1080p5994] Added.
[2021-04-22 09:05:32.263] [3204]  [warning] Invalid consumer: ndi
[2021-04-22 09:05:32.352] [13216] [info]    Screen consumer [1|1080p5994] Successfully Initialized.
[2021-04-22 09:05:32.439] [3204]  [info]    oal[1|1080p5994] Sucessfully Initialized.
[2021-04-22 09:05:32.455] [8112]  [info]    output[1] oal[1|1080p5994] Added.
[2021-04-22 09:05:32.455] [3204]  [info]    Initialized channels.
[2021-04-22 09:05:32.455] [3204]  [info]    Initialized thumbnail generator.
[2021-04-22 09:05:32.456] [3204]  [info]    WinSock2 Initialized.
[2021-04-22 09:05:32.456] [3204]  [info]    Listener successfully initialized
[2021-04-22 09:05:32.456] [3204]  [info]    Initialized controllers.
[2021-04-22 09:05:32.456] [3204]  [info]    Initialized osc.
[2021-04-22 09:05:32.456] [3204]  [info]    Started initial media information retrieval.
[2021-04-22 09:05:32.811] [12696] [info]    Initial media information retrieval finished.
[2021-04-22 09:09:24.337] [3204]  [info]    Screen consumer [1|1080p5994] Successfully Uninitialized.
[2021-04-22 09:09:24.344] [3204]  [info]    oal[1|1080p5994] Successfully Uninitialized.
[2021-04-22 09:09:24.618] [3204]  [info]    Uninitialized html module.
[2021-04-22 09:09:25.119] [3204]  [info]    Successfully shutdown CasparCG Server.

Please format your code with the </> button.

You are running a years-old version. Latest stable releases are now 2.3.x
Go to the project’s GitHub to get the latest releases:

Thanks. Up and running. Much appreciated! Any problem running the server on the same box as OBS? I have other alternatives but wanted to know.

First of all. As @rrebuffo already mentioned: There is that </> button sitting at the top of the editor. It is not for decoration. Selecting text in the editor and then clicking it makes these nice scroll able windows with proper formatting and colors etc.

Second in 2.0.7 it is called different:

<newtek-ivga>
  <channel-layout>stereo</channel-layout>
  <provide-sync>true</provide-sync>
</newtek-ivga>

Yeah. I know about that button and pasted my code as such. The log file I didn’t because it’s not code. Thanks.

No, you did not, I edited your post and it had a > instead of the ...

Well, that wasn’t my intent. I used the button and must have deleted the code character. My bad. However, as a new user here, I don’t appreciate your tone or the lecture. A simple note would have sufficed. In any case, thanks for the help.

You are right, sorry. Problem is, that I do that every day multiple times and slowly got annoyed. It seems that no one ever cares about that and it is simply a big mess and impossible to read without it.

Be aware, that no one of us gets money for helping other users and so it would help a lot, if people could simply help us help them.

I totally understand and can appreciate every bit of that. All good.

BTW - This is an amazing product and any help that you give on it is spectacular. Learning as we are moving forward with a large, cloud-based OTT project. This is going to be a great help! Thanks again.