Spout Sender
How to send video from Unreal to other apps on the same machine with Spout, including alpha.
Last updated About 4 hours ago
This article covers sending video from Unreal Engine to other programs on the same PC with Spout: its performance, the sender settings, the three ways to set up a sender, and how to receive it in OBS Studio, TouchDesigner and Resolume. To bring Spout into Unreal, see Spout Receiver; for fixes, see Spout Troubleshooting.
Overview
Spout is a protocol which allows you to share a video texture being rendered on your GPU between two (or more) software programs running on the same machine.
This means it doesn’t need encoding, so it adds at most 1 frame of delay, with no compression and very little CPU load.
Spout is supported by a wide range of creative software like OBS Studio, TouchDesigner, Resolume, MadMapper, LightAct, Assimilate FX etc.
We have integrated Spout into a wide range of Unreal inputs and outputs to suit a wide variety of different media workflows and can be used in Editor, Runtime or Packaged modes:
You can live output from any of the
OWL Captureformats (Viewport,Cinecam,360 Camera) direct to Spout using ourMedia Output Wizard.You can live input Spout into an Unreal
Media Plate,PlaneorMaterialusing ourMedia Input Wizard.If you want to use Spout with Unreal native tools like nDisplay, Media Capture, Composure, Media Plate etc. you can use our Unreal
Media Frameworkintegration.If you want to send or receive an Unreal
Render Target, you can do so using theOWL Spout Sender/ Receiver Manager.
You can live-stream from Unreal Engine via Spout either from a Render Target or from Unreal's Media Framework which can be used with nDisplay, Composure, Media Capture and other useful tools.
Performance
Spout is very light on your project, because it shares the pixels already on your GPU instead of encoding them. Each output still copies the image every frame, so many outputs or very high resolutions add some GPU time.
The main downside of Spout is that it’s limited to a single machine, because the different software programs are literally sharing the video texture that is being rendered on the GPU.
Spout has no resolution cap so this will only be determined by what your GPU can render at your target resolution.
Spout has no FPS cap so you can share very high FPS outputs (
>120FPS) withCadenceonEvery Frame.Spout can send up to
32bitcolor from Unreal.An
OWL Spout Outputsends at itsBit Depthsetting:8-bit (BGRA)by default, or10-bit,16-bit floator32-bit float. Your Spout Receiver must read the same format. Float depths carry linear color, soFix Gammadoes not apply to them. On a camera,32-bit floatonly adds detail if the camera'sRender TargetFormatis alsoRGBA32f.An
OWL Spout Sender Managersends in the format of itsRender Target, by defaultRGBA16f(16bitcolor with alpha channel).You can change this by opening the
Render Targetand selecting a differentRender Target Format:
N.B. Not all Spout Receivers can handle
32bitcolor.
Sender Settings
There are three ways to send Spout from Unreal, each set up as shown further down. They all share these settings:

Active
Active:A tickbox you can use to turn your Sender on/ off. This is only present in theOWL Spout Sender Manager. It is off by default, so tick it to start sending.Untick it on senders you aren’t using.
Name
Name/ Standalone Name(OWL Spout Sender Manager) orSpout Sender Name(OWL Spout Output, defaultUnrealSpout): This is the name you will see in your Spout receiver software.If you are using Unreal in Standalone mode then you can set this value.
Fix Gamma
Fix Gamma:Unreal works inLinearcolorspace and then applies ansRGBconversion to the Editor UI.If you want an output that looks identical to your Editor
Viewportthen keep this ticked.If you want the raw color values from the
Render Targetthen untick.On the
OWL Spout Output, it only applies to8-bitand10-bit.16-bit floatand32-bit floatalways send linear color, so the box is grayed out.A camera with
OpenColorIOon already sends display color, soFix Gammahas no effect on it.You can change
Fix GammaandOutput Alphawhile sending.Bit Depthand the sender name needStop, thenStart.
Source Render Target
Source Render Target:This is only present in theOWL Spout Sender Manager.It is a
Render Targetfrom a Camera or Unreal output that will be sent via Spout.If you are using the Unreal
Media Frameworkintegration, theRender Targetwill be selected automatically.
Output Alpha
Output Alpha(OWL Spout Output only): sends transparency. Also tickAlpha OutputinProject Settings.
Bit Depth
Bit Depth(OWL Spout Output only):8-bit(default),10-bit,16-bit floator32-bit float. Your receiver must read the same format.10-bithas only 2-bit alpha, so for smooth transparency use8-bitor a float depth.
Output Size
Output Size(OWL Spout Output only): leave at0, 0to send at the camera’s size, or set a fixed size.
Cadence
Cadence(OWL Spout Output only):Every Frame(default) updates Spout every frame the camera renders.Match Other Outputsuses the rate the camera’s other outputs ask for.Customupdates it at theCapture Frame Rateyou pick (24 to 120, plus the NTSC rates). Spout doesn’t send a frame rate, so a receiver that reads faster than this shows the same image more than once.
Set Up with the Media Output Wizard
You can use this method to output from any of the OWL Capture formats to Spout:
In the Off World Live Unreal Editor drop down select the
Media Output Wizard:
Select the settings you need and then click
Create. If you want alpha channel, chooseYesfor it in the wizard, and tickAlpha OutputinProject Settings > Rendering > Default Settings:
For an OWL Cinecam or 360 Camera, press
Startnext to the new output in the camera'sMedia Outputs. If you go to yourSpout Receiveryou will now see the output you have created.You will also have added an OWL Capture Actor of which you can use the
Detailspanel to modify your content. For an OWL Cinecam or 360 Camera the Spout output is anOWL Spout Outputasset in/Game/MediaOutputWizard/, listed in the camera'sMedia Outputs; for Viewport Capture it is aSpout Sender Manager Actor:
Set Up with Unreal's Media Framework
You can use this method to output from any of the Unreal creative tools (nDisplay, Composure, Media Capture etc.) to Spout:
Right click in the
Content Browserand selectOWL Spout Output:
A new
OWL Spout Outputasset is created in theContent Browser:
Double click the asset to change its properties:

Number of Texture Buffers:an Unreal Media Output setting, from 1 to 8. Leave it at the default.Has Priority:enables the sender to take precedence if multiple senders try to use the same name.This is useful when you want this sender to be the main or fallback sender.
Now in Unreal creative tools like nDisplay you can go to the
Media Outputdropdown and select theOWL Spout Outputas aMedia Outputoption:
You need to create a new
OWL Spout Outputasset for each separate Spout output you want to send.
Set Up with the Spout Sender Manager
You can use this method if you want to output a Render Target via Spout.
Find the
OWL Spout Sender ManagerActor in thePlace Actorspanel and drag it into your scene.
In
World OutlinerselectOWLSpoutSenderManagerso it opens in yourDetailspanel and add a newArray elementusing the+sign.You will need to select/ create a
Render Targetby clicking the drop down next to the thumbnail:
You will now see your Unreal Engine feed in your other Spout program (e.g. OBS Studio).
If you want to output more
Render Targets, just add anotherArray element.You can use blueprints to switch the
Render Targetwhich can be useful for live-editing between different camera angles while sending to a single Spout receiver.
Send to OBS Studio
To receive your Spout Sender in OBS Studio, install our free Spout plugin for OBS and add a Spout2 Capture source. Use plugin 1.13.0 or later to receive 10-bit, 16-bit and 32-bit senders; older versions take 8-bit only. The steps, including the alpha setting, are in Spout Plugin for OBS Studio.
Send to TouchDesigner
You can see how to receive Spout in TouchDesigner here.
You can receive up to
32bitcolor withalpha channel.See this tutorial for how to live-stream textures from TouchDesigner to Unreal Engine for:
Instancing geometrydata from TouchDesigner to Unreal EngineNiagarasystemsStreaming
tracking dataastexturesvia SpoutPoint cloudsin Unreal Engine via Spouttexture sampling
You can also see this masterclass from Function Store on how to recreate
instanced geometryin Unreal Engine with data generated real-time in TouchDesigner.
Send to Resolume
You can see how to receive Spout in Resolume here.
You can receive up to
16bitcolor withalpha channel.
Blueprint: Switch Between Senders
Next Steps
To bring Spout into Unreal, see Spout Receiver.
If something isn't working, see Spout Troubleshooting.
To send and receive Spout in OBS Studio, see Spout Plugin for OBS Studio.