This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Feature: Graphics & Multimedia

Installing Cinelerra on Ubuntu Studio

By Rui Lopes on October 10, 2007 (9:00:00 AM)

Share    Print    Comments   

Cinelerra, one of the only serious video editing and compositing tools available for Linux, can cause frustration for users trying to install it on Ubuntu Studio. Fortunately, after several attempts, I found a way to install it easily.

Ubuntu Studio is a relatively new distribution based on Ubuntu (the version I'm using is 7.04 Feisty Fawn), whose specific aim is multimedia production, so it may be surprising that trying to install Cinelerra on Ubuntu Studio is like a nightmare come true. Nathan Willis reported this problem in his review of Ubuntu Studio, and the same complaints can be heard in forum threads on the Internet.

Cinelerra comes in two versions -- one with the original codebase, released by a mysterious person/entity called Heroine Virtual, and the community version (CV), which makes revisions and improvements to that code. Although it is released as GPL, there is a controversy surrounding the legality of the original codebase, and that has kept Cinelerra from being included in the official repositories of most Linux distributions. In Debian and Ubuntu, you have to use third-party repositories in order to install the community version, which is the most stable and widely used.

The hard way

I first installed Cinelerra by adding the repositories listed on the community version Web site to the /etc/apt/sources.list file and then issuing sudo apt-get install cinelerra. You could also use Christian Marillat's debian-multimedia repositories.

After installing Cinelerra, trying to run the application by clicking on the icon seemed to do nothing. I tried running it from the command line, which produced the following error: cinelerra cinelerra: symbol lookup error: /usr/lib/ undefined symbol: faacDecDecode. I searched the Internet for information regarding this issue, but found little useful data.

I then tried to compile the application from source, which required me to install Subversion. In the end, after installing numerous dependencies, the list of missing requirements offered by ./configure was so big that I just gave up.

By this time, I began to consider installing dyne:bolic, which brings Cinelerra correctly preinstalled, just to get it over with. But a certain kind of stubbornness and a growing attachment to the Ubuntu Studio look and feel made me persist. I finally tracked the problem down to the libfaad library, which had to be downgraded. I tried to run Package -> Force Version (Ctrl-E) on Synaptic, but to no avail. I had to download the package manually and install it by issuing sudo dpkg -i filename on the command line. After this, Cinelerra finally started working properly.

An easier way

I was recently forced to reinstall Ubuntu Studio, and figured there must be a better way to install Cinelerra. After some experimenting, I found an easier solution.

I started by installing Trevino's Ubuntu repository for Feisty Fawn, which contains a list of up-to-date multimedia software, including Cinelerra. You can install it in one of two ways -- you can either search for "trevino" on Synaptic and install the package (it will override sources.list on /etc/apt/ but make a backup copy of the original first), or you can download a sources.list file directly from Trevino's Web site and replace the original by hand.

Next, I chose Cinelerra (version 2.1.0-2svn2007424ubuntu3) in Synaptic and tried to install it. Synaptic warned me that Cinelerra depends on libquicktimehv. I tried to install that first, but Synaptic gave me another error message: Depends: libfaad0 (>=2.5-2.1cafuego0) but it is not installable. Searching for libfaad0 in Synaptic gave me no results, but searching for faad showed me both libfaad0 and libfaad2-0. I installed libfaad0 (version 2.5-2.1), but libfaad2-0 refused to install, asking for libfaad0 2.5-2.1cafuego0.

However, I didn't lose hope. I tried to force a different version of libfaad2-0 (in this case, 2.0.0+cvs20040908+mp4+bmp-0ubuntu3), and it worked, though it removed the version of libfaad0 I had already installed. This left me concerned, but installing all the other dependencies and Cinelerra itself went without a glitch.

After this, seeing Cinelerra's splash screen appear was a relief, until Cinelerra showed a warning about memory issues. I tried running sudo echo "0x7fffffff" > /proc/sys/kernel/shmmax, as it advised, but I got a permission-denied error. You can work this out in one of two ways. First, you can issue sudo gedit /etc/sysctl.conf and add kernel.shmmax = 0x7fffffff at the end. You then save the file and run sysctl -p on the command line. Alternatively, you can do a permanent root login by issuing sudo su and then echo "0x7fffffff" > /proc/sys/kernel/shmmax. After this, Cinelerra should stop giving a warning message at startup.

In the end, it all comes down to opening Synaptic, installing Trevino's Ubuntu Feisty Fawn repositories, forcing libfaad2-0 version 2.0.0+cvs20040908+mp4+bmp-0ubuntu3, installing all the remaining dependencies and Cinelerra itself, and resolving the memory issue. I've since installed Ubuntu Studio on a secondary machine, and this procedure worked without problems.

Advice for new users

Once you get the program working, don't be put off by first impressions. Cinelerra has one of the ugliest interfaces I've ever seen, but luckily the application is themeable. In the main window, go to Settings -> Preferences (or press Shift-P) and then Interface -> Theme. Currently there aren't many themes to choose from; a broader selection would certainly benefit Cinelerra.

Eye-candy issues aside, new users will soon learn why Cinelerra is the undisputed king of video-editing applications for Linux. Fortunately, it's also the one with the most comprehensive documentation. The maintainers of the CV version gathered most of the disperse guides and wikis on the Internet in one place, in addition to assembling their own manual.

Some Cinelerra users report frequent crashes out of the blue. With my current configuration, I do experience crashes, but they happen rarely. Save your projects frequently, and if Cinelerra crashes before a save, load it again, and choose File -> Load backup.

The final release of Ubuntu Studio 7.10 (Gutsy Gibbon) is just around the corner. I'm tempted to upgrade, but I hope either that Cinelerra comes preinstalled this time, or that installing it is easier for a first-time user of the distribution. I hope the Ubuntu Studio developers will put more focus on video editing tools in future releases.

Rui Lopes is a Portuguese Web designer and filmmaker who has a wide range of interests in the technology field.

Share    Print    Comments   


on Installing Cinelerra on Ubuntu Studio

Note: Comments are owned by the poster. We are not responsible for their content.

Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 10, 2007 10:34 AM
That is very strange! I remember that on vanilla Ubuntu Dapper, this installation was not so painful.


Re: Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 10, 2007 02:52 PM
In general, Edgy -> Feisty caused much pain.


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 10, 2007 05:22 PM
You don't need subversion to just download source if you're gonna get the latest trunk or a tag. Then you can use wget.


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 10, 2007 07:30 PM
Not sure why this is such a problem. Add this to your repos.

deb ./

Then do

sudo apt-get install cinelerra


Installing Cinelerra on ALT isn't worth a lengthy article ;-P

Posted by: Michael Shigorin on October 10, 2007 08:47 PM
Wow, shame on Ubuntu Studio. On not-that-much-hyped-as-a-multimedia-distro <a href=>ALT Linux 4.0</a>, I just did apt-get install cinelerra and it was ready to go. And a ton of other worthy software too, including FFMPEG with WMV/AMR support, recent Kino and all. No need to muck around with extra repos and inter-repo package/soname differences.

BTW you can use sysctl(8) instead of echoing stuff around:

sysctl -w kernel.shmmax=0x7fffffff

in case you never understood the "permission error", cinelerra did recommend "echo ... > ..." [as root], and you did "sudo echo ... > ...". If smart people at canonical would actually care to explain you'd probably know that your form means "run sudo echo and redirect its output to a file" to shell (redirection is done by shell running as user), and cinelerra's means running sufficiently empowered shell to begin with.

sysctl is better since it has no such intricacies, and more: it has a config file, /etc/sysctl.conf, where this stuff can be fixated to get adjusted at boot.
[Modified by: Michael Shigorin on October 10, 2007 08:48 PM]



Posted by: Anonymous [ip:] on October 10, 2007 09:39 PM
Blender has a great video editor too...


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 11, 2007 03:37 AM
I haven't tried the instructions above (yet), but this sort of leg work should be very useful to many. While it may be true that some distros might have it nailed, this certainly provides useful hints/recipe to many that have struggled trying to set up cinelerra and failed.


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 13, 2007 07:36 PM
What people do not seem to understand is that the reason that, in its current form, Cinelerra could never be included in official Debian and Ubuntu repositories is licensing and copyright. The codebase is so messy when it comes to those two things, the archive admins would flat out reject it. Cinelerra also uses a custom version of ffmpeg afairc and would need to be modified to work with the mainline version.

There was an attempt by a member of the Ubuntu Studio team to do both of those things by muzzol. Ultimately, it was a lack of manpower and interest from the upstream devs to actually properly license the code that meant Cinelerra would, at best, be relegated to a 3rd party repository run by the team.


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on October 31, 2007 08:32 PM
This is a shame as Linux really needs this app ( or an upgrade to Kino)
I have tried on 64studio but get errors trying to download it.
On this site the main link is broken ( half loaded page with no links)

I guess the powers that be dont wont us producing good stuff on GNU-linux yet.


************ Update***********

Got this working on 64studio
many thanks for the help on here!

Best regards
[Modified by: Anonymous on October 31, 2007 09:36 PM]

[Modified by: Anonymous on October 31, 2007 09:37 PM]

[Modified by: Anonymous on October 31, 2007 09:39 PM]


Installing Cinelerra on Ubuntu Studio

Posted by: Anonymous [ip:] on November 10, 2007 11:23 PM
For your permission denied error, you could also use sh to redirect with sudo privileges:

sudo sh -c 'echo "0x7fffffff" > /proc/sys/kernel/shmmax'

Although for this particular purpose sysctl sounds more appropriate.


This story has been archived. Comments can no longer be posted.

Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya