Xuggler: a Java bind to ffmpeg

Finally I found a good video editing library to use with Java.

It’s called Xuggler. Get it here: http://www.xuggle.com/. It’s a wrapper of the famous ffmpeg library.

To me it seems very well written and documented. There are a number of useful examples. The API is very clean and compact: you can write a transcoder in very few lines of code. See the Media Tool introduction on http://wiki.xuggle.com/MediaTool_Introduction to have an idea.

Precompiled binaries are available for MacOSX 10.7+, Win 32/64 and Linux.

BTW: I’m using precompiled library version 5.4 on MacOSX 10.6.8 and it works just fine ;-)

Posted in Experiments, Programming | Tagged as: , , | Leave a comment

Degeneration: my former Amiga Demo Scene Group listed on the net

Oh my gosh! Look at what I’ve found on the net:


This is a list of the production carried our when I was member of Degeneration: a Demo Group in the Amiga Scene. At that time I used to code in Assembly 680×0 and C.

Planet was a popular digital magazine (Well, popular in Italy). I remember I coded an HTML-like parser to edit colored, self-formatting articles, supporting different system fonts. At that time I didn’t know the theory about parser generators ;-)

Dinosaurs Inside was coded mixing a C skeleton with 680×0 assembly code. I remember I brought a scaling routine from 10 fps in C to 50+ fps in 6020 optimized code. The later Deluxe version contained improved graphics and has been re-compiled for PowerPC processors.

In Death of Disco was a Music Disk coded in AMOS basic. Containing also a track composed by me :-)

Old memories…

Posted in Programming, Projects | Tagged as: , , , | Leave a comment

SketchUp to Ogre Exporter used in Torchlight

A Torchllight independent modder is using my SketchUp to Ogre Exporter to create objects for its mods.

See here: http://forums.runicgames.com/viewtopic.php?f=6&t=33427

Yeah! I’m very proud of it :-)

Posted in News | Tagged as: | Leave a comment

The International Obfuscated C Code Contest

Few years ago I ended up in scanning amazing C code released at the

The International Obfuscated C Code Contest (http://www.ioccc.org/)

What’s IOCCC?

  • To write the most Obscure/Obfuscated C program within the rules.
  • To show the importance of programming style, in an ironic way.
  • To stress C compilers with unusual code.
  • To illustrate some of the subtleties of the C language.
  • To provide a safe forum for poor C code. :-)

One of my favorite categories is multi-language code. The following code is valid for 5 different languages: C, Fortran, Perl, /bin/sh, x86 Assembly. From http://www.kernelthread.com/projects/obfuscation/lang5/:

C=0;/* 2>/dev/null;echo " Hello, World!";exit;
print*,'Hello, World!'
#define # C
#! perl
C: print " Hello, World!\n";
C: __END__; Z
CD segment para 'code'
C2:org 100H
C3:jmp C5
C4 DB ' Hello, World!','$'
C5 proc near
C6:mov DX,offset C4
C7:mov AH,9H
C8:int 21H
C9:mov AH,0H
CA:int 21H
C5 endp
CD ends
CC:end C3
CZ:; */puts(" Hello, World!");}

Enjoy :-)


Posted in News, Programming | Leave a comment

Euphoria Physics Engine

Like real-time physics engines?

Seems that Euphoria is a good one.

Posted in News | Tagged as: , | Leave a comment


Impressive use of the Kinect for real-time 3d reconstruction of a real environment:


If the Kinect would only be wireless ;-)

Posted in News | Tagged as: | Leave a comment

Great article about fraMESHift

My colleague Paolo Armao published a great review of the fraMESHift project, here:


Great layout, pics and description ;-)

Posted in Projects | Tagged as: | Leave a comment

Hate and Love of Bugs

I found a really nice post here:

Opinion: Voodoo at origin

I think it worth mentioning:

“We all love bugs; they are like nuggets of entertainment for programmers that sit roughly between the extremes of love and hate.”


“The world origin (0.0f, 0.0f, 0.0f) in my opinion is the Bermuda triangle of games, strange things happen there, and everyone would be better off wearing protective eyewear when looking directly at it.”

Posted in Programming | Leave a comment

Partial Class Definition and Simulated Dynamic Binding

While searching to a way to do Partial Class Definition in C++ I ended up to the definition of Simulated Dynamic Binding.

See here: http://stackoverflow.com/questions/140935/partial-class-definition-on-c

In other words Simulated Dynamic Binding is a way to implement Partial Class Definition in C++, but I’m sure it will be helpful to solve many other problems of data hiding where fast-forward declaration is not enough.

Posted in Programming | Tagged as: , | Leave a comment

Animated logo in main page added

Yeah. I just added an animated logo on the main page of this site :-)

I made it in Processing and then ran in Processingjs with no changes needed. Cool.

Development time. Anout 2-3 hours, during the plane trip to LA.

Posted in Projects | Tagged as: , | Leave a comment