XNA DirectShow Video Player v1.1

Rating:        Based on 2 ratings
Reviewed:  2 reviews
Downloads: 11978
Released: May 1, 2008
Updated: May 1, 2008 by un4filled
Dev status: -not yet defined by owner-

Recommended Download

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

Other Available Downloads

Source Code VideoPlayer.cs
source code, 21K, uploaded May 1, 2008 - 2601 downloads
Application XNADSPlayer.zip
application, 102K, uploaded May 1, 2008 - 2627 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

Nice, but really slow. (
by nZeus on Mar 2, 2012 at 3:14 PM
Great stuff. Easy to use. I was up and running really quickly.
by troublematic on Apr 23, 2010 at 4:41 AM