Open Broadcast Software no Debian Jessie

De MochilaWiki
Ir para navegaçãoIr para pesquisar

ajustando repositório

wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2014.2_all.deb
dpkg -i deb-multimedia-keyring_2014.2_all.deb
echo 'deb http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list
apt-get update

instalando dependências

apt-get install cmake build-essential libjansson-dev libxinerama-dev \
libv4l-dev libx264-dev libxcomposite-dev libgudev-1.0-dev \
libfreetype6-dev libfontconfig1-dev libpulse-dev libtool \
vlc v4l-utils gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad \
git-core qtbase5-dev qtbase5-dev-tools autoconf2.13 \
libqt5x11extras5-dev libswscale-dev libswresample-dev \
libavutil-dev libavformat-dev libavdevice-dev libavcodec-dev \
libxcb-xinerama0-dev libxcb-shm0-dev libjack-dev libudev-dev

compilando libfdk-aac

git clone https://github.com/ob-encoder/fdk-aac.git 
cd fdk-aac
autoreconf -i && ./configure --prefix=/usr --enable-shared 
make -j5 && sudo make install

compilando OBS - GiT

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 -j
make install
ldconfig

Se der erro tente make -j4 ou aumente a memoria swap para 1G

dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
chmod 0600 /var/swap.img
swapon /var/swap.img