Cinelerra Installation Print E-mail

 

The reprint of this tutorial is authorized only with the active link: http://www.assistcg.com/  

 

 We assume that you chose Ubuntu 8.04 (or latest UbuntuStudio) distributive according to our recommendations.

Cinelerra can be downloaded from 2 sources. You can download compiled version Cinelerra 4.0 from http://www.heroinewarrior.com/cinelerra.php#download . Unpack downloaded archive into the directory you have chosen. You can run Cinelerra by double-click the "Cinelerra" file.

Also you can download Cinelerra (source code) from http://cinelerra.org/getting_cinelerra.php (these two versions are different. cinelerra.org and heroinewarrior.com run its own development) . Please refer to these installation instructions placed on http://cinelerra.org/ website. Installation works perfectly and will take about 5 minutes of your time.

The only possible problem could be if you have installed mpeg3-utils package before. In this case first you need to remove mpeg3-utils. This could be done by the following command:
#sudo apt-get remove mpeg3-utils

Or you may use Synaptic package manager for this purpose.

However, the best solution to install cinelerra is to compile it from source code. This way is harder but better since you'll avoid possible unnecessary errors.

First you need to install development packages of the following libraries:
    - build-essential
    - automake
    - autoconf
    - libtool
    - g++
    - nasm

After installation of these packages you'll be able to run autogen.sh script located in the root of my_cinelerra directory. It will create configure script that will be used in next configuration steps. Before we start configure script we need to install following packages (with dependencies if required):
    - libasound2-dev
    - a52dec
    - dv
    - faac
    - ffmpeg
    - fftw
    - lame
    - libavc1394
    - libfaad2
    - libraw1394
    - mjpegtools
    - OpenEXR
    - theora
    - x264


Then you'll need to download source code from the repository by using git utility (git-core package in Ubuntu and Debian). Execute the following command in command line after git installation:
#git clone git://git.cinelerra.org/j6t/cinelerra.git my_cinelerra

This command will create directory my_cinelerra in the current directory.

Once this is done you still need to install several packages to make a successfull cinelerra build, install the following packages with dependencies:
    - libogg-dev
    - libvorbis-dev
    - libtheora-dev
    - libopenexr-dev
    - libdv4-dev
    - libjpeg62-dev
    - libtiff4-dev
    - libpng-dev
    - libfreetype6-dev
    - libx264-dev
    - uuid-dev
    - libmjpegtools-dev
    - libfftw3-dev
    - liba52-0.7.4-dev
    - liblame-dev
    - libsndfile1-dev
    - libfaac-dev
    - libfaad-dev
    - libraw1394-dev
    - libiec61883-dev
    - libavc1394-dev
    - libesd0-dev
    - libxxf86vm-dev
    - libxv-dev

Now we may start compilation using command:
#make

After compilation execute:
#sudo make install
#sudo ldconfig


Add the following line to the /etc/rc.local file:
echo "0x7fffffff" > /proc/sys/kernel/shmmax

Now cinelerra is installed into your system. You may run it from command line by typing cinelerra or from Run Command window (you may open it by pressing Alt+F2). Later you can add it to the system menu. If you still have questions about Cinelerra installation then you may ask your questions on our forum.