Skip to content

The story of a humble codec

Here’s another tale that I’ve been meaning to tell for a while. I think it’s the last one for now. :-)

Way back in Workstation 5, we introduced the ability to record movies of activity in a virtual machine, and to this end we devised our own codec. Now, that’s probably enough to generate a hail of bread-rolls from the cheap seats, but bear with me.

We have a remoting protocol allow for interaction with a virtual machine at a distance and it is largely VNC with some small extensions, so it seemed very natural for us to use this as a basis for our recordings – we could just dump the VNC stream into a file and write a codec to play it back. And this is in indeed what we did – except that we only ever wrote a windows codec and never provided a linux equivalent or useful documentation. It was a source of much frustration for me – how could we stick this feature in our Linux product and offer no credible way to play back the resulting recordings??

Naturally, the MPlayer and ffmpeg crowd didn’t take long to work out how to use the windows codec with their win32 loader but that’s horribly suboptimal and last year, some people managed to reverse engineer the format (it’s pretty easy once you realise that it’s just VNC) and added native support to ffmpeg. The latest release of MPlayer features this support.

Not being a regular MPlayer user, I didn’t realise this until the beginning of the year – and once I did, I saw that there was a page in the multimedia wiki describing the format. Now that we had a ready made forum to document the format, I suggested to one of the guys who did a lot of the original work (Hi Tony!) that he should update the wiki and fill in the gaps and correct the mistakes – which he then proceeded to do. It’s a small gesture, but the ffmpeg folks appreciated it and I hope we can look forward to complete support in a future release.

A lot of the time, the failure to publish this kind of information is more a function of logistics than proprietary paranoia – it’s a lot easier to directly update a wiki page than to try and get a page added to the official company website!

{ 3 } Comments