KDENLIVE Is a Promising Work in Progress
I had a stage play to edit. I didn't shoot it, and that lack of quality control on the head end meant that the editing was not the straightforward matter it should have been. It was shot in HDV, which is stored as an MPEG-2 transport stream, and my normal editing program doesn't play nicely with MPEG-2. Because it was a rushed job, I didn't have time to pull in a developer to add HDV support to it. So, I was faced with the task of turning around a difficult edit on a short timetable, using footage in a file format my favorite editor couldn't read.
Fortunately, this is open source. And, the odds are that somewhere, someone has run into the same problem before and done something about it. In this case, my friend Dan Dennedy (developer of Kino) pointed me to a new video editing project named KDENLIVE (yes, it really is an acronym: the K Desktop Environment Non-LInear Video Editor), which is based upon his multitrack engine MLT (Mutton, Lettuce and Tomato—the XML file format it writes to, appropriately enough, is called Westley).
I had run across KDENLIVE before, but had run away just as fast. Yes, Virginia, there is a hell. And, it's a very special hell, more heinous than that reserved for child molesters and people who talk at the theater, grander than Dante's ninth circle reserved for the Borgia dynasty of Popes, with more exquisite torments. This tenth circle, invented in the digital age, exceeding any that came before it, is the bane of Linux users everywhere, Dependency Hell!
This special torture is reserved especially (though not exclusively) for those of us intent on bending the mighty Linux dragon to our will, forcing it to perform feats of derring-do in the creation of art. Occasionally, in this never-ending struggle to do with open source what people with bigger wallets do easily on a Mac, the erstwhile adventurer stumbles upon a tool, just on the point of maturity, suitable to be appropriated to the task at hand.
This time, I didn't have the option to run away from KDENLIVE. Blender wouldn't do—the Video Sequence Editor doesn't perform well enough on my machine to edit HD with real-time playback. Cinelerra wouldn't do—a program that crashes every few mouse clicks isn't my idea of fun. I could have done it in Kino, but that would make for nightmares conforming the audio later, as I'd have to patch it up manually in Audacity when the video cuts had to jump in the middle of a word (not to mention the necessity of converting to DV beforehand, which meant chewing up another 200GB of hard-drive space I wasn't keen on parting with).
None of the other projects on the radar looked like they offered any significant advantage over KDENLIVE, so I bit the bullet and downloaded the thing, steeled with a vial of holy water for my descent into that very special Dependency Hell.
I started working my way through the list and...everything worked. The install was almost flawless, aside from a couple tweaks that had to be made to the MLT build parameters to accommodate a 64-bit environment. Within about an hour (and that spent building the extensive list of dependencies from source), I was up and running.
Well, running might be overstating it a bit. This was KDENLIVE version 0.4, and it was dog slow. To bisect a clip, the work flow went like this:
Select razor tool.
Choose cut point.
Click on the cut point to make the cut.
Go into the kitchen, pour a fresh glass of iced tea.
Come back 45 seconds later just in time to see the cut update to the interface, and continue working.
No, I'm not exaggerating for comic effect.
This clearly was not going to work. I couldn't bill my client for time spent on a laggy interface, and I didn't much relish the thought of spending several orders of magnitude more time on the project than I could honestly bill for. As a last-ditch-effort before borrowing a Final Cut HD machine for the weekend, I gave the KDENLIVE SVN version a try.
This one worked. It was still a little slow, but it was certainly serviceable. It played the HDV back in real time, and its lack of an HD edit profile, while annoying, was not a deal-killer as my client wanted a standard-definition DVD as the end product.
KDENLIVE presents itself pretty much as a standard multitrack editor—its interface looks similar to versions of MainActor and Premier from years past. All visible and within easy view in nested, dockable tabs are as follows:
An asset management window.
Effects control dialog with the standard crop of basic transitions.
Clip selection, timeline and video capture viewer ports.
A multitrack a/v timeline supporting infinite tracks.
Stacking up against previous open-source forays into multitrack editing, KDENLIVE shows definite areas of improvement. It is the only NTSC-capable multitrack editor besides Cuisine (not currently maintained) that is suitable for doing long-form projects in Linux (at least, without plopping down upwards of $15k for a used Discrete Smoke workstation). To date, I've used it on three long-form projects, and the hours spent in front of it have been more than enough to shake out its better and worse points.
On the credit side of the equation, it doesn't seem to suffer from the sound-sync problem introduced by unlocked DV audio (a format that is, mercifully, beginning to ebb away as HDV with its constant bit rate audio replaces it). In most open-source editors (and some commercial ones), the slightly variable sampling rate of DV audio was enough to cause gradual sync slippage, running into several seconds of slippage over the course of an hour-long DV tape. Good DV editors, like Kino, had internal resampling that kept things on track in the editor, but upon format conversion for a DVD, the sync problem would show up in spades. Kino fixed this problem by integrating audio locking upon export. Although KDENLIVE does not obviously do this, it nevertheless seems not to suffer from this problem—or, if it does, I haven't detected it yet.
KDENLIVE's variety of export profiles also is worth cheering about. Presets (customizable) for most conceivable end formats are here, from Flash to H.264, from DV to DVD—a full range of standard-definition and Web profiles is here for the asking. The list of importable formats is no less impressive; because it uses FFMPEG for its encoding and decoding engine, it imports anything FFMPEG can read. This alone places KDENLIVE near the top of the heap for format compatibility.
Finally, the list of available video effects and transitions, although limited, are well implemented and have sensible, accessible interfaces. The maintainers' determination to make a program that “just works” shines through in many areas, even at this early beta stage.
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|My Humble Little Game Collection||May 28, 2015|
|New Linux Based OS Brings Internet of Things Closer to Reality||May 27, 2015|
|Non-Linux FOSS: All the Bitcoin, None of the Bloat||May 26, 2015|
|Dr Hjkl on the Command Line||May 21, 2015|
|Initializing and Managing Services in Linux: Past, Present and Future||May 20, 2015|
|Goodbye, Pi. Hello, C.H.I.P.||May 18, 2015|
- New Linux Based OS Brings Internet of Things Closer to Reality
- Dr Hjkl on the Command Line
- Initializing and Managing Services in Linux: Past, Present and Future
- Non-Linux FOSS: All the Bitcoin, None of the Bloat
- Using Hiera with Puppet
- Infinite BusyBox with systemd
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- Goodbye, Pi. Hello, C.H.I.P.
- It's Easier to Ask Forgiveness...
- Urgent Kernel Patch for Ubuntu