I learned how to turn a DVD into a DivX today. The secret is the program Gordian Knot along with the guide from Doom9. It's very confusing hackerware, but the basic idea is
  1. Rip with SmartRipper. Produces VOB files - video objects ripped from the DVD.
  2. Decode and parse with DVD2AVI. Produces AC3 audio files, as well as a D2V file that seems to be a guide to the video in the VOB.
  3. Configure codec (DivX 3, in this case). Have to choose bitrate, audio track, etc.
  4. Encode. Produces an AVI that the movie player can show.
Gordian knot tries to glue all these steps together for you. It's hugely confusing, but the Doom9 guide helps. It helps a lot if you set the Bitrate tab to "Calculate Avi File Size" - then you set quality directly rather than trying to guess a quality to fit a certain size file.

End result - 3:1 compression ratio for something that still looks very good (704x368@1600kbps, 160kbps MP3 audio). Three things would make this process better:

  • Encode direct from camera to MPEG-4, bypassing the MPEG-2 step in the DVD.
  • Variable bitrate encoding during construction of MPEG-4 stream. Maybe DivX does this, but I don't think so. (Whoops, Nandub, which I'm using, does do this.)
  • Turn DivX encoding into a legitimate business so someone can write a good front end. Rip, mix, burn.
  2002-11-10 08:00 Z
Essential software for an Athlon XP system with Windows - VCool. For some dumb reason typical Athlon systems don't go into power save mode when the system is idle. VCool fixes that, and dropped my system temperature from 50°C to 33°C when idle.
  2002-10-16 07:00 Z
  2002-09-22 07:00 Z
I'm learning .NET. I'm trying to put code samples online. The first one is - Circles.
  2002-09-21 07:00 Z

Raffi released his email social network visualizer, econstellation. I hacked it to handle Berkeley mbox format (which for some ungodly reason is not supported by Javamail by default!) The picture above is about five weeks of all the email my home account got.

  2002-09-15 07:00 Z
  2002-08-05 07:00 Z
Javaworld ran my article about unit testing networked code.
  2002-08-05 07:00 Z
As I'm sure is obvious to anyone still looking here, I don't have time to keep this weblog. I'm working full-time at Google now, and between work and the commute my extra time is just too small.
  2002-01-20 08:00 Z