Mudanças entre as edições de "MachinTruc"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 16: Linha 16:
 
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev \
 
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev \
 
build-essential git-core  
 
build-essential git-core  
</source>
 
 
<source lang="bash">
 
sed -i '9i #include <QDataStream>' ../core/engine/stabilizecollection.cpp
 
 
</source>
 
</source>
  

Edição das 16h35min de 5 de julho de 2016

Página do projeto

Adicionando repositório

echo deb http://www.deb-multimedia.org stretch main non-free >> /etc/apt/sources.list
apt-get update
apt-get install -y deb-multimedia-keyring
apt-get update

instalando dependências

sudo apt-get install libmovit-dev libavformat-dev qt5-default \
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev \
build-essential git-core

compilando vid.stab

git clone https://github.com/georgmartius/vid.stab
cd vid.stab/
wget http://hftom.fr/vidstab.memleak-fix.diff
patch -p1 < vidstab.memleak-fix.diff 
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/
make
make install

compilando

git clone https://github.com/hftom/MachinTruc.git
cd MachinTruc/
mkdir build
cd build
qmake ..
make