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

Share this
Tags:
  1. Steven (not verified) on Wed, 04/28/2010 - 19:41

    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':
    (.text+0x18): undefined reference to
    main'
    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

  2. Steven (not verified) on Fri, 04/30/2010 - 21:23

    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':
    (.text+0x18): undefined reference to
    main'
    collect2: ld returned 1 exit status

  3. Pieter on Sun, 05/09/2010 - 21:54

    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.

  4. Pieter on Sun, 05/09/2010 - 22:16

    The build system has changed. You need to run "cmake ." instead of "qmake". I've updated the script in the original post.

  5. Steven (not verified) on Wed, 05/12/2010 - 14:09

    Hi Pieter,

    It worked perfectly
    Thanks!!

    Steven

  6. fegato (not verified) on Sun, 06/20/2010 - 11:25

    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

  7. Pieter on Sun, 06/20/2010 - 12:43

    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!

  8. fegato (not verified) on Sun, 06/20/2010 - 17:54

    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

  9. fegato (not verified) on Sun, 06/20/2010 - 18:12

    Didn't work..

    I forgot to say I'm on x86_64 don't know if matter..

  10. Sharl (not verified) on Sun, 06/27/2010 - 09:12

    make sure that the "luac" is in your %PATH%

  11. kim (not verified) on Sun, 06/27/2010 - 12:14

    @fegato

    for me it worked by removing lua5.0
    and installing lua5.1 + dev

    good luck

  12. Roberto (not verified) on Sat, 07/10/2010 - 00:56

    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

  13. tatico (not verified) on Tue, 08/10/2010 - 14:10

    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,

  14. Guy (not verified) on Sat, 09/24/2011 - 23:48

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

  15. Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
    • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
    • Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.