What reference do I have to add to use "Microsoft.DirectX.AudioVideoPlayback.Video"? It is not recognized currently.
+2
A:
You find the Video
in microsoft.directx.audiovideoplayback.dll. Unless you're aware of it though, the Managed DirectX product is no longer supported and is superseded by Microsoft XNA.
Peter Lillevold
2010-03-15 08:36:31
I found the Video link, but I don't hv to dll file. So I went to search for the dll file. I found it, and my code and compile, but it can't work! No error nothing... Microsoft XNA? How do I start using it?
yeeen
2010-03-15 08:45:06
Currently I just want a simple piece of code where I can get the duration of the video, sth like this: http://bellouti.wordpress.com/2007/09/28/determine-a-video-size/ But this doesn't work.
yeeen
2010-03-15 08:46:09
XNA is (currently) not very suited to load arbitrary video streams for playback... Perhaps raising a new question with your real goal is an idea?
Peter Lillevold
2010-03-15 08:52:36
i just want something to get the duration of a video file, nothing much at the moment.
yeeen
2010-03-15 08:57:16
My new qn here: http://stackoverflow.com/questions/2445939/how-do-i-get-the-duration-of-a-video-file-using-c
yeeen
2010-03-15 09:01:48
Actually i just need to install DX SDK for the code to work...
yeeen
2010-03-16 05:19:04
Ook, sure it wasn't just the DX runtime you were missing? you shouldn't need the whole SDK just to run the MDX libraries...
Peter Lillevold
2010-03-16 08:32:03