LiveEdu.tv Avcaster guide
LiveEdu.tv Linux gstreamer Client
Streaming on Linux with OBS is memory intensive and a big hassle. Because of this Bill Auger set out on LiveEdu.tv to develop the best Linux streaming client in the world. He started this project from scratch on LiveEdu.tv and streamed the whole development process. The product is not completely finished but you can use it for streaming on Linux as a beta user and give feedback. Your feedback is highly appreciated Pull the client from Github and install it.
OBS setup guide for Linux
This guide will walk through the process of setting up Open Broadcaster Software [OBS] correctly to stream on LiveEdu.tv
Watch this video to set up your stream or follow the guide below.
Go to https://github.com/jp9000/obs-studio/wiki/Install-Instructions#linux and install the packages as shown below:
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
Once installation has finished, run OBS and you should see this screen
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
Go to the 'Stream' tab and choose 'Custom Streaming Server' from the 'Stream Type' dropdown. Go to your LiveEdu.tv dashboard to get your streaming key and FMS url. Enter them into the 'URL' and 'Stream key' fields.
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
If you stream at more than 2.3mbps your stream may be terminated automatically.
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)
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.
Press 'Start Streaming' and you should see something like this, you are streaming! Check your streaming profile on LiveEdu.tv to see if you are live. If you see and hear your stream YOU ARE LIVE! Pause your stream on LiveEdu.tv to prevent echo, but still follow the chat.
Run a 5mins stream test and check if:
- It plays smoothly for you
- If it's buffering
- If audio is loud enough
- 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:
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!
how-to for streamers
connect livestream announcements