Coder Social home page Coder Social logo

akspect / ofxwmfvideoplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from secondstory/ofxwmfvideoplayer

0.0 0.0 0.0 695 KB

Video player for openFrameworks using Windows Media Foundation API and hardware acceleration capabilities

License: Other

C 77.90% C++ 22.10% Makefile 0.01%

ofxwmfvideoplayer's Introduction

ofxWMFVideoPlayer

This addon is an accelerated video player using the Windows Media Foundation API. It was developed by Philippe Laulheret for [Second Story] (http://www.secondstory.com) and is released under MIT licensing. See license.md for more details. For a more comprehensive/technical description of the work, please refer to the file TechnicalDescription.md

This addons is meant to work with openFrameworks 0.8 and superior, on windows Vista and following. Previous version of oF should work as well but won't be maintained.

##Prerequisites

This addons uses the WGL_NV_DX_interop extension, in order to use it you need to upgrade the GLEW library of your openFrameworks folder : Prior to compiling this example you need to replace the GLEW headers and libraries from your of\libs foler by the one present in the lib folder of this repository.

On top of that this addon is built against the Direct X SDK of June 2010. You'll need to install it to have the headers required for compiling the example. At the time of writing, you can download it on the Microsoft website

##Using the example

Make sure you have updated the GLEW library, your graphic driver are up to date. Copy (and rename) a mp4 file as "test.mp4" into the data folder and run the example.

##Compatibility

The texture sharing we are using is based upon an NVIDIA extension but AMD/ATI cards claims they support it was well, even though sometimes it gets more finicky. Feedback on working/not working cards and drivers are more than welcomed.

##Troubleshooting

In some instance we have noticed that the video appears "washed out". If you are noticing this it is due to a NVIDIA card setting that sets colors to a limited range of 16-235. You can fix this by doing the following:

  • Open the nVidia Control Panel
  • Adjust Video Color Settings
  • Make Color Adjustments
  • With nVidia Settings
  • Select Advanced Tab
  • Set Dynamic Range to: Full (0-255)

ofxwmfvideoplayer's People

Contributors

akspect avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.