Sorry, you need to enable JavaScript to visit this website.

Good Riddance Steve Jobs


Anyone reading today's headlines might be forgiven for thinking Gandhi had died ... again.

But no, it wasn't Gandhi, nor indeed anyone of even the slightest nobility. It was a patent extortionist with an apparent objection to altruism, called Steve Jobs. Even El Presidente fawned over this selfish racketeer, like he was the new messiah, or something:

Steve was among the greatest of American innovators – brave enough to think differently, bold enough to believe he could change the world, and talented enough to do it,’ the statement gushed.

High quality MPEG-4 transcoding with Mencoder

Rather than just provide a script, I've decided to present this solution as a sort of informal thesis, so hopefully it will help others to reinterpret it for their own purposes. As of 10th Dec 2011 this article is still a work in progress, so if it seems incomplete then please have patience, and come back later.

Objective: Transcode video from any source to MPEG-4 ASP (note: this is DivX 4/5, not MPEG-4 AVC/H.264), for playback on most standalone devices, keeping the file size reasonable, whilst retaining as much quality as possible, but without any regard to transcoding time or CPU utilisation. In this case I'm also going to hardsub (render subtitles directly onto the output video) a SRT subtitles file previously ripped from the source's forced subs (subtitles that only appear when foreign language is spoken, in a soundtrack that is otherwise in your locale's language). You can rip your own subtitles files using SubRip (Windows, also works under Wine) or Avidemux (multi-platform), or just download them from places like

Note: The method used here is extremely CPU intensive, which may cause your PC to die of exhaustion, and you to die of boredom. You have been warned. :) However, the result is worth it IMHO, as the video quality is exceptional. H.264 generally produces better results at lower bitrates (or so Messiah Jobs keeps telling us), but unfortunately it's not compatible with nearly as many devices as DivX/XviD (e.g. most Smart TVs will play MPEG-4 ASP DivX/XviD files, but not MPEG-4 AVC H.264 files, mainly because H.264 is infested with a ton of nasty patents that make it difficult and expensive for manufacturers to implement). Also for compatibility reasons I've chosen the AVI 2.0 container format, and forced the FourCC from FMP4 to DX50.

Selling Free Software: An Analogy

People often conflate proprietary software with commercial software, believing software can only be sold if it's proprietary, because a proprietary license is the only thing that prevents people from using software without paying.

In fact that is not the case at all. On the one hand, proprietary software is used all the time in violation of its license, as the industry's own figures demonstrate.

So clearly proprietary licensing is no guarantee of payment, therefore the license itself is irrelevant to selling software for profit.

On the other hand, Free Software is sold all the time, such as Red Hat Enterprise Linux. Indeed the GPL permits this, and the author of the GPL, Richard Stallman, actively encourages it.