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

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 7: Linha 7:
 
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
 
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
 
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev
 
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev
 +
</source>
 +
 +
<source lang="bash">
 +
sed -i '9i #include <QDataStream>' ../core/engine/stabilizecollection.cpp
 
</source>
 
</source>
  

Edição das 20h20min de 26 de junho de 2016

Página do projeto

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
sed -i '9i #include <QDataStream>' ../core/engine/stabilizecollection.cpp

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 ..