Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A QuickTime codec for Hap video
C C++ Rebol Other

Hap QuickTime Codec

Hap is a video codec for fast decompression on modern graphics hardware. This is the home of the Hap QuickTime codec. For general information about Hap, see the Hap project.

The Hap QuickTime codec supports encoding and decoding Hap video. Video can be decoded to RGB(A) formats for playback in any existing application, or if an application explicitly requests it, to S3TC/DXT frames for accelerated playback on graphics hardware.

Note that there is no advantage to using Hap over other codecs if the application you will be using for playback does not support accelerated Hap playback.

For information and example code to support accelerated playback via this codec in your application, see the Hap sample code.


An installer for the Hap QuickTime component can be downloaded from the Releases page.

Requires at minimum MacOS 10.6 Snow Leapord, or Windows Vista with QuickTime 7 installed.

Using the Hap QuickTime Codec

After installation, the codec will show up when exporting video in applications which support QuickTime. Three variants of the codec exist:

  • Hap - Reasonable image quality
  • Hap Alpha - Reasonable image quality with an alpha channel
  • Hap Q - Good image quality at a higher data-rate

Hap and Hap Alpha have a quality setting. Although QuickTime displays a slider, it has only two effective settings: below "High" a fast low-quality encoder is used, and at "High" or above a slower high-quality encoder is used.


The Hap codec project is open-source, licensed under a FreeBSD License, meaning you can use it in your commercial or non-commercial applications free of charge.

This project was originally written by Tom Butterworth and commissioned by VIDVOX, 2012.

Something went wrong with that request. Please try again.