Yuri2 is a complete framework for video/audio processing, in Dicaffeine we're using just a few modules. You can use Yuri2 directly from the command line.
yuri2 -I ndi_input
yuri2 -L ndi_input
yuri2 -L glx_window
yuri2 -l
yuri_simple ndi_input[stream="<stream_name>"] glx_window
or
yuri_simple ndi_input[stream="<stream_name>"] sdl_window
or
yuri_simple ndi_input[stream="<stream_name>"] sdl2_window
yuri_simple v4l2source[path=/dev/video0,resolution=1920x1080,format=mjpeg] convert[format=rgba32] ndi_output[stream="Dicaffeine"]