59de44955ebd / HapDecoder

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

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


Languages

Language:C++ 93.0%Language:C 6.3%Language:Batchfile 0.6%Language:Objective-C 0.2%