Andy "PyroAVR" Meyer
New Member
Please note: I have compiled OBS-studio for Debian and it's derivatives on amd64 and/or x86-64! You can download a precompiled binary here (may be out of date): https://www.dropbox.com/s/jgc052w45sbltna/obs-studio.deb?dl=0
Leave a comment/pm me if it does not work for you, and I'll get on the case! Thank you!
To whomever it may concern/If you need help making OBS-Studio run on Debian:
I just made this work today on OBS-Studio 0.4.2-g69b9e72, cloned from the git repo. This works so far on Titanium Linux (my custom distro) which is based on Testing/Jessie. Therefore, it should work on Debian Testing/Jessie and I can't see why it wouldn't work on Stable/Wheezy or Unstable/Sid.
Here are the commands, note that '$' is a normal user prompt and '#' is a root user prompt, and you don't have to type them, however you must type everything after them.
To get to a root prompt, use su or sudo. Your call, there seems to be lots of Linux debate over which is better.
First things first, get the latest OBS-Studio from Jim's GitHub:
Now, OBS-Studio depends on FFMpeg's many libraries, and Debian's default repos don't have a new enough version. Deb-multimedia's version also doesn't work, so we'll have to compile from source.
Get FFMpeg from the FFMpeg website:
We've now downloaded the sources for FFMpeg, so we'll compile them. By default, FFMpeg compiles it's command line tools, and static libraries for other programs to link to. OBS-Studio requires dynamic or shared libraries so we have to specify that we want that rather than the default.
Compile FFMpeg tools and shared libraries:
Now that you have FFMpeg installed, we can begin to compile OBS.
Running OBS:
Leave a comment/pm me if it does not work for you, and I'll get on the case! Thank you!
To whomever it may concern/If you need help making OBS-Studio run on Debian:
I just made this work today on OBS-Studio 0.4.2-g69b9e72, cloned from the git repo. This works so far on Titanium Linux (my custom distro) which is based on Testing/Jessie. Therefore, it should work on Debian Testing/Jessie and I can't see why it wouldn't work on Stable/Wheezy or Unstable/Sid.
Here are the commands, note that '$' is a normal user prompt and '#' is a root user prompt, and you don't have to type them, however you must type everything after them.
To get to a root prompt, use su or sudo. Your call, there seems to be lots of Linux debate over which is better.
First things first, get the latest OBS-Studio from Jim's GitHub:
$git clone git://github.com/jp9000/obs-studio.git
(Don't have git? Install it! #apt-get install git)
Now, OBS-Studio depends on FFMpeg's many libraries, and Debian's default repos don't have a new enough version. Deb-multimedia's version also doesn't work, so we'll have to compile from source.
Get FFMpeg from the FFMpeg website:
$git clone git://source.ffmpeg.org/ffmpeg.git
We've now downloaded the sources for FFMpeg, so we'll compile them. By default, FFMpeg compiles it's command line tools, and static libraries for other programs to link to. OBS-Studio requires dynamic or shared libraries so we have to specify that we want that rather than the default.
Compile FFMpeg tools and shared libraries:
$cd ffmpeg
$./configure --enable-shared --disable-static
The above command sets up FFMpeg to be compiled the way we want it. These steps will take some time depending on how good your computer is. Be patient.
$make -jX
Replace 'X' with twice the number of logical cores your computer has. This speeds up the build process. The number of logical cores is how many cores your computer has, so, for example, a dual core computer would have make -j4 whilst a four core computer would have make -j8, and so on.
#make install
Remember that you need to be root to install a package... Use sudo or su.
$./configure --enable-shared --disable-static
The above command sets up FFMpeg to be compiled the way we want it. These steps will take some time depending on how good your computer is. Be patient.
$make -jX
Replace 'X' with twice the number of logical cores your computer has. This speeds up the build process. The number of logical cores is how many cores your computer has, so, for example, a dual core computer would have make -j4 whilst a four core computer would have make -j8, and so on.
#make install
Remember that you need to be root to install a package... Use sudo or su.
Now that you have FFMpeg installed, we can begin to compile OBS.
$cd ../obs-studio
This is assuming that you were in the FFMpeg directory before... Just get yourself to the OBS-Studio directory and you'll be okay
$mkdir build
OBS-Studio uses a build system named CMake. To compile OBS-Studio, you need CMake, and the best way to run CMake is to give it a directory to start in and then tell it where CMakeLists.txt is.
(Don't have CMake? Install it! #apt-get install cmake)
$cd build
$cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
The above tells cmake to run, compile for a POSIX-compliant architecture (i.e. Linux) and to install libraries and such under /usr.
$make -jX
Just like above, replace 'X' with the number of logical cores that your computer has.
#make install
For whatever reason, if you run OBS-Studio from the command line and it's installed directory, it can't find some of it's dependencies. I'd not even bother with this step, just run OBS from the build directory.
Congratulations! If you've made it here with no errors and you see 'Built Target OBS' on your command line, you've succeeded!This is assuming that you were in the FFMpeg directory before... Just get yourself to the OBS-Studio directory and you'll be okay
$mkdir build
OBS-Studio uses a build system named CMake. To compile OBS-Studio, you need CMake, and the best way to run CMake is to give it a directory to start in and then tell it where CMakeLists.txt is.
(Don't have CMake? Install it! #apt-get install cmake)
$cd build
$cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
The above tells cmake to run, compile for a POSIX-compliant architecture (i.e. Linux) and to install libraries and such under /usr.
$make -jX
Just like above, replace 'X' with the number of logical cores that your computer has.
#make install
For whatever reason, if you run OBS-Studio from the command line and it's installed directory, it can't find some of it's dependencies. I'd not even bother with this step, just run OBS from the build directory.
Running OBS:
$cd obs
$./obs
To run OBS from elsewhere, type:
$./path/to/obs-studio/build/obs/obs
Extras:$./obs
To run OBS from elsewhere, type:
$./path/to/obs-studio/build/obs/obs
Checkinstall:
If this works for you, awesome! If it doesn't, tell me and I'll try to help! I hope this helped you all!You can make a .deb package using checkinstall.
#apt-get install checkinstall
Now, replace all make install steps with checkinstall
#apt-get install checkinstall
Now, replace all make install steps with checkinstall
Last edited: