Mudanças entre as edições de "Open Broadcast Software no Debian Jessie"
De MochilaWiki
Ir para navegaçãoIr para pesquisar(3 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
== ajustando repositório == | == ajustando repositório == | ||
− | + | ||
− | + | É necessário ter no sources.list | |
− | + | deb http://ftp.br.debian.org/debian jessie main contrib non-free | |
− | |||
− | |||
− | |||
== instalando dependências == | == instalando dependências == | ||
<source lang="bash"> | <source lang="bash"> | ||
− | apt-get install | + | sudo apt-get install libx11-dev libgl1-mesa-dev libpulse-dev libxcomposite-dev \ |
− | + | libxinerama-dev libv4l-dev libudev-dev libfreetype6-dev \ | |
− | + | libfontconfig1-dev qtbase5-dev libqt5x11extras5-dev libx264-dev \ | |
− | + | libxcb-xinerama0-dev libxcb-shm0-dev libjack-jackd2-dev libcurl4-openssl-dev \ | |
− | + | build-essential pkg-config cmake git checkinstall libfdk-aac-dev yasm | |
− | |||
− | |||
− | |||
</source> | </source> | ||
− | == compilando | + | == compilando FFmpeg - GiT == |
<source lang="bash"> | <source lang="bash"> | ||
− | git clone | + | git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git |
− | cd | + | 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 | ||
+ | sudo dpkg -i ffmpeg*.deb | ||
</source> | </source> | ||
Linha 30: | Linha 26: | ||
<source lang="bash"> | <source lang="bash"> | ||
git clone https://github.com/jp9000/obs-studio.git | git clone https://github.com/jp9000/obs-studio.git | ||
− | cd obs-studio | + | cd obs-studio |
+ | mkdir build && cd build | ||
cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr .. | cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr .. | ||
− | make - | + | make -j4 |
− | make | + | sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes |
− | + | sudo dpkg -i obs-studio_*.deb | |
+ | </source> | ||
+ | |||
+ | == FFmpeg e OBS compilado == | ||
+ | <source lang="bash"> | ||
+ | sudo apt-get install libqt5widgets5 libxcb-shm0 libjack-jackd2-0 libcurl3 libxcb-xinerama0 libqt5x11extras5 | ||
+ | wget http://pub.nkosi.org/floema/obs/ffmpeg_20151230-git-1_amd64.deb | ||
+ | wget http://pub.nkosi.org/floema/obs/obs-studio_20151230-git-1_amd64.deb | ||
+ | sudo dpkg -i obs-studio_20151230-git-1_amd64.deb ffmpeg_20151230-git-1_amd64.deb | ||
+ | </source> | ||
+ | |||
+ | |||
+ | Se der erro tente make -j4 ou aumente a memoria swap para 1G | ||
+ | |||
+ | <source lang="bash"> | ||
+ | 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 | ||
</source> | </source> | ||
+ | |||
+ | Referências | ||
+ | * https://github.com/jp9000/obs-studio/wiki/Install-Instructions#manually-compiling-on-debian-based-distros | ||
+ | * https://obsproject.com/forum/threads/compiling-and-installing-in-debian.17864/page-2#post-153051 | ||
+ | |||
+ | |||
[[Categoria:Open Broadcast Software]] | [[Categoria:Open Broadcast Software]] |
Edição atual tal como às 16h16min de 30 de dezembro de 2015
ajustando repositório
É necessário ter no sources.list
deb http://ftp.br.debian.org/debian jessie main contrib non-free
instalando dependências
sudo apt-get install libx11-dev libgl1-mesa-dev libpulse-dev libxcomposite-dev \
libxinerama-dev libv4l-dev libudev-dev libfreetype6-dev \
libfontconfig1-dev qtbase5-dev libqt5x11extras5-dev libx264-dev \
libxcb-xinerama0-dev libxcb-shm0-dev libjack-jackd2-dev libcurl4-openssl-dev \
build-essential pkg-config cmake git checkinstall libfdk-aac-dev yasm
compilando FFmpeg - GiT
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
sudo dpkg -i ffmpeg*.deb
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 -j4
sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes
sudo dpkg -i obs-studio_*.deb
FFmpeg e OBS compilado
sudo apt-get install libqt5widgets5 libxcb-shm0 libjack-jackd2-0 libcurl3 libxcb-xinerama0 libqt5x11extras5
wget http://pub.nkosi.org/floema/obs/ffmpeg_20151230-git-1_amd64.deb
wget http://pub.nkosi.org/floema/obs/obs-studio_20151230-git-1_amd64.deb
sudo dpkg -i obs-studio_20151230-git-1_amd64.deb ffmpeg_20151230-git-1_amd64.deb
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
Referências