Author Archives: Multimedia Mike

Apple Lossless Audio Codec RE’d (now in FFmpeg)

David Hammerton reports that he has successfully reverse engineered Apple’s custom proprietary lossless audio codec which goes by the fourcc ‘alac’. Source code is here. Hopefully, it will be integrated into FFmpeg in short order and be accessible to all libavcodec-using programs.

And– would you believe it?– it looks an awful lot like other lossless audio codecs in terms of underlying algorithms.

Update, early, early on March 6: It took me the better part of March 5, but ALAC is in FFmpeg’s libavcodec and ready for all the programs that depend on libavcodec.

Denver, CO Multimedia Presentation

I will be doing a presentation about multimedia technology soon. If you are in Denver, CO, USA, or a nearby area, check out my “Multimedia on Linux” presentation for the Colorado Linux Users And Enthusiasts (CLUE) group near the Denver Tech Center. Tuesday, March 8, free to the public. The group congregates around 6:30pm, my presentation is at 7:00pm. See their website for more details and specific directions and maps.

Reverse Engineering Cookies

No, not web cookies– the title refers to reverse engineering cookies and other recipes. I was browsing the catalog of the high-end Harry & David gourmet food shop– you know, the kind of stuff that looks so delectable but is so exorbitantly expensive that you would never consider buying it for yourself. I found these cookies called fruit galettes that looked absolutely delightful but were outrageously priced at $26/lb. They seem to have come down in price to $20/lb since then, which still seems a bit steep for what is apparently 2 round butter cookies glued together with some kind of fruit jelly.

Based on that RE analysis (butter cookies and jelly), I set out to recreate the cookie recipe myself. The reason I bring this up is because Valentine’s Day just came and went and that meant it was time for a big batch of heart-shaped fruit galettes!

See all the juicy details over at another of my blogs, Infinite Flour.

heart-shaped fruit galettes

Rosetta Stone

After my SUCON multimedia presentations in Zurich, Switzerland, I bummed around Geneva for a few days. This was the highlight of my European junket. I especially enjoyed my visit to the Museum of Art and History. I was particularly amused by the staff who sat in random locations around the building, reading a book or otherwise occupying themselves, until a visitor came around– then they had to get up and pretend to be studying the art. I found it to be an odd charade. But they were still nice people, letting me stick around even after I tripped at least one alarm.

Since multimedia and reverse engineering were still fresh on my brain, I took a particular interest in the Egyptian exhibit. In particular, I remember the stories of how Egyptian hieroglyphics remained a mystery until the Rosetta Stone was unearthed. Think about it: These archaeologist guys find the pyramids with a bunch of weird writing and have no idea how to decode it. Then one day, someone finds a clue that helps them decipher the puzzle.

Why was this even necessary? The ancient culture probably thought it would be around forever. Probably never conceived that other cultures would surpass theirs, find their old artifacts, and seek to understand what they meant.

Just sort of reminds me of trying to understand antiquated data formats, that’s all…