Video

class Video : System.Object, System.IDisposable

Represents a video.

readonly string FileName

I actually think this is a file PATH…

readonly System.TimeSpan Duration

Gets the duration of the Video.

readonly float FramesPerSecond

Gets the frame rate of this video.

readonly int Height

Gets the height of this video, in pixels.

readonly VideoSoundtrackType VideoSoundtrackType

Gets the VideoSoundtrackType for this video.

readonly int Width

Gets the width of this video, in pixels.

void set_Duration(System.TimeSpan value)
Parameters:
  • value (System.TimeSpan) –
void set_FramesPerSecond(float value)
Parameters:
  • value (float) –
void set_Height(int value)
Parameters:
  • value (int) –
void set_VideoSoundtrackType(VideoSoundtrackType value)
Parameters:
  • value (Microsoft.Xna.Framework.Media.VideoSoundtrackType) –
void set_Width(int value)
Parameters:
  • value (int) –
public void Dispose()
SharpDX.MediaFoundation.Topology get_Topology()
Microsoft.Xna.Framework.Media.VideoSampleGrabber get_SampleGrabber()