XNA DirectShow Video PlayerAllows Video Playback in the Microsoft XNA Framework, using DirectShow. | |
Download |
XNA DirectShow Video Player Ranking & Summary
Advertisement
XNA DirectShow Video Player Tags
- player Directshow XNA framework XNA Xna Library play video DirectShow Media Playback XNA game engine XNA Development XNA DXJoystick Video Directshow Streamline XNA XNA Component XNA Animation Component XNA Framework Development XNA Game Studio XNA Game Studio Add-on DirectShow Player XNA Player Debug Xna Game Tweak Xna Game Microsoft Geneva Framework XNA Image XNA Viewer XNA Control 2D XNA game Video Framework
XNA DirectShow Video Player Description
The XNA DirectShow Video Player package allows Video Playback in the Microsoft XNA Framework, using DirectShow. Usage: - Add both SeeSharp.Xna.Video.dll and DirectShowLib-2005.dll to your XNA project Reference both these dlls - Create a new VideoPlayer object, passing in the filename of the video to play - Call VideoPlayer.Update() in the Game.Update() method every frame to update the player - The Play(), Pause(), Stop() and Rewind() methods can be called as soon as the player has been created. - To draw the video, use a SpriteBatch in the Game.Draw() method to draw the VideoPlayer.OutputFrame Texture2D. It is important to enable SaveState mode on the SpriteBatch to prevent subsequent VideoPlayer.Update() calls failing. - The OnVideoComplete event handler is fired when the video finishes (ie, the video reaches the end and stops). This can be used to continue the game etc once a video such as a cutscene has finished.
XNA DirectShow Video Player Related Software