Of video encoding and changing methods

Of video encoding and changing methods


I guess my previous post was a bit premature; for shorts, I was saying then that some Free softwares for video editing on Windows were good, but had no equivalent in the Free software world. While I was not wrong stricto sensus, I hammered a few of them during the last few weeks.

Thus, I’ll now write about the various free video treatment softwares I know and the slight shift in method this entails.

You'll see that there are strengths and weaknesses on both sides.

Free Software you can use on MS Windows (but maybe not anymore)

Virtualdub and Co.

As a “proof that [he] had too much free time in college”, Avery Lee developed a video capture software that would enable him to actually reduce dropped frames, then he started adding a filter here, a driver workaround there... Arriving at one of the leading linear video processing softwares out there: Virtualdub.

Virtualdub is under the GPL; as such, it has over time spawned its fair share of forks; most of these ended up fused into one, aptly called Virtualdubmod which added Matroska and OGM support. Its main interest comes from the video compatibility with Virtualdub, mixed with much more sound capabilities: variable bitrate, multiple sound tracks...

Avisynth

That one is a script-based video processor: you can turn, mix, twist, deinterlace, filter, resize, convert, in short do whatever you want to video and sound streams, then either direct those to a video treatment software (as if it were a simple file) or create a file.

It’s also under the GPL.

One of its main features is the ability to add custom filters, and there are a truckload of them: intelligent deinterlacing, video cleanup and restoration, etc., can be tested and accomodated to meet pretty much anyone’s needs.

Xvid (and its control panel)

Xvid is actually found both under Windows and GNU/Linux, but the difference is that under Windows, it’s always the same panel regardless of the application you use. As such, once you’ve set your preferred MPEG-4 encoding profile, convolution matrix, it stays.

Xvid is a code only implementation of the MPEG-4 standard, up to Advanced Simple Profile and preliminary h264 capabilities. It is quite fast and of high compression quality while still adhering to the standard. Due to its origins, it is very much compatible with the proprietary DivX codec (which does exist under Windows, MacOS X and GNU/Linux, even though the latter isn’t being updated very often).

Free software you can use on GNU/Linux (and probably BSD, too)

Avidemux

This is the closest to a Virtualdub “clone” I could find under our dear free OSes: the interface is not too dissimilar (while being GTK-based), it’s pretty much as fast as Vdub is, it provides similar video filters by default... But it has its differences:

  • Virtualdub cannot apply effects on YUV colour spaces: you need to convert the video to RGB to do so, or to feed it treated video through Avisynth. Avidemux doesn’t care.
  • Virtualdub processes only MPEG-1 video files natively, and requires AVI formatted files (with ACM codecs) otherwise. Avidemux can process many more video formats (such as DV files or DVD VOBs).
  • Virtualdub is very VERY stable, and crashes usually open a small internal debugger that can give you an explanation for the crash. Avidemux merely exits, only sometimes leaving a core dump behind.
  • You can use Virtualdub to open video files (virtualdub video.avi works); Avidemux can be, too, but then it won’t open the video file you’ve clicked to open it. Ooopsie.
  • Avidemux can output OGM files, however you can’t feed it a Vorbis sound stream; you’ll need ogmmerge to mix your Avidemux-treated video and its soundtrack. Ooopsie too. While “vanilla” Vdub doesn’t do OGM, Vdubmod is a snap to add tracks with tags.
  • Virtualdub’s encoding window allows you to set priority on the fly, and provides finer grained statistics (possible stalls, calculated future file size...)

As a side note, Avidemux seems to reuses some of the code coming from Avisynth, but also some Mplayer stuff.

Kino

This one is also a linear video editing software; however, it adds more flexibility: Kino can apply time-based effects (Vdub and Avidemux apply filters to the whole stream) and provides more flexible clip management. While I’m not one to add too many effects to a video, Kino is the ultimate weapon of the DV user: its deinterlacing engine is fast and efficient, and does field matching instead of merely blending fields, resulting in a clean, sharp picture quality.

It’s too bad though, that it doesn’t provide more advanced MPEG-4 encoding options. It is, however, well geared for DVD authoring.

It crashed once on me; however, when I restarted it, it detected the crash, reloaded my current project in its pre-crash state, and let me continue merrily.

Cinelerra

Cinelerra is a valiant effort to put Adobe Premiere to shame: it supports effects, clip libraries, multiple timelines; it is fast, able, the interface can be modded...

However, its internationalisation sucks: I got more than my share of messed up accents in the lot (bad character table translation) and missing translations; while the latter doesn’t bother me much, the accents can actually push a label off of the window, and the setting becomes impossible to understand.

Moreover, I don’t know if the 64-bit port is to fault for that, but I just couldn’t add clips to the clip library, and the software kept crashing. I gave up on it after half an hour of crashes, restarts and no progress. Maybe the 32-bit English version is a breeze to work with, but the 64-bit French version... well it sucks.

DVD::Rip (Transcode wizard)

While it does rip encrypted DVDs (booh! would say the DRM camp), it is quite useful for cropping, resizing, multiplexing and dubbing a movie. It is, moreover, FAST! However, I don’t like using it too much because I can’t do simple pass quality based Xvid movies with it: I have to do dual passes.

Having looked at Transcode’s manpage though, I’d rather keep using this one for backing up my few DVDs.

Xvid, the free OS version

Don’t kid yourselves, I know perfectly well that both the Win32 and POSIX versions are based off the exact same code. What I miss most though, is the control panel; while Avidemux’s Xvid panel is a virtual copy of the Win32 Xvid codec settings window, it is set for Avidemux alone.

Speed and quality though, they are absolutely indistinguishable from eachother (as it should be); maybe we’ll see more of a difference when Xvid finally implements multithreading...

Conclusion

Free systems have their fair share of video treatment software and tools. I have covered only a few of them here, but let me tell you that I only need one last little bit of trial and error work in order to dump video editing on Windows for good. And just in time too, as most of the software I use on Win32 won’t work with Vista...

Category: 

Author information

Mitch Meyran's picture

Biography

Have you ever fixed a computer with a hammer, glue and a soldering iron? Why not? It's fun!

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!