# Rendertarget to udp broadcast

**URL:** <https://openrndr.discourse.group/t/rendertarget-to-udp-broadcast/715>\
**Category:** How to?\
**Created:** [December 4, 2024, 12:29pm UTC](https://openrndr.discourse.group/t/rendertarget-to-udp-broadcast/715 "2024-12-04T12:29:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [December 4, 2024, 1:08pm UTC](https://openrndr.discourse.group/t/rendertarget-to-udp-broadcast/715/2 "2024-12-04T13:08:38Z")

</div>

Hi @supernihil ! Welcome to the forum 🙂

You can probably use the [VideoWriter](https://github.com/openrndr/openrndr/blob/master/openrndr-jvm/openrndr-ffmpeg/src/jvmMain/kotlin/org/openrndr/ffmpeg/VideoWriter.kt) 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](https://github.com/openrndr/orx/tree/master/orx-jvm/orx-video-profiles/src/main/kotlin) to broadcast your graphics, basically by overriding `arguments` and setting all the ffmpeg arguments you use for piping things.

Might that work?

---

_[View the full topic](https://openrndr.discourse.group/t/rendertarget-to-udp-broadcast/715)._
