Skip to content

toshinoritakata/Cinder-WMFVideo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cinder-WMFVideo

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

Installation

  • You will need to modify your Cinder build slightly to upgrade to GLee 5.5 which supports the WGL_NV_DX_interop.
    • Copy cinder-src\GLee.c to Cinder\src\cinder\gl\
    • Copy cinder-src\GLee.h to Cinder\include\cinder\gl\
  • 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.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.1%
  • C++ 7.9%