Thanks emcodem!
I tried to look for information about it - i think i saw a post on newtek site from 2017 claiming that ffmpeg now supports ndi codecs.
but i might have missed the part about it being only the decoder not the encoder.
thanks for the example! ill give it a try!