Wednesday 8 July 2015

Setting up Open Broadcasting Software on Ubuntu

Introduction:

Open broadcasting software (OBS) is one of those really awesome tools out there for streaming video from your PC.

You can find out more information about them from this link.

Installation:

First things first, make sure you've got the required hardware (I found this out the hard way)

Install mesa-utils like so:

sudo apt-get install mesa-utils


after that run the command below:

glxinfo | grep OpenGL

Check the resulting string for your Open GL version, OBS requires that you have Open GL >= 3.2

If you don't, then you will have to change your GPU .

If you are among the chosen, and your system is good to go, next step is to install some dependencies.

OBS requires ffmpeg and so if you do not already have it installed, I suggest you hit this link for a guide.

Now with ffmpeg installed, the next step would be to install OBS.

Add the OBS ppa like so

sudo add-apt-repository ppa:obsproject/obs-studio


Then:

sudo apt-get update && sudo apt-get install obs-studio


When I did this, I got this error:

Depends: libavcodec-ffmpeg56 (>= 7:2.4) which is a virtual package. 

Depends: libavdevice-ffmpeg56 (>= 7:2.4) which is a virtual package.

Depends: libavfilter-ffmpeg5 (>= 7:2.4) which is a virtual package.

Depends: libavformat-ffmpeg56 (>= 7:2.4) which is a virtual package.

Depends: libavutil-ffmpeg54 (>= 7:2.4) which is a virtual package.

Depends: libswresample-ffmpeg1 (>= 7:2.4) which is a virtual package.

Depends: libswscale-ffmpeg3 (>= 7:2.4) 


Quick fix, you need to add the universe source to your list of sources, so edit the /etc/apt/sources.list file and add this line at the end of the file:

deb http://us.archive.ubuntu.com/ubuntu vivid main universe

Then the usual:

sudo apt-get update && sudo apt-get install libavcodec-ffmpeg56

And you can install obs-studio like so:

sudo apt-get install obs-studio
And you're good!

No comments:

Post a Comment