Hap: What you do when you want a lot of HD. Photo: Renaissance by Front Pictures, with TouchDesigner.

Hap: What you do when you want a lot of HD. Photo: Renaissance by Front Pictures, with TouchDesigner.

So, you’ve got a laptop and you want to play multiple video streams. And maybe it’s not a super-fast laptop – maybe it’s just a kind-of normal laptop that you’ve upgraded to an SSD.

Or, wait — you’ve actually just gotten the dream job media art gig you always wanted. And they’ve assembled 52 projectors in the budget, and want 26 layers of video. And you need to deliver that efficiently. And they didn’t budget for some high-end media server.

Either way, Hap is for you. It’s an open-source, GPU-accelerated video codec. The idea: go easy on your CPU by off-loading decoding to the GPU, and make a reasonable tradeoff in quality and file size that can nonetheless pump out lots of HD video at once. Initially, the codec was the work of the folks at Vidvox (makers of VDMX), along with Tom Butterworth. But by making their work free software, they invited others to collaborate, and bring the tool to other platforms.

And that’s exactly what’s happened. Hap is now in loads of places – including, for the first time, on Windows.

Yes, if you’re running Windows, you’ve now got options. You can use Hap with:
OpenFrameworks (with ofxHapPlayer (also on Mac)
Jitter (jit.gl.hap (also on Mac)
DirectShow (opening up support for the apps that use that API, including a QuickTime plug-in for Unity)

D3 Media Servers and Isadora are coming soon

On the Mac, you also get Unity Game Engine (that alone is huge, I think), OpenFrameworks, Cinder, Jitter, Modul8, Millumin, CoGe, lots of VJ apps, and (soon) Isadora.

It’s opening up some amazing projects already. Witness Renaissance, an enormous, 52-projector / 26-layer video installation celebrating art history in Kiev. See their TouchDesigner patch below.

Mmmm. That's a lot of slices.

Mmmm. That’s a lot of slices.

Probably don't try this with another codec. Virtual art gallery...

Probably don’t try this with another codec. Virtual art gallery…

To get started, check out the main Hap page (based on the blog post from earlier this year, with loads of Q+A):

Presenting Hap, a family of open-source GPU accelerated video codecs

Good news if you’re a PC:
The Hap Video Codecs, Now Available For Windows!

And go fork them:

  • bathyscaaf

    Great news. I could have really used this a few months ago.

  • gtz

    i’m quoting the “hap on win” blog post:
    “remember that the application you’re using will also need to natively support Hap!)”

    i can’t get my head around this. this defeats the sole purpose of a “codec” pretty much entirely.

    • oddjob

      “Movies using the Hap codec will work in any QuickTime-based application,
      but Hap’s hardware-accelerated speed gains will only be seen in apps
      that natively support it.”

      I imagine that a video codec has no way of instructing the host program to send raw data to the GPU.

  • MXWendler

    where did my comment go?

  • MXWendler

    mxwendler.net has this since some seven years ‘internal codec’, and resolume created a codec based on this (DXV) a few years ago. finally touch+vidvox jumped up the wagon. mxwendler.net combined this with openmp, can play 4kx4k@30fps lossless on a MacBook. woha. but folks: these are not ‘pluggable’ video codecs, you will always need native support in the players!

  • Feel

    Hey what’s happen with http://createdigitalmotion.com … no more news???
    I hope it will continu because I like your job since long time.

  • Alcomposer

    Coge also makes HapPlayer as a Quartz Composer plugin! WITH VOLUME CONTROL! Dare I say it… I am sure this makes QC a bit more like Vuo… 😉 https://github.com/lov/CoGeHapPlayer/releases/tag/v1.0

  • brody

    is CDMotion dead? my addiction to it has surely waned due to the lack of any posts