GithubHelp home page GithubHelp logo

Windows support about ofxhapplayer HOT 4 CLOSED

bangnoise avatar bangnoise commented on June 12, 2024
Windows support

from ofxhapplayer.

Comments (4)

yeswecan avatar yeswecan commented on June 12, 2024

Can you please help me get a grasp on what will it take to make it work on Windows? I'm not familiar with the architecture yet, but I'm considering making it work. Maybe you have any links to help me figure it all out?

Thank you in advance.

from ofxhapplayer.

bangnoise avatar bangnoise commented on June 12, 2024

Either use the DirectShow codec and write a DirectShow-based player which requests DXT frames from that codec, or write a DirectShow-based player which receives still-compressed Hap frames and does the second-stage (Snappy) decompression itself to get the DXT frames - that would have the advantage of not requiring users install the codec, and wouldn't be much more work. You could use the reference Hap implementation to do that.

from ofxhapplayer.

tobiasebsen avatar tobiasebsen commented on June 12, 2024

In order to make ofxHapPlayer campatible with 64-bit on Windows and Mac, I would suggest splitting the class into different classes, which all inherit from a common base class. We could have ofxAVFoundationHapPlayer, ofxDirectShowHapPlayer, ofxQuickTimeHapPlayer, etc. and then typedef the right one to ofxHapPlayer in the main include file "ofxHapPlayer.h"

from ofxhapplayer.

bangnoise avatar bangnoise commented on June 12, 2024

The libavformat branch now includes support for Windows (and Linux). It's a work in progress, and when complete will be merged to the main branch.

from ofxhapplayer.

Related Issues (20)

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.