Set Up the Media Output Encoder
How to stream and record any Render Target and audio from Unreal with the Media Output Encoder.
Last updated About 4 hours ago
The OWL Media Output Encoder streams or records any Render Target or OWL camera, with its sound, over RTMP, SRT, RTSP or HTTP, or to a file. This article shows the three ways to add it to your project and how to control it from Blueprints. Every setting is covered in the articles listed at the end.
For
h.264,h.265andAV1it encodes on the GPU’s NVENC chip (NVIDIA GPUs only), so it adds little CPU load and should not lower your frame rate much.ProResis encoded on the CPU, so it can.NDI is encoded on the CPU, so high resolutions and frame rates cost more there. Use the encoder to stream to the internet or record, and NDI to send to other software on your network.
Each
Encoderthat you add to your scene will let you encode a singleRender Targetand audio feed (Viewportaudio orAudio Submix) to multiple simultaneous different media formats (streaming and recording).You can also use multiple
Encodersto encode multiple outputs from differentRender Targets.
There are three ways you can add the Media Output Encoder to your project:
Media Output ActorCamera Media OutputsMedia Output Wizard
Add the Encoder Actor
Drag and drop the
OWL Media Output EncoderActorinto your scene from thePlace Actorssection:
In the
Detailspanel of theActor, select theRender Targetyou want to encode:
Select the features you need from the
Output Settingssection of theMedia Output Actor(see Encoder Output Settings) and then pressStartto encode (or set up your Blueprints to stream within your game/ app).
Add It to a Camera's Media Outputs
Right click in the
Content Browserand selectOWL Media Output Encoder.Add it to the
Media Outputsof anOWL Cinecamor360 Camera, then pressStartnext to it.
Use the Media Output Wizard
Select the
OWL Capture Typeyou want to output from and then selectMedia Outputas yourOutput Typeoption:
Click
Createand theCapture TypeandMedia Outputwill automatically be added to your level.For an
OWL Cinecamor360 Camera, the encoder is anOWL Media Output Encoderasset in/Game/MediaOutputWizard/, listed in the camera’sMedia Outputs: open it to change its settings (see Encoder Output Settings) and pressStartnext to it.For
Viewport Captureit is anOWL Media Output EncoderActor: select it and pressStartin itsDetailspanel.
Control It from Blueprints
To change the format, file path, container or bitrate of an OWL Media Output Encoder from Blueprints, call Stop on its OWL Media Output Encoder Component, then Apply Settings with your new settings, then Start. Use Apply Settings rather than setting Settings directly, so unsupported combinations are corrected. Validate Settings For Output lists any problem before you start, and On Start tells you when the output is running.
More on the Encoder
Encoder Performance: frame rate, how much you can encode at once, internet speed and picture quality.
Choose a Streaming Protocol (
SRT,RTMP,RTSPandHTTP), Record to a File and Record and Stream at Once.Encoder Output Settings:
Render Target,Destinations,Streamsand timecode.Video Encoder Settings: codec, bit depth, alpha, frame rate and bitrate.
Audio Encoder Settings: audio source, codec, bitrate and channels.
Stream to Platforms: YouTube, Twitch, Kick, TikTok and Instagram.
Encoder Troubleshooting: when a stream or recording doesn't behave as you expect, and sharing a packaged app.