You can download the latests official release of MLT from http://mltframework.org.
But it is recommended to use the latest development version which contains bug fixes. This page explain how to compile and install this version from the source code. If you just want to use the latest MLT component but keep an official Kdenlive released, please read this: http://kevin.deldycke.com/2010/11/latest-stable-kdenlive-development-ver...
Remove MLT previous installation
You should uninstall previous versions of MLT very carefully. Warning: to remove MLT, you will need to connect under root account. There is a risk to destroy your operating system if you remove the wrong files.
- Use your package installer to remove any
mlt*andlibmlt*packages. - Inspect
/usr/local/liband/usr/libdirectories and look formlt*andlibmlt*. Remove files and directories if any. - Remove pkgconfig files (
mlt-framework.pc,mlt-miracle.pcandmlt-valerie.pc). Remove the following files:/usr/lib/pkgconfig/libmlt*,/usr/local/lib/pkgconfig/libmlt*.
Install dependencies
Make sure you have the following packages installed:
libxml2-devlibsdl-devlibsdl-image-devlibavdevice-devlibswscale-devlibvorbis-devlibsamplerate-devfrei0r-plugins-dev(must notbe installed you compiled frei0r from source)libdv-devlibavformat-devlibquicktime-dev
We also recommand that you install:
libsox-devlibjack-devladspa-sdk
Get latest MLT source code
Git is used to track MLT code. You can checkout the latest version with the following command:
cd
git clone git://mltframework.org/mlt.git
cd mlt
To update your MLT copy later, you need to go into your mlt folder and run the following code to fetch the newest source code:
cd
cd mlt
git pull
Configure MLT
Before compiling, MLT needs to be configured (searches for libraries etc.):
./configure --prefix=/usr --enable-gpl
Or, if qimage module fails to configure, try:
./configure --prefix=/usr --enable-gpl --qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/qt4
Read configuration output and make sure all shared libraries are found.
Compile and install MLT
The last step. Compiling will take a long time.
make clean
make -j3
sudo make install
If you are not on Ubuntu, then use su -c 'make install' instead of sudo make install.
Get a specific MLT version
This is only necessary when you experience problems with the most recent MLT version. To list the available tags and select one (e.g. v0.4.6) do:
git tag -l
git checkout tag
To switch back to the most up-to-date version use master as tag. After checking out the tag you need to do a git pull again.

- 42246 reads
- PDF version