__pd_ndi__ is a Pure Data extensions that enables video transmission through NDI.
Newtek NDI (Network Device Interface) is a software standard for broadcasting high quality video and audio over network with low latency.
Gem Graphics Environment for Multimedia for Pure Data
mkdir build
cd build
cmake ../
make
PD_INSTALL_DIR
, GEM_EXTERN_DIR
and - on linux and mac -NDI_INSTALL_DIR
options to CMakecmake ../ -DPD_INSTALL_DIR=path/to/pd -DGEM_EXTERN_DIR=path/to/gem
gem-dev
package is required for compilation as it contains Gem header files.Precompiled Windows, Mac and Linux binaries can be downloaded from github's releases tab.
[ndisender] connected to [gemhead] will transmit what's before it in Gem's render chain. In case you are familiar with syphonserver for Gem, ndisender will work the same way.
Passes data received from NDI source as pix data. Works similarly to e.g. [_piximage]
Simple object that will search for available NDI sources after receiving bang. Results are printed in console.
To use _[glndisender] object with Gem just connect right outlet of [gemframebuffer] to the left inlet of _[glndisender].
(Note: glndisender's main purpose is to be used with Gem's [gemframebuffer] object, but implementation doesn't depend on Gem, so it should also work with other OpenGL wrapping objects that can bang [glndisender] object with GL_TEXTURE2D as [gemframebuffer]_ does)
You can also set desired framerate of NDI broadcast by sending [fps $1 ( to [ndisender] or _[glndisender] (30 fps by default).