obs for ubuntu 18.04 code example
Example: how to install obs on ubuntu
#you need ffmpeg to use obs on ubuntu
sudo apt install ffmpeg
# get the repository
sudo add-apt-repository ppa:obsproject/obs-studio
#install obs studio
sudo apt install obs-studio