Giter VIP home page Giter VIP logo

cinder-wmfvideo's Introduction

Cinder-WMFVideo

Cinder port of Second Story's ofxWMFVideoPlayer addon. Allows playback of videos and routing of audio to specific audio devices.

Revision History

May 12th 2021

  • Fixed to work with cinder0.9.3dev on vs2019 and c++17. Discussion here

2019 April 12

  • Merged in changes from Potion's version

v.Next

  • Potion forked 266Hz's version
  • Added features / utility functions: - Signal when video finishes playing - Video Fill types: FILL, ASPECT_FILL and CROP_FIT - StepForward 1 frame - Switch audio device automatically if not specified - Audio-only playback
  • Some bug fixes: - Prevent crash when window is closed - Video orientation (top-down) - Video looping issues
  • Some cleanup

2016 Sept 29

  • Forked Potion's version of Cinder-WMFVideo.
  • Added 64-bit versions of the projects

Installation

  • Make sure you have an up to date video driver. WGL_NV_DX_interop behaves poorly with older drivers.
  • After copying/cloning this repo to your Cinder blocks folder, use Tinderbox to create a new project and select to use the Cinder-WMFVideo block as either reference or copy.
  • If you see an error about missing atlcomcli.h. Make sure you have C++ ATL installed for your current build tools in Visual Studio.

Use

The ciWMFVideoPlayer class can be used very similarly to qtime::MovieGl. To load a video, pass a path to the video you want to load to ciWMFVideoPlayer::load. Videos can be stopped, looped, paused and the current position of the playhead in the video can be retrieved or set. Currently drawing videos to screen is a bit different than qtime::MovieGl in that you will have to call the ciWMFVideoPlayer::draw method with a screen position and width/height.

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.