An open-source streaming tool called Open Broadcasting Studio (OBS) enables you to make and share streams to prominent websites like YouTube, Facebook, Twitch, and DLive, as well as to a self-hosted stream server. To broadcast your content, this article shows you how to set up an OBS streaming server.
Here’s how to create a streaming server with OBS in Ubuntu.
System running in Ubuntu with Desktop environment
Root access or user with sudo
privilege
Minimum 4GB of RAM
Minimum of 2 Virtual CPUs
At least 80GB Storage
At least 3TB bandwidth
After all requirements are met, proceed with the creation of a streaming server with OBS.
Login to the terminal. Add the obs-studio
repository by running the command below.
sudo add-apt-repository ppa:obsproject/obs-studio
Update the server:
sudo apt update && apt upgrade -y
Install the transcoding tool FFmpeg along with OBS Studio. Run the command below.
sudo apt install ffmpeg obs-studio -y
1. Use remote desktop software, such as VNC viewer or NoMachine, to connect to the Ubuntu server desktop. Login as a local user, not root
. In this tutorial, VNC viewer will be used to connect. You can set up xfce
and xrdp
on Ubuntu using many guides online, for example, this one.
2. Once a successful login has been established, the desktop will appear on the homepage. A similar page will appear as seen below.
3. Open Application Finder and search for OBS Studio and click Launch.
4. The application will open same as below.
5. To modify some options, go to Settings on the right side of the bottom panel.
6. The main parameters that must be modified based on the requirement are the output, audio, and video settings.
7. In the Output tab, streaming and recording output can be modified.
8. In the Audio tab, there are options to choose what audio to be used.
9. In the Video Tab, resolution can be adjusted based on the requirement of users.
10. On the Stream tab, go to Service and select what streaming platform will be used by dropping down the arrow key.
There are several options to choose from. The most popular are Youtube, Twitter and Twitch. In this tutorial, the platform to be used is Youtube. After choosing Youtube click on Use Stream Key. You can obtain the stream key following this OBS guide.
Another platform is Twitch. For Twitch, The stream key can be found on the user Twitch account, here’s the link.
Once the key has been obtained, paste it on the Stream Key field same as below then click OK.
Note: Each streaming platform has different instructions on how to get the Streaming key.
11. Lastly, start the streaming by going to Sources tab and adding stream video and audio source by clicking on +
.
12. There are multiple options to choose on what source needs to be used. In this case the Browser will be used.
13.. After choosing the browser, specify the URL of the streaming site, make sure that the stream is active.
14. That’s it. Click Start Streaming and the streaming will run.
In conclusion, Ubuntu and OBS can be used to create a stable and adaptable streaming server that offers excellent live streaming. With complete control over the setup, a user can attain professional-grade streaming capabilities by utilizing the power of OBS Studio and the stability of Ubuntu. This combination enables for comprehensive customization and optimization to meet individual demands, in addition to providing cost-effective streaming.