As part of Second Story in Portland, I wanted to share a brand new addon with the community:
ofxDSHapVideoPlayer is a DirectShow-based video player that plays Hap-encoded video files. As you may already know, Hap is a video codec that uses the GPU for decompressing video frames – making it fast and low overhead. Over at Second Story, we’ve been using it to synchronize HD video across multiple computers. Unlike the QuickTime-based version of the codec, ofxDSHapVideoPlayer decompresses the frames on the GPU natively on Windows using a mixture of snappy (optional) and DXT (the downside of this approach is that we don’t have access the the decompressed pixels on the CPU).
The Hap codec was originally released and open sourced by Tom Butterworth for VDMX. ofxDSHapVideoPlayer uses parts of Theo Watsons’s DirectShow video player (https://github.com/ofTheo/ofDirectShowVideoPlayer) and code from RenderHead’s DirectShow version of the Hap codec (http://renderheads.com/product/hap-for-directshow/).
Please give it a whirl and let us know if you have any issues or requests!
Thanks (and hope that it’s useful)!