Dec
24
Install VLMC video editor in Debian and Ubuntu
Thu, 12/24/2009 - 18:25
Update
This article is outdated. VLMC can now easily be installed on Ubuntu using this PPA: VLMC Daily Build PPA for Ubuntu.
I was very excited to learn that the developers of the VLC player are working on a cross platform non-linear video editor. I spent some time getting it to compile and made a script that will install it automatically.
I've tested the script on clean installs of Ubuntu Karmic, Ubuntu Lucid and Debian Squeeze to verify it pulls in all required dependencies.
VLMC does not work in Debian Lenny, for it needs Qt 4.5. If you use Debian you need to enable sudo for your user account.
Mind that these are large software packages and compiling them can take a long time: from 15 minutes up to more than an hour depending on the speed of your machine.
I update this script regularly, if you come across any problems please let me know in the comments.
#!/bin/bash #remove VLC and clean up sudo apt-get remove vlc sudo apt-get autoremove #install required packages sudo apt-get build-dep vlc sudo apt-get install libtool build-essential automake1.10 git-core libqt4-dev qt4-qmake liblua5.1-dev libswscale-dev cmake #download the source repositories of VLC and VLMC sudo chmod 777 /usr/local/src cd /usr/local/src/ git clone git://git.videolan.org/vlc.git git clone git://github.com/VLMC/vlmc.git #build VLC cd vlc/ ./bootstrap mkdir build;cd build/ ../configure --disable-xcb --disable-nls --disable-mozilla --disable-live555 make sudo make install make clean #update library bindings sudo ldconfig #build VLMC cd /usr/local/src/vlmc/ echo "LIBS = -L/usr/local/lib -lvlc" >> vlmc.pro cmake . make #run VLMC ./vlmc
references:
http://wiki.videolan.org/UnixCompile
http://wiki.videolan.org/Building_VLMC

Help!
I did what you said and get the following error.
Can you help me?
Greetings,
Steven
qmake
root@steven-desktop:/usr/local/src/vlmc# make
g++ -Wl,-O1 -o vlmc -L/usr/lib -L/usr/local/lib -lvlc -lQtGui -lQtCore -lpthread
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function
_start':main'(.text+0x18): undefined reference to
collect2: ld returned 1 exit status
make: *** [vlmc] Fout 1
root@steven-desktop:/usr/local/src/vlmc#
root@steven-desktop:/usr/local/src/vlmc# #run VLMC
root@steven-desktop:/usr/local/src/vlmc# ./vlmc
bash: ./vlmc: Bestand of map bestaat niet
g++ -Wl,-O1 -o vlmc -L/usr/lib -L/usr/local/lib -lvlc -lQtGui -lQtCore -lpthread
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function
_start':main'(.text+0x18): undefined reference to
collect2: ld returned 1 exit status
I made a few corrections to the script so that it runs on a fresh install of Ubuntu Lucid with the latest sources of VLC and VLMC.
The build system has changed. You need to run "cmake ." instead of "qmake". I've updated the script in the original post.
Hi Pieter,
It worked perfectly
Thanks!!
Steven
hi
I think I need help..
I get this error on make..
echo "Attempt to byte-compile unknown file: ../../share/lua/extensions/allocine-fr.lua!"; \
exit 1
mkdir -p "$(dirname 'lua/extensions/allocine-fr.luac')"
false -o lua/extensions/allocine-fr.luac ../../share/lua/extensions/allocine-fr.lua
make[2]: *** [lua/extensions/allocine-fr.luac] Errore 1
make[2]: uscita dalla directory «/usr/local/src/vlc/build/share»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory «/usr/local/src/vlc/build»
make: *** [all] Errore 2
thankyou
Hey Fegato,
I did a bit of research and the "allocine-fr" is a new extension that has been added to VLC only two weeks ago. It seems to be buggy. I propose you skip this extension, by running configure like this:
../configure --disable-xcb --disable-nls --disable-mozilla --disable-live555 --disable-allocine-fr
I'll update the script as well. Thanks for the report!
Hey Pieter
Sorry but it didn't work
I've also found this warning line in the config:
configure: WARNING: unrecognized options: --disable-allocine-fr
Maybe I can solve removing any allocine-fr mentions in the makefile?
thanks
Didn't work..
I forgot to say I'm on x86_64 don't know if matter..
make sure that the "luac" is in your %PATH%
@fegato
for me it worked by removing lua5.0
and installing lua5.1 + dev
good luck
hi,
Ubuntu 10.04 amd_64
at the end:
used as include directory in directory /usr/local/src/vlmc/src/EffectsEngine/Plugins/src/MixerEffect
LIBVLC_LIBRARY
linked by target "vlmc" in directory /usr/local/src/vlmc/src
-- Configuring incomplete, errors occurred!
make: *** Nessun obiettivo specificato e nessun makefile trovato. Arresto.
VLMC not build, read INSTALL first
Hello,
Thanks for the information and the script.
I had to install automake1.11 to make it work.
With automake 1.10 I had lots of errors.
Hope this helps.
Regards,
Got this at the end of execution:
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
VLMC not build, read INSTALL first
Any idea???
Post new comment