XNA DirectShow Video Player v1.1

 Recommended Download



Example SampleSolution.zip
example, 4065K, uploaded May 1 2008  - 2115 downloads

 Other Available Downloads



Source Code VideoPlayer.cs
source code, 21K, uploaded May 1 2008  - 1360 downloads
Application XNADSPlayer.zip
application, 102K, uploaded May 1 2008  - 1608 downloads

Release Notes

Second Release. This release uses the DirectShow.Net library which can be found at http://directshownet.sourceforge.net/index.html

New Features:
  • The alpha value of the video frames can be adjusted with VideoPlayer.AlphaTransparency
  • VideoPlayer.MillisecondsPerFrame and VideoPlayer.FramesPerSecond have been added
Release Changes:
  • Fixed no video bug
  • Altered Update() method to check if the OutputFrame texture is avaliable before updating it
  • Altered the Thread.Sleep() calls to reflect the frame rate of the video
Release Features:
  • Requires Microsoft XNA GS v2.0
  • Plays all video files which DirectShow can handle (wmv, avi, mpg etc)
  • Provides an output Texture2D to render the video in XNA
  • Supports Video Render to 3D objects (e.g. a TV or cinema screen), as the video frames are outputted in the Texture2D OutputFrame
  • Audio is handled by DirectShow and outputted through the system's default audio device

This release is not compatible with Xbox 360, as it requires DirectShow, only avaliable on the Windows Platform.
 Reviews for this release
No reviews yet for this release.
Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.6.15896