Open Source Challenge part 8: Video editing

Ashton Mills17 September 2007, 12:44 AM

So far the challenge to go all Linux has been a hit and miss affair, but it's also been a great learning experience. Now Ashton swings his Ubuntu guns on the problem of video editing.


Mysterious missing space is a good example of the type of issues that only show up after using a system for a while. Windows has plenty of these types of quirks, not the least of which is a more 'sluggish' system that seems to occur over time as applications come and go.

Linux is not exempt from these sort of glitches, and one of them I came across happened to do with my ever decreasing amount of free space.

The Ratings

In this project we're making the assumption that Windows does all that we need, and we're seeing if Linux and open source software measures up. Perhaps that's not an entirely fair place to sit, however as the de-facto in operating systems for which everyone is familiar, it's our best basis for comparison. So here's how we'll rate the experience of going Windows-free:

Optimal -- Passes with flying colours. The task could not only be completed, but better or easier than under Windows.

Pass -- No problems. The task can be completed exactly as under Windows.

Iffy -- When a task could only be partially completed, or completed but not without issue.

Flop -- Not possible to complete at all. Probably not a good thing.

Managing Space

Now, naturally, as more software is installed and I create more files in my everday work, I'm going to be using more disk space. Howevever even as I deleted files I didn't seem to be reclaiming the disk space. A stint of video editing (see below) certainly helped this space to be used, but I didn't realise just how little space I had left until Ubuntu told me it couldn't save a file because there wasn't 'enough free space'. This, on a on a 10GB partition of which Ubuntu and Open Office initially used around 2.5GB. How could this be?

Now, being familiar with Linux, this cause wasn't hard to find -- like Windows, Ubuntu defaults to 'backing up' all deleted files into a 'Trash' folder, so that they can be undeleted. Checking my '.Trash' directory, hidden under the home folder, I had 7GB of data over the past seven months that could be deleted. As a whole, the 'Trash' folder idea is a nice one, except for the following: When Ubuntu told me I had run out of space, it didn't tell me I happen to have almost 7GB of data in Trash that could be deleted to free up space, and didn't offer me the option to empty it.

This is, for want of a better phrase, bad form. Even Windows will prompt in advance as disk space runs out to run a disk clean up and, in the process, empty the Trash.

For me, knowing the problem, it was easily fixed by changing to the '.Trash' directory at the command line and running an 'rm -rf *' to clear it. Instant 7GB of free space.

For the average Windows user new to Linux trying to use it as a replacement for Windows, with little knoweldge of the Linux directory structure (which the GUI is supposed to make irrelevant for you), they'd be left scratching their head and searching forums for how to recover their disk space. Come on Ubuntu, this isn't rocket science.

Overall, not the least bit impressed.


Managing disk space: Flop -- Not possible to complete at all. Probably not a good thing.

The 'df', or disk free, command shows the remaining space on a drive. Note the highlighted and normally hidden '.Trash' folder.The 'df', or disk free, command shows the remaining space on a drive. Note the highlighted and normally hidden '.Trash' folder.

 

Video editing

With the prevalence of cheap digital cameras, most of which can record moives as well, home video editing is on the rise. So much so that Microsoft put a huge emphasis on this functionality for Vista, and say what you will about Microsoft, when it comes to the home user it has its finger on the pulse.

Linux is no stranger to video editing, and quite literally its encoding tools are top notch and used regularly in the commercial sphere for professional work, such as movie studios and frequently in conjuction with proprietary Linux based tools.

Hoolywood aside, basic and free editing tools for stringing together movies with a sound track and effects are quite well developed under Linux, but the better ones are still the commercial products. The options for freely downloadable tools include:

And to a lesser degree Avidemux, a superb format conversion tool which can also do basic cut and paste for video segments.

Unfortunately, I couldn't get either Cinerella or Pitivi to run, as they required Debian based packages outside the Ubuntu repository that, even while I had most of the essential files, still needed dependency libraries I couldn't source for Ubuntu. This left Kdenlive, which did install and work fine.

In fact Kdenlive is a remarkable tool. Taking a little experimenting to get the hang of, once setup it's as featured as any commercial equivalent -- as a non-linear editor you can drag video segements anywhere along a timeline, with multiple tracks, and apply against a musical track to quite easily create a flowing video within a few minutes.

Naturally, it also sports a range of special effects, such as transitions modes, but the most important facet that interested me was the quality and range of encoding options -- no point making the master movie of a lifetime to be limited to poor quality and limited encoding features.

And Kdenlive delivered here too, actually taking the guesswork out of the plethora of encoding options -- here you simply select your target format from the 'Render' menu: High Quality DVD or DV for digital video, or a range of medium quality encodings using Quicktime, Real Video, Flash, Mpeg and, of course, Mpeg4. Alternatively, you can export the movie direct to DVD.

Even though the version of Kdenlive I used is at a tentative 0.4 version, it was extremely stable and every feature worked as described. Eminiently useable. In fact, I've become a video editing convert because of this tool, finding any reason I can to build my own movies!

Overall it's good to see such a powerful and free video editing suite for Linux, but it's a little disappointing the other options of Cinerella and Pitivi, both of which have in their own right earned high acclaim, couldn't install in Ubuntu due to lack of required support packages. Hopefully Ubuntu will latch onto this and place importance on providing these in the Ubuntu software archives -- as Microsoft has shown, this is an important facet of the future desktop system as users increasingly play with their digital media for the home and family, and for Ubuntu to demonstrate and be a viable desktop alternative, it needs to do this too.

If you haven't played with Kdenlive yet, I highly recommend giving it a go!


Video production: Optimal -- Passes with flying colours. The task could not only be completed, but better or easier than under Windows.


Though still in development, KDEnlive does most everything you need for video editing.Though still in development, KDEnlive does most everything you need for video editing.

Exporting the video requires no knowledge of arcane encoding commands.Exporting the video requires no knowledge of arcane encoding commands.

Avidemux is the master format conversion tool, with basic cut and paste for video too.Avidemux is the master format conversion tool, with basic cut and paste for video too.

 

In the next part: Gaming >>>

Open Source Challenge

Post your comment



Comments

RSS feed Email alert

Ben S:

Ok

I have to say this review has mostly been very fair so far.. I didnt exactly agree with cameras and webcams.. it should have been the other way around.

Its not a linux problem with the permissions, sounds like something messed up in that particular version of ubuntu ... but webcams for the most part do suck.

This section however is bad enough to warrant comment. And I only really need to say one thing

There should've been a Trashcan icon on your desktop, just like windows.. with a right click option to empty it.. And if not its availabe under nautilus. There was no need to use the command line and labelling this a flop is excessive just because it didnt prompt you to delete it automatically like windows does.

That rating is poor form.


29 February 2008, 8:32 PM (2 years ago)report abuse Send to a friend reply

The Captain:

Labelling the trash as a flop is outrageous and anyone who has used a windows machine since win95 would look for a recycle bin! I personally like to use nautilus and control-h to unhide hidden folder, scroll down to .Trash and delete from there, but Ubuntu has come out-of-the-box with a recycle bin for some time now. I delete my trash regularly and I've never thought of going to the command line and 'rm -rf *' because Why would I need to???

29 February 2008, 8:48 PM (2 years ago)report abuse Send to a friend reply

Alistair:

Kdenlive for Fiesty...

Hi,
I am trying to install Kdenlive on Ubuntu (7.04) but am having trouble finding an install.
Where did you get the install for this article.

Thank you.
Alistair.

29 February 2008, 8:32 PM (2 years ago)report abuse Send to a friend reply

kahping:

The Windows Recycle Bin has a right click to empty recycle bin option. Ubuntu has that too. Just right click the trash on the bottom right of screen and "Empty the Deleted Items Folder" to clear it. No need to know the Linux directory structure or even console commands. No need to even show hidden folders in Nautilus.

How much more difficult than Windows is that?

29 February 2008, 8:32 PM (2 years ago)report abuse Send to a friend reply

CaptainComic:

Emptying the Trash.

You can see in the screen shots in Part 1 that Ubuntu does not put a Trash icon on the desktop. If you look closely you will see it in the bottom-right of the screen as an icon on the bottom Menu Bar.

Admittedly this is different to Windows, but I do find it difficult to believe the author would miss this.
At worst it should have been rated as "Iffy" certainly not "Flop".

29 February 2008, 8:32 PM (2 years ago)report abuse Send to a friend reply

Pure Dummy:

Oy, mate,

The first stable video capture and editing I got functioning on my HP laptop of 2001 fame was....KINO. Yup. Used their own program editing tool on Feisty. As of December, Kino was working well.


As a video and sound artist, this is what holds myself, and I think many artists, back from Linux .

There are also workaraounds that many people would love to learn - more in depth (hint). Collecting how-tos on Building working video would excite quite a few folks - and help the programs themselves learn from each other. (Cinepaint, GraphicsMagic, GIMP animation, etc..???)

I use Puredata(Mac,PC,Linux) and MaxMSP(MAc, PC) - both are interactive video sound tools - meant for lives, but can be used for editing. Both were started by Miller Puckette - but only PD is open source. And their team had members develop GEM - worth looking at, builds on PC and Mac - but has had Linux troubles. They also have people developing other video solutions using the open gl to use video as a texture - typical VJ program stuff - but open and free!!!

Processing, a java-based program, is trying to get video functioning - has video capture on Mac, but not yet stable on Linux or PC - someone just tried with gstreamer (one of several methods on linux of dealing with video). It also does sound through JAva which is, well, not nearly as good as:
Audacity, MAxMsp, SuperCollider, or Puredata, or Ardour(composition, editing).

But Processing has really nice text graphics, and is easily programmable - it just needs more programmers...(hint, java freaks).

I think, for video makers and editors, an article on Linux video, capture options, transcoding options, Codecs, and output to DVD - with tips and trips - would be welcome... (Of course noting the HD lack at the moment for the serious editor)..

Or better, some good reviews of cross-platform programs, with reviews and benchmarks for We dual and triple booters.

Are Puredata/Kino/Gimp/Inkscape/Audacity/ardour/??? best on Win, Mac, or Ubuntu, or Fedora - running on the same machine???(to be fair, all the same, Windoze native machine and Mac native machine would be needed - Linux is more open ;)

To be fair to Linux, Windows and Mac do not always have out-of-the-box video functionality, and they are asking a lot more money... Just look at their help sites, (or talk to the art student who just through his new mac (with the new Final Cut and Quicktime) out the bleeding window onto the linux using messenger...he caught it - and is having sixtuplets - booting Mac, WinDoze, and 4 Linux flavors..Ubuntu, Fedora, ....votes??)

Mind you, I tried to go to Cinerella's site in May 2007, follow their build guides - no luck in getting functionality. There are a load of programs which might be better adapted to different flavors - Again - Would love some cross- Linux review on this.

Maybe focus on x-11 programs/uses/platforms too?


Of course, on Mac, I'm using lots of open source programs already - Audacity and SuperCollider and Puredata and ACToolbox for sound - and I can't wait for Ardour to come out natively, with no x11 for Mac.

And as for video on Mac, Puredata has Gem, and ever since I followed the inkscape help to get X11 functioning well, my Gimp is great, and so are my PiDiP patches for PD which also use x11.
Processing on Mac uses Quicktime, though not always pretty, and like supercollider, has a great beat detection - which can be easily linked to text, image, etc...

Woah - enough babbling.

29 February 2008, 8:33 PM (2 years ago)report abuse Send to a friend reply

anonymous user Anonymous user

This month in APC!

Tags