Compiling OBS-Studio for Debian

Опубликовано: 28 Ноябрь 2024
на канале: Don't Call Me Lenny!
10,065
83

In this video I outline the steps required to install OBS-Studio in Debian. Hope you enjoy!

If I've helped you in any way and you'd like to buy me a coffee, please click this link to do so:
https://www.paypal.me/dontcallmelenny
Many Thanks in advance!

These are the steps involved:
ADD DEB-MULTIMEDIA TO YOUR SOURCES ( USE SYNAPTIC TO ADD )

wget https://www.deb-multimedia.org/pool/m...

sudo dpkg -i deb-multimedia-keyring_2015.6.1_all.deb

sudo apt-get update



Add deb-multimedia to sources:

deb http://www.deb-multimedia.org testing main non-free

deb ftp://ftp.deb-multimedia.org testing main non-free

============================================================================================================

OBS-STUDIO INSTRUCTIONS - FOLLOW STEP BY STEP IN TERMINAL
MUST HAVE DEBIAN TESTING DISTRO INSTALLED


sudo apt-get install build-essential pkg-config cmake git checkinstall

sudo apt-get install libx11-dev libgl1-mesa-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 libjack-jackd2-dev libcurl4-openssl-dev


sudo apt-get install libavcodec-dev libavfilter-dev libavdevice-dev libfdk-aac-dev

sudo apt-get install x264

sudo apt-get install ffmpeg

sudo apt-get install zlib1g-dev yasm

git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git

cd ffmpeg

./configure --enable-shared --prefix=/usr

make -j4

sudo checkinstall --pkgname=FFmpeg --fstrans=no --backup=no \
--pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

=====================================================================================
cd to home directory
=====================================================================================

git clone https://github.com/jp9000/obs-studio.git

cd obs-studio

mkdir build && cd build

cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..

make -j4

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