SkillAgentSearch skills...

HapDecoder

A simple DirectShow video decoder filter that decodes HAP video (Hap1, Hap Alpha, Hap Q)

Install / Use

/learn @59de44955ebd/HapDecoder
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HapDecoder

A simple DirectShow video decoder filter that decodes HAP video (Hap1, Hap Alpha, Hap Q).

Like Renderheads VfW codec, it can either decode to RGB32 (using lib squish, i.e. CPU, and therefor slow) or pass the raw compressured textures (DXT1, DXT5, DXTY) to any other filter (renderer/grabber) that can handle them.

Unlike the Renderheads codec, it also supports HAP video encoded by FFmpeg, and in addition to AVI it also supports other containers like MOV and MKV if you use a third party splitter filter like e.g. the LAV Splitter/LAV Splitter source filter.

For an actual application see openFrameworks addon ofxDirectShowDXTVideoPlayer which is based on it.

Screenshots:

MPC-HC using HapDecoder to decode "sample-1080p30-Hap.avi":

HapDecoder in GraphStudio, playing "sample-1080p30-HapQ.avi" (Hap Q) and passing the raw compressed textures (DXTY) to OpenGL (using HapRenderer).

View on GitHub
GitHub Stars11
CategoryContent
Updated4mo ago
Forks4

Languages

C++

Security Score

77/100

Audited on Nov 17, 2025

No findings