Tuesday, 8 December 2009

Video Editing Hell - Linux to the Rescue!

I'm the proud owner of the oldest and crappiest computers here at Frictional Games. This is very unfortunate, to say the least, considering I'm the one usually recording videos of our work, editing and then publishing it. For the Penumbra games it worked pretty OK, for Amnesia it works surprisingly well to record videos, probably thanks to a much more polished and optimized game engine. But as online videos increase in quality it puts more strain on my poor computers and I bet that "Security Update" is a synonym for "Force User To Upgrade Computer", which really does not help at all.

I record videos on my PC using Fraps and CamStudio, the former for doing full screen capture of in-game scenes and the latter for partial screen recordings of the editors. These programs save in specific formats that I have to convert into other formats in order to import the videos into the editing software. I have not been really happy with the software that I have used for these conversions, VirtualDub, while it works it has problems using many of the codecs that I have installed, often resulting in error screens. My first step on this "Improve The Video Editing Workflow With Out Spending Any Cash On Software Or Hardware"-journey ("It vew wosaco soh"-reescha as the Swedish Chef would say) was therefore to find a new converting tool, should be the easiest thing to find in the world I thought. Hell no!

Video converters seems to be a typical piece of software that encourages it creators to add a lot of advertisements in them or to limit them a lot for the "free" part. Those that are truly free tend to be a bit too basic, while I'm happy to not have to tweak a lot of settings there is some essentials configurations you want to be able to control. It think I tried 4-5 different "free" converters until I finally found MediaCoder. MediaCoder is quite nice once you get past two obstacles. The first is that the homepage and download site is filled with advertisements, placed so that it is difficult to know if you are clicking on an advertisement or the actual link. This continues on with a lot of advertisement in the software itself, it gives a bit of a bad impression because you get worried that the software might be filled with spyware and the alike! But as far as I know it is not :) The other obstacle is that it is very detailed with settings and configurations for all the codecs. However, it has a nice setup wizard which smooths it all out a bit and once you have configured a codec the way you want you do not have to do it again.

I continued my "It vew wosaco soh"-reescha by looking into video editor options.

For editing I have been using good old iMove running on my super fast 1.4 Ghz PowerPC Mac. iMovie is simple and quite enough for doing our type of demonstration videos (infact all trailers for the Penumbra games made by us were created using iMovie). But as YouTube allows for larger and larger resolutions these days, the videos have been more and more time consuming to make, not to mention painfully slow on the interface when everything lags around, the computer struggling to render the previews in real time. The export of the final videos also take quite some time on that old Mac, when it was created there were no such fancy things has h.264 codecs.

This really led me to start looking into some options for video editing on my PC, a real monster machine powered by an AMD Athlon 2.2 Ghz (*sniff* Yes, I know, it's not really a monster at all). I searched long and hard to find some suitable free software, something that was not very complicated, yet feature rich enough to do the type of editing we have in our videos. I finally found VideoSpin by Pinnacle, which at first seemed to be pretty nice, but while trying to use it to edit our next video, it was clear it was way to simplistic. Of course there is Movie Maker, but that really didn't cut it either, so I searched long and hard but could not really find anything usable for Windows. But, for Linux there were 5 options that seemed very promising. I figured why not try some Linux editing, I do have Ubuntu installed too, so it would be easy to test some software.

I downloaded Kino, PiTiVi, kdenlive, Open Movie Editor and Cinelerra-cv (maybe LiVES too). Kino and PiTiVi was very rudimentary, Kino the better. Open Movie Editor was almost right but, I'm almost ashamed for it, it wasn't a very visually appealing interface. Cinelerra was promising, but the interface a tad to cluttered, not very pretty and for our editing needs too complicated. I was starting to get a bit worried, kdenlive was low on my list because it looked to be as simple as Kino and PiTiVi, but kdenlive really shined! It's about the same level as iMovie, a bit more functions and a killer with the amount of supported codecs (not a unique feature, but well implemented). I'm not sure if it was due to running kdenlive on the latest Ubuntu release or if it is a common problem, but it took a bit of tinkering to get all the codecs to work properly. I'm guessing the latest Ubuntu release as it has caused quite a bit of problems for our own Penumbra games.

I've been working with the software (converter & editor) during the day and after a lot of baby steps of testing I'm starting to get quite comfortable with them both. To summarise, the "It vew wosaco soh"-reescha was quite successful, it takes a while to get used to a new program but this setup is definitely an improvement over the old. At least it buys this dying computer of mine a bit more time until the day of doom. Our next YouTube video will also be in HD, making it our first contribution to the bandwidth monster.

What are your suggestions for good video editing tools for Linux / Windows?


15 comments:

  1. I started off on zwei-stein (thugsatbay.com), which is free and pretty good for the pricetag, although as a newbie to video editing there was a steep learning curve. Afterwards I shelled out some money for Sony Vegas (about $50) and I've been very happy with that. -Brian

    ReplyDelete
  2. Took a look at the zwei-stein, the interface was a bit to muddy for my taste. If I understood it correctly on the site it is only free for personal use, so that would not work for us.

    Sony Vegas look nice! For USD50 it is something even we can afford, definitely looks like something to keep in mind for the future.

    ReplyDelete
  3. Avidemux is a pretty awesome video editor. Its for Windows, Linux and even Mac. http://fixounet.free.fr/avidemux . Why can't I copy paste into this comment field!?

    ReplyDelete
  4. I found it yesterday! I have started to use it to convert between formats, but for editing (if making a whole video, such as a trailer) it seemed to be too limited.

    I think you can only copy & paste if you login to post comments, probably to counter spam posting.

    ReplyDelete
  5. you ever try format factory for windows? http://www.formatoz.com/

    ReplyDelete
  6. IMHO for Linux KdenLive it's the better choice right now.
    But try also: http://www.openshotvideo.com

    An outsider editr, but already not bad.

    For the commercial side Sony Vegas Pro it's simply the best editor out there.

    ReplyDelete
  7. OpenShot is the best for visual editing and easy to use.

    http://www.openshotvideo.com/

    ReplyDelete
  8. What about avidemux ?

    ReplyDelete
  9. I'd say OpenShot and Blenders VSE are the best tools for Linux atm.

    Openshot can do effects and transitions now, Blender has some less transitions but can speedup/slowdown/reverse the playback of a clip, which I found useful for my purposes.

    ReplyDelete
  10. For conversion and small editing jobs I'd go with VirtualDub. You said you experienced crashes with some of the codecs you used. Now I don't know which ones you have been using, but you need some stable VFW-compatible ones for it. I've been using it since the early millenium and rarely had problems. It works great with DivX/Xvid, Fraps and most huffyuv based lossless compression codecs. For more editing options you can always frameserve the video to any other editor.

    One free variant that hasn't been mentioned yet is Avisynth. It's script based, but free and very powerful. As for encoding, I suggest using h.264 with Megui. Best MP4-encoder for Windows that I have encountered so far.

    ReplyDelete
  11. hey theres a kickass editing program called sony vegas
    it isnt free,but they use it to edit and cut the movies they make nowadays,it has features,effects and extras that no other editor has,it isnt complicated to use,just watch a few tutorials on youtube,its compatible with mac and linux too,the problem is that it only can be bought in bundle with other sony extras and thats really expensive,but the folder that contains it is only 258 mb,the full registered version of sony vegas 8 can be downloaded of,I think its filefront or megaupload or torrent,but just google it,it would really worth it,these freeware programs aren't that bad,but vegas is just way better,just watch some vids made with sony vegas,than you will know what am I talking about

    ReplyDelete
  12. If you want to be able to record gameplay footage on Linux as well (so you can both record, convert and edit on the same platform), you can look into GLC (http://nullkey.ath.cx/projects/glc). It's a relatively easy-to-use application for capturing audio and video (ALSA and OpenGL). It does pretty much what I understand Fraps does (though I haven't used Fraps), and it's free and open source.

    ReplyDelete
  13. cool. I was going to reccomend kdenlive. I think it's the best one out so far. I took a look at cinelerra a long time ago, and it looked promising then too, but yeah cluttered.

    Good luck! and good job using Linux!!!

    ReplyDelete
  14. Super <- Videoconverter...converts everything to everything :D From eRightSoft

    ReplyDelete
  15. I also use Kdenlive. It's the best FREE movie-editing-software available for Linux. (Blender is a LOT more advanced, and not really meant for simple vid-editing.

    old post btw, :D

    ReplyDelete

SiteMeter