Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
December 11, 2017 20:59
December 11, 2017 20:59
August 22, 2016 13:19
October 31, 2022 16:43

QuickTime codecs are no longer supported. Please use a modern alternative, such as one listed on the Hap video website.

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 compressed texture formats 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. Four 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 Q Alpha - Good image quality with an alpha channel 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.

Note that the current QuickTime Player on macOS does not support non-Apple codecs. Use QuickTime Player 7 or a third-party player.

Other software for encoding and decoding Hap


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.