Rendertarget to udp broadcast

Hi @supernihil ! Welcome to the forum :slight_smile:

You can probably use the VideoWriter which has a frame() method that takes a colorBuffer. The RenderTarget has a colorBuffer, so you could call myVideoWriter.frame(myRenderTarget.colorBuffer(0)).

Maybe you could create a VideoWriterProfile like the ones found in orx/orx-jvm/orx-video-profiles/src/main/kotlin at master 路 openrndr/orx 路 GitHub to broadcast your graphics, basically by overriding arguments and setting all the ffmpeg arguments you use for piping things.

Might that work?

2 Likes