Libreshot Development machine - XXLRay/libreshot GitHub Wiki
UNDER DEVELOPMENT!!!! USE WITH CARE!!!!!
Libreshot deploy how to
Suggested operating system is ubuntu 14.04 LTS
Our tests are based on ubuntu LTS NetInstall (mini.iso) with "Manual package Selection". You can download them here:
Then, install suggested standard packages with this code:
sudo apt-get update; sudo apt-get install build-essential openshot blender frei0r-plugins libmlt6 libav-tools frei0r-plugins-dev python-mlt swh-plugins git inkscape
at this stage, you should choose your desktop of choice. we will use lxde for our development machine:
sudo apt-get install lxde
Next is clone & install libreshot git with:
git clone https://github.com/XXLRay/libreshot.git ~/libreshot
cd libreshot
sudo python ./setup.py install
Navigate to libreshot/bin/ and execute: ./libreshot-depchecker.bash
This is current situation at this stage:
Kernel
Linux libreshot-dev 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Architecture
x86_64
OS Version
Ubuntu 14.04.3 LTS
ffmpeg/avconv Version
./libreshot-depchecker.bash: line 18: ffmpeg: command not found avconv version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) avconv 9.18-6:9.18-0ubuntu0.14.04.1 libavutil 52. 3. 0 / 52. 3. 0 libavcodec 54. 35. 0 / 54. 35. 0 libavformat 54. 20. 4 / 54. 20. 4 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 3. 3. 0 / 3. 3. 0 libavresample 1. 0. 1 / 1. 0. 1 libswscale 2. 1. 1 / 2. 1. 1
openshot Version
openshot 1.4.3-1.1
ffmpeg/avconv Version
dpkg-query: no packages found matching ffmpeg libav-tools 6:9.18-0ubuntu0.14.04.1
melt / mlt Version
melt 0.9.0
MLT libraries
ii libmlt++3 0.9.0-3 amd64 MLT multimedia framework C++ wrapper (runtime) ii libmlt-data 0.9.0-3 all multimedia framework (data) ii libmlt6 0.9.0-3 amd64 multimedia framework (runtime)
libav libraries
ii libav-tools 6:9.18-0ubuntu0.14.04.1 amd64 Multimedia player, server, encoder and transcoder ii libavcodec54:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav codec library ii libavdevice53:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav device handling library ii libavfilter3:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav video filtering library ii libavformat54:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav file format library ii libavresample1:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav audo resampling library ii libavutil52:amd64 6:9.18-0ubuntu0.14.04.1 amd64 Libav utility library
Blender version
Blender 2.69 (sub -0)
frei0r plugins
ii frei0r-plugins 1.1.22git20091109-1.4 amd64 minimalistic plugin API for video effects, plugins collection ii frei0r-plugins-dev 1.1.22git20091109-1.4 amd64 minimalistic plugin API for video effects, header files
available source packages
ii dpkg-dev 1.17.5ubuntu5.4 all Debian package development tools ii frei0r-plugins-dev 1.1.22git20091109-1.4 amd64 minimalistic plugin API for video effects, header files ii libc-dev-bin 2.19-0ubuntu6.6 amd64 Embedded GNU C Library: Development binaries ii libc6-dev:amd64 2.19-0ubuntu6.6 amd64 Embedded GNU C Library: Development Libraries and Header Files ii libgcc-4.8-dev:amd64 4.8.4-2ubuntu1
14.04 amd64 GCC support library (development files) ii libspnav0 0.2.2-1ubuntu1 amd64 Library to access 3D-input-devices (development files) ii libstdc++-4.8-dev:amd64 4.8.4-2ubuntu114.04 amd64 GNU Standard C++ Library v3 (development files) ii linux-libc-dev:amd64 3.13.0-63.103 amd64 Linux Kernel Headers for development ii manpages-dev 3.54-1ubuntu1 all Manual pages about using GNU/Linux for development
Another Tips: Using virtual machine has benefits, but also caveats. Working with VirtualBox, is a good thing to connect using x11 forwarding to avoid configuration at the VM. Here's how: http://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-from-ubuntu-machine
Note for rolling release ubuntu users (14.10 , 15.04 , 15.10)...
It seems that mlt libraries higher than 0.9.0 breaks some components of libreshot, therefore, we suggest to downgrade to LTS mlt libraries, using the following method:
sudo sed -i 's/wily/trusty/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get purge libmlt-data libmlt6 libmlt++3 python-mlt melt
sudo apt-get install libmlt-data libmlt6 libmlt++3 python-mlt melt
sudo echo "libmlt6 hold" | sudo dpkg --set-selections
sudo echo "libmlt-data hold" | sudo dpkg --set-selections
sudo echo "libmlt++3 hold" | sudo dpkg --set-selections
sudo echo "python-mlt hold" | sudo dpkg --set-selections
sudo echo "melt hold" | sudo dpkg --set-selections
sudo sed -i 's/trusty/wily/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libqt5gui5 libqt5xml5 libqt5svg5
[UPDATE!!!!!!!]
It seems that newer versions of MLT Framework (0.9.9) fixes problems, but they're not currently available from Ubuntu repositories. This recipe will help you to install it from source:
## Final Recipe for Wily - MLT GIT
sudo apt-get install libpulse-dev librtaudio-dev libjack-jackd2-dev libladspa-ocaml-dev libxml2-dev
git clone https://github.com/mltframework/mlt.git ~/mlt
cd ~/mlt
./configure --swig-languages=python --prefix=/usr --enable-gpl && make
sudo make install
cd ~/mlt/src/swig/python/
sudo cp mlt.py _mlt.so mlt.i /usr/lib/python2.7/
# Libreshot installation
git clone https://github.com/XXLRay/libreshot.git ~/libreshot
cd ~/libreshot
sudo ./setup.py install