Live Video Encoding Bitrate

Live Video Encoding Bitrate

When encoding a live video stream, the most important factor in determining the quality and experience of the video stream is the bitrate. The bitrate is the actual amount of data going out at what speed. This is usually measured in "bits per second". Keeping in mind that a byte is made up of 8 bits, that means that a live video stream encoded at 800 Kbps will deliver 100 Kilobytes of data every second it's running


The bitrate used for live video streaming should meet three goals:

  1. The network being used must be able to deliver the live stream to the media server
  2. The viewers must be able to receive it from the media server
  3. The quality of the video must be acceptable while meeting goal #1 and #2

Sending
When you stream live video, you are using your network "uplink" to send a stream to a server.  Your connection to that server must support that bit rate for the duration of the stream.  That is not always easy, because you may have enough bandwidth to stream "now", but 10 minutes later someone on your network could consume available bandwidth and affect your uplink stream.  While running a test of your network speed on sites such as speedtest.net can give you an idea of your connection speed, it can't tell you what your bandwidth will look like 10 minutes from "now".  It could also be useful to test the steadiness and consistency of your internet connection by testing the "ping" of your connection on sites like pingtest.net. 

Receiving
You send at a bit rate higher than a viewer can receive.  If you send a live stream at 1,000 Kbps (1 Mbps), and a viewer is on a low speed connection, they will have a poor experience.  You must send  your live stream at a rate viewers can receive.  Today, about 500 Kbps is a good choice to reach most viewers.

Quality
Use a frame rate and resolution that meets your needs.  Some video producers are so concerned about quality that they lose sight of a viewer's ability to receive it.  In live streaming, everything is a compromise.  Lower resolution and frame rate may give a superior result.  Garbage-In, garbage-out is also to be avoided.  Your stream will never look better than the source, so use good lighting, and keep camera movement to a minimum if possible.

Guidelines
Here are some of the most popular live encoding settings:
  • 500 Kbps video
  • 64 Kbps audio
  • 640 x 360 resolution (16:9), or 640 x 480 (4:3)
  • 25 fps
  • IFrame (Key Frame): 120 frames (one I frame about every two seconds)
  • Reference Frames: 4 (this sets the GOP size, or "Group Of Pictures")
  • B-Frames: 4 (number of B frame in a GOP, marginal affect on quality and can be set to 0)

    • Related Articles

    • Creating an RTMP Push With a Scorpion Encoder

      The Discover Video Scorpion encoder has a number of settings to control how its live stream is set up. Once the user logs in to the encoder with the username and password (default is admin/admin), navigate to the HDMI Main section of the settings. ...
    • Stream Live to Facebook

      It is easy to stream live to Facebook using Streamsie and your Arcus Hosted Streaming Service. In fact, you can stream live to either Arcus or Facebook individually, or you can stream live to both simultaneously. Here is how to do it: Step 1: Go ...
    • Scheduling the recording of live video streams

      OVERVIEW This step-by-step guide will explain how to schedule the recording of live streams in your DEVOS 4 system. In order to do this, you must first have at least one live stream set up in DEVOS or you must be a delegate of a user that has at ...
    • Creating a New Live Stream in DEVOS via RTMP

      General Principles The DEVOS server is always listening for new live streams coming in to it to be distributed to viewers. Typically, this is done with an encoder using RTMP (Real Time Messaging Protocol) to the server. The server then packages the ...
    • Adding Video Clips to Live Streams and Recordings Using Streamsie

      Using the Pro features of Streamsie, you can add up to 3 video clips at a time to "roll in" during your live stream and/or recording. To do this, you must first make sure you are connected to a Streamsie Pro encoder account in either DEVOS or Arcus. ...