27 Jun 2008 fzort   » (Journeyer)

Mind is the fear killer

Uploaded a new gameplay video to YouTube. It looks kind of... boring (maybe needs more colors?), but with less than four days to the deadline I'd better work on the music and sound effects now.

I'm developing it on (GNU/)Linux, of course. To create that video, I made the game retrieve the contents of the framebuffer every other frame and (after averaging 2x2 pixel blocks to reduce the resolution) write it as a PPM to standard output. I can then encode the result to MPEG with some command-line tools in the mjpegtools package.

In fact, I can even encode it on-the-fly, with something like this:

game | ppmtoy4m | y4mscaler -O chromass=420mpeg2 | mpeg2enc
-F 5 -q 4 -V 230k -b 7500 -o capture.mpg

Unfortunately, it's a CPU killer. Nice pipeline though. Got to love *nix.

(thanks to "spectre" for this post's title)

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!