OBS Setup Guide for Linux

Watch this video to set up your stream or
follow the guide below.

This guide will walk through the process of setting up Open Broadcaster Software [OBS] correctly to stream on Education Ecosystem

step 1

Go to https://github.com/jp9000/obs-studio/wiki/Install-Instructions#linux and install the packages as shown below:

Setup OBS software on Education-Ecosystem.com

First add the apt-key as shown at line 111

Install ffmpeg as shown at line 112

Add the apt-key for obs package line 119

Install obs-studio, line 120

step 2

Once installation has finished, run OBS and you should see this screen

Setup OBS software on Education-Ecosystem.com

You can see here we have the two control buttons and two tabs, scene and sources. A scene is a mashup of sources. A source can be a video camera, desktop, or even a single window. We will show you how to add sources, but first we are going to set some basic settings. So start by clicking the 'Settings' button

step 3

Go to the 'Stream' tab and choose 'Custom Streaming Server' from the 'Stream Type' dropdown. Go to your Education-Ecosystem.com dashboard to get your streaming key and FMS url. Enter them into the 'URL' and 'Stream key' fields.

Setup OBS software on Education-Ecosystem.com

step 4

We recommend you do a speedtest using speedtest.net and set your video bit rate to a minimum (75% of your upload speed or maximum 2000).

Then navigate to 'Output'. Here we will just make these changes:
Video Bitrate: 2000kbps
Audio Bitrate: 64kbps

Setup OBS software on Education-Ecosystem.com

If you stream at more than 2.0mbps your stream may be terminated automatically.

step 5

Then navigate to 'Video'. Here we will just make these changes:
Resolution: For best results 'scaled' and 'base' resolution should be the same.
Integer FPS Value: 30 (play with 15-30 if your screen is blurry)

Setup OBS software on Education-Ecosystem.com

step 6

Exit the settings, then right click on the 'plus button' in the sources box and add 'Display capture'. If you want to also show your face in a webcam, click on 'plus button' and add 'video capture device'. Select under device your webcam and click ok.

step 7

Press 'Start Streaming' and you should see something like this, you are streaming! Check your streaming profile on Education-Ecosystem.com to see if you are live. If you see and hear your stream YOU ARE LIVE! Pause your stream on Education-Ecosystem.com to prevent echo, but still follow the chat.

Run a 5mins stream test and check if:

  1. It plays smoothly for you
  2. If it's buffering
  3. If audio is loud enough
  4. If the livestream breaks

If you need more support, you can contact our 24/7 Support

This an optional way for streaming (ffmpeg way)

Here you can use ffmpeg that you already have installed from previous configuration. You can create a script called scriptStream.sh and put the following script:

#variable definitions
INRES="1366x768" # input resolution
OUTRES="1366x768" # output resolution
FPS="15" # target FPS
GOP="30" # i-frame interval, should be double of FPS,
GOPMIN="15" # min i-frame interval, should be equal to fps,
THREADS="2" # max 6
CBR="1100k" # constant bitrate (should be between 1000k - 3000k)
QUALITY="veryfast" # one of the many FFMPEG preset
STREAM_KEY="" # your streaming key goes here
#to hide logs use= -loglevel quiet
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 -f alsa -i hw:0 -f flv -ac 2 -ar $AUDIO_RATE \
-vcodec libx264 -keyint_min 3 -b:v $CBR -minrate $CBR -maxrate $CBR -pix_fmt yuv420p \
-s $OUTRES -preset $QUALITY -acodec aac -threads $THREADS \
-bufsize $CBR "rtmp://usmedia3.liveedu.tv:1935/liveedutv/$STREAM_KEY"

Then just type ./scriptStrem.sh from a terminal, and that is all!