How to live stream: a beginner’s guide

Three popular ways to stream video:

  1. Use your smartphone along with a live app such as Facebook or Youtube. No additional hardware required. GIZMOTO offers this tutorial https://gizmodo.com/how-to-livestream-from-a-smartphone-1827712240
  2. Add an affordable plug-and-play interface with to your smartphone setup and you'll produce a far superior broadcast. Check out the features of the new Roland Go:LIVECAST. And it is on sale this week at Freshwater Audio http://freshwaterevents.com/node/118
  3. Build a component system (start reading now)

Many people are happy to start streaming over the internet nothing more than their smartphone. This introduction is for people wishing to take the next step, but having no idea where to even begin.

To help you to figure this out, we will try to explain how to live stream in the simplest terms possible. We will go over the basic ingredients and steps of how to do a live stream, as well as provide some example setups.

It’s important to understand that each camera, encoder, and streaming platform is a bit different, but while UIs may vary, the fundamental principles of how to live stream stay the same, regardless of which equipment you are using or what it is you are planning to stream, understanding the basic components and steps will allow you to figure out how to live stream in any scenario, big or small.

What you’ll need to start live streaming:

  1. A video and audio source(s)
  2. A video encoder
  3. A streaming destination
  4. A stable Internet connection

Live streaming essentials

1) Video and audio sources

A stream of video data (from a camera, for example) for your live stream is called a video source. Respectively, a stream of audio data is an audio source. A simple stream might consist of just one video and audio source, while a more complex one may have two or more audio and video sources involved. Different combinations of video and audio sources are referred to as “scenes” or “layouts” (think full screen, picture in picture, or side by side layouts). The video source(s) for a live stream may come from: A DSLR camera A camcorder A computer screen A webcam A PTZ camera Phone or tablet camera

For live streaming, you do not need to have a storage card in your camera.

Audio sources may come from a lapel, handheld, or USB microphone, or from an audio file. If you run your microphone signal through your camera, the audio will come embedded in your video source, which means they will arrive together through one cable. This is a very common way to capture audio.

Always be mindful of the background music in your live stream because online video platforms can monitor and flag copyrighted content. You may receive a copyright violation or even be banned from streaming.

How to capture audio and video sources

In order to start streaming online, you will need to capture the signal from your audio and video sources. Most video sources today use HDMI™ or SDI outs for external connection. Both HDMI™ and SDI cables are able to carry embedded audio along with video. If you are using a computer with software encoder to stream, then simply connecting a camera to a computer using an HDMI™ or a SDI cable will not work. You will need an intermediary device called a capture card. A capture card (like AV.io HD for example) connects to the camera on one side, and to the computer over USB on the other, capturing exactly what the camera “sees”. Most hardware encoders, on the other hand, come with internal capture cards, so you can connect video sources directly. We will talk more about streaming software and hardware below.

If you are using a USB camera or microphone, however, you can expect to capture these signals by simply connecting them directly to a computer.

Not all cameras are created equal when it comes to live streaming. For example, certain cameras relay all the display UI overlays (i.e. battery indicator, crosshairs, histograms, etc) along with the video signal. 

2) Video encoders

What is an encoder and why do I need one?

An encoder “translates” the video signal for the internet. An encoder is a piece of software that compresses and converts the incoming audio-video signal into digital, web-friendly format. You need an encoder because most video sources don’t come ready for live streaming: video cameras are made for recording large and bulky video files, not intended for streaming in real time.

Types of encoders

Essentially, today you have the choice of going live from three types of encoding devices: mobile phone/tablet, a computer with streaming software installed, or a dedicated hardware encoder. While a mobile phone may be an all-in-one video source and encoding device, the live production capabilities offered by a mobile device are extremely limited. Let’s focus on the encoding tools that are able to handle more professional live streams, with the ability to add multiple cameras and layouts.

Encoder options

Software encoders

Essentially, a software encoder is an installed application, that uses your computer’s resources (CPU) to neatly pack up the video and send it online. As previously mentioned, a capture card is necessary to capture the video signal from your source to your computer.

There is a wide variety of free and paid streaming software available, including Wirecast, vMix, Streamlabs OBS, the ever popular OBS Studio, and many more. OBS Studio is a good way to start learning about encoding because it’s free to download and install, all settings are easily accessible, and there are many online tutorials to help you along.

It’s important to remember that streaming software always takes a toll on the computer’s CPU. This means that if your computer is not powerful enough to handle it – your viewers may experience buffering, dropped frames, while you experience a very laggy computer. We recommend having a machine no lower than Intel Core i5 2.8 GHz, 8GB memory for a good live streaming experience.

Hardware encoders

A hardware encoder (a.k.a. streaming hardware) is a dedicated device that handles all the encoding. Audio and video sources are connected directly to the hardware encoder, no capture cards required. Modern encoders are capable of taking in multiple video input formats, including HDMI™, SDI, VGA, and DVI, as well as XLR and 3.5mm analog audio. Naturally, hardware encoders need to be connected to the network (via Ethernet, or Wi-Fi, or cellular) in order to stream.

Hardware encoders can come in different shapes, sizes, functionality, and price points. Some are small and portable, with the ability to take in only one or two video sources (i.e. Webcaster X2). Some are designed to be taken on the road: these use a bonded cellular signal for an Internet connection. Examples include Teradek VidiU and LiveU encoders. Others are much more complex and powerful, able to take in many video and audio sources, record, mix, scale, and switch between them. For example, Epiphan’s Pearl-2 and Pearl Mini are professional all-in-one live production studios with incredibly vast functionality.

In many ways, hardware encoders are more convenient and reliable, than using a personal computer with streaming software. Hardware encoders are specifically designed for live streaming. They also free up your computer for other tasks.

Most important encoder settings

Both software and hardware encoders have similar variable settings that affect your live stream.

Here are the most important ones to know: Frame rate: how many frames per second are displayed, in frames per second (fps). Common inputs: 10fps (outrageously low, infuriating to the human eye frame rate), 24 fps, 30 fps (standard for digital video), 60 fps (beautiful and life-like).

Output resolution: size of video frame, width x height, in pixels. Here are some common resolution names and their aliases:

Resolution shorthand Dimensions, in pixels Also referred to as
480p 858x480 SD or Standard Definition
720p 1280 x 720 HD or "HD Ready"
1080p 1920 x 1080 FHD or "Full HD"
1440p 2560 x 1440 QHD or Quad HD resolution
4K or 2160p 3840 x 2160 UHD or Ultra HD resolution

The most common resolution used today is 1080p. This numbers refer to to number of pixels measured vertically. The “p” stands for “progressive scanning,” and not for “pixel.”

Bitrate – how much video data you are uploading, per second. Generally expressed in kilobits per second (Kbps), although megabits per second (Mbps) are also sometimes used. That’s Kbps divided by roughly 1000.

General value range: 1000-8000 Kbps. Common values: 1000 Kbps (absolute minimum for live streaming) 2500 Kbps, 3000 Kbps, 5000 Kbps. This number depends on frame rate and resolution: the higher the frame rate and resolution, the higher the bitrate needs to be for a smooth, high quality live stream.

Codec: refers to the method of compressing (encoding) audio and video data for faster transmission. H.264 is the most common one.

Keeping a fine balance between bitrate, frame rate, and output resolution is what makes a good stream. How high you can go depends largely on the type of encoder you use and your internet bandwidth. For example, with sufficient bandwidth, a hardware encoder is able to stream 1080p resolution at 60 fps without skipping a beat, where as an older computer with streaming software may really struggle, dropping frames and causing buffering, even with sufficient bandwidth.

3) Streaming destination

A streaming destination is the online site, platform, or app where your live video becomes available to others. These destinations are more commonly referred to as content delivery networks, or CDNs. Popular free Content Delivery Networks (CDNs) include platforms like Youtube, Facebook Live, Twitch, Periscope, and more.

There are paid streaming platforms as well. They offer much more control over where and how your live stream is presented, who sees it, and whether and how the stream is monetized. CDNs like Livestream Vimeo, DaCast, StreamShark, and others offer different monthly plans. Costs depend on the amount of data in Gigabytes you upload.

Free or paid, you will need to sign up and log into the CDN of your choice. Some platforms (YouTube) require you to go through a few additional steps and wait for 24 hours before you can start live streaming.

Choosing a CDN (streaming destination)

Naturally, each CDN caters to a specific audience. As soon as you figure out what you are live streaming and who your main audience is, you can begin choosing an fitting CDN. Here are some examples:

  • Youtube (free) is for many things: personal, lifestyle, shows.
  • Facebook (free) is for connecting with your community, sharing immediate news, as well as growing your brand.
  • More specialized paid CDNs like DaCastStreamShark, and Vimeo Livestream are good for large events such as concerts and sports.
  • Special platforms like Streamingchurch.tv (paid) are intended for live streaming church services and include many peripheral services.

Our advice would be to start with a free CDN, figure out all the ins and outs, and then move on to a paid one, if you need to. So yes, you could potentially start live streaming for free right now! Be sure to check out this how to choose a CDN article for more detailed information about the differences between content delivery networks.

Set up an event and fill out the description

A standard feature of an overwhelming majority of CDNs is letting you decide between “going live right now” or scheduling to go live in the future. In either case, you will need to fill out the live stream description, perhaps choose a category for your stream, and add some tags. Using hashtags is a great way to have your stream be found.

4) Stable Internet connection

Getting a steady network connection is often the trickiest part of live streaming. We found that the most reliable connection is a hardwired, dedicated Ethernet line. You can, of course, go live using Wi-Fi or cellular (4G/LTE) Internet, but these types of signal tend to fluctuate.

We can’t stress how important it is to perform a speed test beforehand. We recommend to always have approximately 1.5x your stream’s bitrate available to account for these possible network fluctuations. For example, if your live stream has a bit rate of 5 Mbps, then ensure you have at least 7.5 Mbps upload bandwidth available to ensure a reliable live stream.

How to live stream: 5 basic steps.

Essentially, the streaming setup workflow comes down to: connecting your sources to the encoder, setting up your scenes (layouts) for switching, configuring a few encoder and streaming destination settings, and establishing a connection between the encoder and the streaming destination. Naturally, streaming destination and encoder user interfaces will differ from case to case, but the basic workflow remains the same. In the example below, we chose to show the Pearl-2 UI for the encoder and Youtube UI for the streaming destination.

Step 1) Connect your audio and video source(s) to the encoder.

Naturally, make sure everything has power. Pro tip: whenever possible, use an AC power instead of battery power, for all and any device, especially a camera. Placing your camera on a tripod is always a good idea. Use a capture card if you are using your computer with encoding software.

Step 2) Configure the encoder

If you plan to do switching between a number of sources – go ahead and prepare your layouts (scenes). Then, configure the most important streaming settings: resolution, frame rate, bitrate. If you are unsure, start with 1280×720 resolution, 30 frame rate, and automatic or 3000 Kbps bitrate. Everything else can pretty much be left at default. With software like OBS you will be configuring these settings in-app on your computer. With a hardware encoder on the other hand, you will need to access the device’s settings via Web UI or via an app. Create new RTMP Push stream.

Step 3) Configure CDN stream settings

Log in to your live streaming platform (CDN) and set up a new live streaming event. Fill out stream description, privacy settings, etc.

Step 4) Find and copy URL and stream name/key from CDN and paste into encoder

This is what actually ties your encoder and your streaming platform together. In order to know where to get video data, the CDN needs to verify and connect with the encoder, while the encoder needs to know where to send the data. This is done using a special password shared between the two, called a stream name (or sometimes stream key). The stream name/key is provided by the streaming platform (CDN). Keep this key safe, as those who know it may be able to stream to your account.

The stream URL and key are usually found in CDN’s advanced or encoder settings sections. Copy the stream URL (looks like a web address) and the stream key from the CDN into the respective fields in the encoder UI. You can leave the username/password fields blank. Click “Save” or “Apply”

Step 5) Click “Start Streaming” on the encoder and you are live!

Once you press Start streaming somewhere in the encoder UI, your CDN preview window should tell you that it is receiving signal from the encoder. There is generally a lag of 10-30 seconds between the encoder and the live stream on the CDN.

Control live switching from the encoder UI. Remember that you need to stop your stream also in the encoder UI.

 

 

Source: https://www.epiphan.com