Stream Quality and Latency

There are many different things that could be affecting your stream quality. This guide will take you through some basic troubleshooting to ensure that you’re all set up correctly and will help you troubleshoot what your issue may be.

We are working hard every day testing and improving the service so don’t think that because these steps didn’t work you can never stream on Glimesh. It may just be the right fix going in place for you to have a successful stream so keep an eye on #site-updates. Also feel free to experiment and report on what works for you. These settings should be the best available options but some user’s networks may have better success with other encoder settings.

Any questions feel free to reach out to #streaming-help via our discord or support@glimesh.tv

Definitions

FTL - Faster than light, an ultra-low-latency streaming protocol originally used by Mixer and now being used by Glimesh.tv to deliver sub-second stream latency
OBS - Open Broadcaster Software (https://obsproject.com/)
SLOBS - Streamlabs OBS (https://streamlabs.com/streamlabs-obs)

Stream Quality and Latency


Video Bitrate

There are many factors that go into choosing a bitrate, especially for a low-latency streaming service such as Glimesh. The main factors are your upload bandwidth and the download bandwidth of your viewers. As a rule of thumb we recommend starting with a bitrate that is less than one half of your average upload bandwidth.

Video Resolution and Framerate Recommended
Video Bitrate
Recommended
Upload Bandwidth
720p @ 30fps 3000 kbps 6mbps or better
720p @ 60fps 4000 kbps 8mbps or better
1080p @ 30fps 5000 kbps 10mbps or better
1080p @ 60fps 6000 kbps 12mbps or better

This table is a good place to start but you can experiment with lower or higher bitrates. We do not recommend streaming below 1000kbps and currently a maximum bitrate of 6000kbps is enforced by Glimesh.tv and you may be disconnected if you try streaming at higher bitrates.

In general, high-motion streams like FPS games look better with a higher bitrate while low-motion streams such as art creation with Photoshop or an RTS game can look great with much lower bitrates. This blog post is an excellent place to learn more: https://obsproject.com/blog/streaming-with-x264

Note currently on Glimesh.tv we do not transcode your video for viewers with slower connections or metered networks, please take your viewers into consideration and do not stream at a higher bitrate than needed for a good looking stream.

If you have trouble getting a stable stream please see the Stream Stability section.

Encoder Settings

Any encoder supported by OBS should work with Glimesh.tv but each has slightly different settings that can be tweaked to achieve an optimal stream.

Minimizing Latency

The FTL protocol used by Glimesh.tv is designed to achieve sub-second latency but your choice of encoder settings can potentially add hundreds of milliseconds of delay. Options that commonly add delay are B-frames, look ahead, and psycho visual tuning.

x264 Encoder Settings to Minimize Latency

  • Rate Control should be set to CBR
  • Bitrate should be set between 1000kbps and 6000kbps
  • Keyframe Interval should set to 2 seconds
  • CPU Usage Present must be chosen based on the amount of processing power your computer has, but a safe choice is veryfast and we do not recommend above medium
  • Profile should be set to high
  • Tune should be set to zerolatency, this tuning does things like disable B-frames


Nvidia NVENC x264 Encoder Settings to Minimize Latency
This encoder is only recommended if you have a GTX 1660/RTX 2060 or newer GPU. If you are a gaming streamer you may find your framerates are better overall using this encoder.

  • Rate Control should be set to CBR
  • Bitrate should be set between 1000kbps and 6000kbps
  • Keyframe Interval should set to 2 seconds
  • Profile should be set to high
  • Look-ahead should be disabled
  • Psycho Visual Tuning should be disabled
  • Max B-frames should be set to 0


Trading Latency for Quality

You may choose to use encoder settings that slightly increase video quality but expect them to potentially add several hundred milliseconds of delay to your stream and use more CPU or put more load on your GPU. This can reduce your framerate while gaming, make your computer feel sluggish, or cause frame drops / stuttering if it is not able to keep up.

x264 Encoder Settings to Balance Latency with Quality

  • You may choose no tune, or one that fits the type of content you are streaming

Nvidia NVENC x264 Encoder Settings to Balance Latency with Quality

  • Look-ahead may be enabled or Max B-frames may be set to up to 4
  • Psycho Visual Tuning may be enabled

If this has not solved your problem please try the following guides: