Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

README.md

ofxDSHapVideoPlayer

ofxDSHapVideoPlayer is a video player addon for openFrameworks. It plays Hap-encoded videos natively on Windows using Direct Show video playback tools.

Hap is a video codec that is decoded on the GPU. Some of its benefits include fast decompression and low CPU usage. It was written by Tom Butterworth for VidVox/VDMX. For further information on Hap, see http://vdmx.vidvox.net/blog/hap.

Requirements

Before encoding videos using Hap codec, install the Hap codec for Direct Show. An installer is available from http://www.renderheads.com/downloads/2015/HapDirectShowCodecSetup.exe

Usage

In ofApp.h

ofxDSHapVideoPlayer videoPlayer;

In ofApp.cpp

void ofApp::setup(){

	videoPlayer.load("HapVideo.avi");
	videoPlayer.play();
}

void ofApp::update(){

	videoPlayer.update();
}

void ofApp::draw(){

	ofSetColor(255);
	videoPlayer.draw(0, 0);
}

Notes

About

ofxDSHapVideoPlayer is a Hap video player addon for openFrameworks (Windows-only)

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.