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.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Tech Tip: Really Simple HTTP Server with Python
- Doing for User Space What We Did for Kernel Space
- Rogue Wave Software's Zend Server
- SuperTuxKart 0.9.2 Released
- Parsing an RSS News Feed with a Bash Script
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide