Wednesday, March 30, 2011

Video editing in Ubuntu

A student asked me earlier today if I knew how to install the program Cinelerra, which seems to be a very nice open source video editing software. He had apparently tried installing it some time ago, but had failed to get it working, ending up in your usual hours of typing commands from sites and wondering what the heck they do.
As I was intrigued to see if this program would be so complicated to install, 10 minutes later I had it installed on our student library Ubuntu machine (especially for those support FOSS and/or Ubuntu), and afterwards explained how I'd done that. I'll do the same thing here, after the break.

note: I'm a noob at video editing, and it's not really my thing, so don't ask me how the program itself works ;)

The entire procedure of installing is quite simple, as you can get it from (manually added) repositories. Of course these are not maintained by Canonical (the company behind Ubuntu), so it could be that this way stops working tomorrow, or might not patch a security bug very fast. But if your just interested in getting Cinelerra working fast, this is a very easy way:

In a terminal, become root on your machine: (i hate constantly typing sudo ;)
   su root

Now get, install and remove the debian install package which will add the Cinelerra repositories
   wget -q
   dpkg -i addakirad.deb
   rm addakirad.deb

Update the list of software we can get from the repositories (the qq is to suppress useless output except errors)
   apt-get -qq update

As there are two different versions, depending if your cpu supports a certain cpu instruction ("ssse3"), which would make the program faster. So if your CPU supports this, it is advised to get the faster version.

Let's find out if we support this:
   grep ssse3 /proc/cpuinfo

If that command gives output, run the following to get the speedy version:
   apt-get -qq install cinelerra-xt

However, if that command didn't give output, or you are unsure, then use this version that will run everywhere:
   apt-get -qq install cinelerra

Done! You can find it under your sound & video part of the 'start' menu.
Also, as it's in the repositories now, it will also automatically be updated with the rest of your software!
Another thing is you can use these same instructions for getting cinecutie which seems to be a bit different from cinelerra. The only thing you should change is the final 'apt-get install cinelerra(-xt)' line, and change it to 'apt-get install cinecutie(-xt)'. As I don't know the differences of the versions I won't go into that.

For completeness, I tested this on a lucid 10.04.2 installation and it worked fine.
Cinelerra screenshot, grabbed from google images

No comments:

Post a Comment