Streaming video from GPU separate of the O/S desktop

I’m working on a Windows 10 64-bit system. I would like to generate a videostream and send it out through one of the ports of the GPU independent of the operating system (i.e I don’t want to add a new monitor to my computer desktop - I just want to stream video to an attached display). Is there any example (C++ or Cuda) code or resources I can reference in my effort to do this?