Skip to main content
Encoder Settings

Video Encoder Settings

Every video setting of the OWL Media Output Encoder: codec, bit depth and HDR, frame rate, bitrate, resolution and the advanced options.

Last updated About 4 hours ago

This article goes through the Video Encoder Configuration of the OWL Media Output Encoder, in the order the Details panel shows them: the codec, color and frame rate first, then the bitrate, then the settings under the advanced options. The settings apply to every destination of the encoder.

Video Codec

  • The video codec is how the pixels of your Unreal output are compressed to be streamed or recorded.

  • Each codec has its pros and cons. You can select h.264, h.265, AV1 or ProRes. Like h.265, AV1 gives better quality than h.264 at the same bitrate, but it needs an NVIDIA RTX 40 series or newer GPU and a player that supports it. ProRes is for high quality editing masters and records to a MOV file with Save to File only. It is encoded on the CPU rather than the GPU, so it can reduce your FPS, especially at high resolutions:

  • ProRes Profile: 422 HQ (default) is the usual choice for editing. 422 Proxy and 422 LT make smaller files for offline work. 4444 and 4444 XQ keep an alpha channel and make the largest files.

  • h.264

    • This is an older codec that plays almost everywhere. It is less efficient than h.265, so it needs a higher Bitrate for the same quality (so the file is bigger).

    • Even if you have a powerful machine to encode your stream/ recording, if your audience might have less powerful machines, it could be advisable to use h.264 because you can guarantee they will be able to watch your content.

    • The ‘cost’ of this is that you will require a higher Bitrate because of the less efficient compression (so the file size will be bigger).

    • h.264 is also limited to 4096×4096 output resolution. If your output is larger, the encoder won’t start: use h.265 or AV1 (up to 8192), or set Output Custom Resolution to 4096 or less.

    • h.264 is therefore recommended for:

      • 1080p streaming to large-scale audiences, and to RTMP servers that don't accept Enhanced RTMP.

  • h.265

    • This offers a number of improvements (vs. h.264) including:

      • More efficient compression, so a smaller file at the same quality.

      • Fewer compression artifacts than h.264 at the same bitrate.

      • Up to 8192×8192 resolution.

      • A lower required Bitrate for the same output resolution

    • The pay-off is that older players and devices may not decode it.

    • h.265 is therefore recommended for:

      • Recordings.

      • Output above 4096 pixels wide or tall (h.264 stops at 4096).

      • Streams to servers that accept it (SRT, or RTMP with Enhanced RTMP).

Bit Depth and HDR

  • Bit Depth (h.265 and AV1 only): 8-bit (default) suits almost every delivery. 10-bit gives smoother gradients and is needed for HDR. AV1 at 10-bit needs an RTX 40 series GPU or newer.

  • HDR Output (10-bit only): records or streams in HDR. Leave it off for normal delivery, because HDR footage looks washed out on a standard display.

  • HDR Curve: HDR10 (PQ) (default) is what streaming services and HDR displays expect. Pick HLG only when a broadcast chain asks for it.

  • Paper White (nits): how bright white is on an HDR screen. Keep the default, 203, unless you are asked for something else.

Output Alpha

  • Output Alpha sends the alpha channel as a second video stream next to the picture, in the same file or stream. The picture is premultiplied against black.

  • It works with every destination except FLV (so not RTMP), including MP4, MOV, MKV, AVI, SRT and RTSP. The Details panel warns you if a destination can’t carry it.

  • Most players and platforms ignore the second stream, so check your receiving software can read it as alpha.

  • For ProRes, use a 4444 profile instead.

Fix Gamma

  • Fix Gamma (on by default) matches the colors you see in the viewport.

  • Untick it only if you grade the footage later and want the raw linear values.

  • It has no effect with HDR Output on, or on a camera with OpenColorIO on, which already outputs display colours.

Target Frame Rate

Make sure your project can run at this frame rate, with headroom to spare. If not, you will see stuttering and a bitrate loss, because the stream destination isn't receiving the frames it needs (see Encoder Performance).

  • This is the exact frame rate your output is encoded at: each frame is delivered at the correct interval within the second.

  • On an OWL Cinecam or 360 Camera, this also sets how often the camera renders for this output.

  • For example, if you are encoding 30FPS then you will deliver a frame every 33.33 milliseconds.

  • You can select 24, 25, 30 (the default), 50, 60, 90 or 120 FPS, an NTSC rate (23.976, 29.97 or 59.94 FPS, for broadcast delivery only) or Uncapped, provided you have the headroom in the number of frames being rendered by Unreal:

  • If you are streaming, it is recommended to set a fixed Frame Rate (normally 30FPS) along with Constant Bitrate (below), because the receiving software normally will require one.

  • If you are recording, although you could select Uncapped, it’s likely better to select a fixed FPS (even if it’s very high) along with Variable Bitrate (below), as it will make your encoder work better.

  • If you want to have animation stability, we recommend that you change your Unreal Project Settings to have the same Frame Rate as selected in your encoder, so that you encode exactly the same frames as are being rendered.

  • In general, we recommend that your encoder Frame Rate is a divisor of your Project Settings Frame Rate since this ensures a stable output.

  • For example, a 120FPS Unreal project/ game can be encoded successfully at any of 120/60/30/24FPS , but 90/50/25FPS will result in an unstable output.

Bitrate Mode

  • This defines how the bitrate behaves: fixed (Constant Bitrate), allowed to ‘float’ (Variable Bitrate), following a set picture quality (Constant Quality), or with no compression loss (Lossless):

  • The actual bitrate of your content will change depending on the complexity of the pixels in your output.

  • If you are streaming, you will need to set Constant Bitrate along with a fixed Frame Rate (normally 30FPS) so that your stream receiver is able to decode your frames reliably.

  • You set the bitrate value in the Video Bitrate box below.

  • 5,000kbps (5Mbps) is the standard value recommended for a 1080p stream.

  • If you are streaming at higher resolutions you should increase this value.

  • If you are recording, you should normally use a Variable Bitrate because this will result in lower file sizes (since there is no filler).

    • You can also set a Max Video Bitrate which will cap the bitrate if you are afraid of your file sizes getting too big (this will limit quality if the actual bitrate of your output is higher).

  • Constant Quality holds the picture quality and lets the bitrate follow. Set it in the Constant Quality box, from 1 to 51 (default 23). Lower keeps more detail and makes larger files, and around 20 to 25 suits most recordings. Max Video Bitrate still caps the bitrate and defaults to 5,000 kbps, so raise it for higher resolutions or if demanding shots look soft.

  • Lossless keeps every pixel exactly, at several hundred megabits a second, for files you will edit or grade. It works with H.264 and H.265 only, and is for Save to File, not streaming. H.264 Lossless files rarely play on hardware decoders.

Output Custom Resolution

  • Tick it to encode at a different resolution from your Render Target.

  • Type the resolution you need into the boxes. If its shape (16:9, 4:3 and so on) differs from your Render Target, your output will be distorted:

  • If you set a higher resolution, then the encoder will ‘upscale’ the frames, which will result in some blurring/ smearing as the pixels are spread across the image.

    • In general this isn’t recommended (you should just set a higher resolution for your actual output).

  • If you set a lower resolution, then the encoder will ‘downscale’ the frames.

    • This should result in a decent image quality although it can sometimes cause visual artifacts.

QMin and QMax

  • These two values set the floor and ceiling for the amount of compression the encoder is allowed to use, which affects the quality of your visual output.

  • They are in the advanced options. Leave them at the defaults, QMin 0 and QMax 51, so that your Video Bitrate decides the quality.

  • Lowering QMax stops the encoder compressing hard scenes enough to stay within your bitrate, so the output can run several times over the Video Bitrate you set.

  • Raising QMin saves bandwidth on simple scenes, but limits the quality the encoder can reach.

Profile

  • This setting tells the encoder what processes (compression features, pixel prediction etc.) it is allowed to undertake to produce each frame.

  • It is in the advanced options and only applies to H.264; H.265 and AV1 choose their profile from the Bit Depth. We don’t recommend changing it from High.

  • For the highest-quality recordings, use Bitrate Mode > Lossless (H.264 or H.265), or the ProRes codec with a Save to File output in a MOV container.

  • The different options are:

    • Baseline and Constrained Baseline: These options switch off more advanced processes in the encoder such as motion prediction. Only use this if you are recording or streaming to extremely old hardware which may struggle to decode using modern methods.

    • Main: This is an older profile developed for SDTV which has been replaced by High.

    • High: This allows for 8-bit color depth and more efficient prediction techniques that significantly improve sharpness and reduce "banding" in gradients.

Keyframe Interval

  • This setting is in the advanced options. It runs from 5 to 240 frames, and the default is 30 (1 second at 30FPS, half a second at 60FPS). A keyframe is also called an Iframe.

  • An ‘Iframe’ encodes all the pixel data in a frame, rather than using compression algorithms to guess some of its content.

  • This setting determines the number of frames that are encoded in between each of these ‘full’ frames which affects your file size, bitrate usage, stream quality and precision with which you can jump to different points in your video.

  • For streaming to YouTube/ Twitch etc. it is recommended to have a Iframe every 2 seconds, so set this to 60 at 30FPS, or 120 at 60FPS.

  • For recording, you have more flexibility:

    • An Iframe every second is enough for most recordings, for example 30 for a 30FPS output.

    • The lowest value is 5. For a file that is easy to edit and keeps its quality, use Bitrate Mode > Lossless, or the ProRes codec, where every frame is a keyframe.

Advanced Encoder Settings

These are in the advanced options. Leave them at the defaults unless you have a reason to change them.

  • Preset: speed against quality, P1 (fastest) to P7. P4 (default) is balanced. Higher presets use more GPU time for better quality at the same bitrate; on h.264 there is no further gain above P5.

  • Tuning: High Quality (default) is right for recording and streaming. Low Latency and Ultra Low Latency cut the delay through the encoder and give up some quality, for interactive use.

  • Multipass Mode: Quarter Resolution (default) helps the encoder hold your target bitrate, which matters most when streaming. Off or Full Resolution are also available. It analyzes each frame twice. Quarter Resolution takes around 20% less encoder time than Full Resolution.

  • Repeat Frames To Hold Frame Rate (off by default): if Unreal renders slower than the output frame rate, the previous frame is repeated so the output keeps an even rate. Use it for recordings that must play back at an exact rate; leave it off for the lowest latency.