Saturday, January 3, 2015

Compile FFMPEG and Open Broadcaster Studio for Ubuntu 14.10

Hello? Is it streaming you're looking for? Well, last night I was looking for it too. Luckily I read the INSTALL file included with the source to Open Broadcaster Studio (OBS). Below are a simplified set of instructions to compile OBS and it's dependency FFMPEG on Ubuntu 14.10. As far as I know the resulting compiled software streams fine to

First we need to use the package manager to install what software we can from the repositories. (one really long command)

sudo apt-get install build-essential pkg-config cmake git checkinstall libx11-dev libgl-dev libpulse-dev libxcomposite-dev libxinerama-dev libv4l-dev libudev-dev libfreetype6-dev libfontconfig-dev qtbase5-dev libqt5x11extras5-dev libx264-dev libxcb-xinerama0-dev libxcb-shm0-dev zlib1g-dev yasm

Next up we'll download and compile a very minimal install of FFMPEG. FFMPEG is needed by OBS to transcode videos into a usable format for (5 commands total)

git clone --depth 1 git://
cd ffmpeg
./configure --enable-shared --prefix=/usr
sudo checkinstall --pkgname=FFmpeg --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

Now finally building and installing Open Broadcaster Studio. (6 commands total)

git clone
cd obs-studio
mkdir build && cd build
sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

After all the compiling takes place you should have a menu entry for OBS. It should be ready to configure for and start streaming.