Building VLMC

From VideoLAN Wiki
Jump to navigation Jump to search

Building VLMC from source

This wiki page has information on building VideoLAN Movie Creator, VLMC from source. VLMC (VideoLAN Movie Creator) is a free video editing software, offering features to realize semi-professional quality movies, but with the aim to stays simple and user-friendly.

Resources

VLMC requires a c++ compiler (g++), cmake, Qt(4.6+), libVLC and frei0r plugins.

To install Qt, refer: http://www.qtsoftware.com/downloads

To install libVLC, you are required to compile VLC

To get the current source of VLC player, refer: http://wiki.videolan.org/GetTheSource

For information on using Git, refer: http://wiki.videolan.org/Git

For Information on generic compilation of VLC, refer: http://wiki.videolan.org/Compile_VLC

In case you are interested in mailing list, goto:

 http://mailman.videolan.org/listinfo/

We have two VLMC mailing lists:

 * vlmc-announce: Official announcements (release, events, ...)
 * vlmc-devel: Developers discussions

Getting the code

You can fetch the current VLMC working tree using Git:

 git clone git://git.videolan.org/vlmc.git

Do the same for VLC (as described in http://wiki.videolan.org/GetTheSource):

 git clone git://git.videolan.org/vlc.git

Building VLMC on Linux

Following is the cleanest way of compiling VLMC (commands for *nix OS)

1. Compile and install libVLC, libVLC is required by VLMC (You can also install VLC using your linux distribution), for example:

 cd path_to_vlc_src
 ./bootstrap
 ./configure --your-options-here (see --help)
 make
 sudo make install

2. For Compiling VLMC:

 cd path_to_vlmc_src
 mkdir build && cd build
 cmake ..
 make

3. Run VLMC:

 ./vlmc

Cross Compiling VLMC for Windows on Linux

VLMC can be cross-compiled for Windows, on Linux using mingw:

  cd contribs
  sh contribs.sh
  mkdir win32 && cd win32
  cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-win32.cmake ..
  make

Compiling on Mac OS

VLMC can be compiled on Mac OS, do:

 cd contribs
 sh contribs-mac.sh
 mkdir build && cd build
 cmake ..
 make

To create a dmg image, uncomment #dmg in /src/CMakeLists.txt, at the end of the file. This creates the app/dmg in <build-directory>/bin

Packaging VLMC

  • On Linux, you can create deb/rpm package by using:
   make package
  • You can create NSIS installer for Windows using cross-compiling on Linux:
  make installer

Start hacking ;-)