title: How to control HD video play position and speed in XNA?
body: <p>I am developing a game for Windows in <strong>C# using Visual Studio 2010</strong> and <strong>XNA 4.0</strong>. I would like to be able to set and change the play position of an HD video and also play the video in reverse, depending on user input. </p>
  
  <p>I am having trouble finding where to start. XNA's videoPlayer class does not provide these type of functions. I've read that XNA DirectShow is now out of date  and slow when using HD video. </p>
  
  <p>I don't quite understand how I would be able to use or implement tools such as ffmpeg with my project. It seems some people have had similar questions and posted solutions but without much detail. These are below.</p>
  
  <ul>
  <li><p>interop out to talk to the core DX functionality.</p></li>
  <li><p>write a managed c++ wrapper to interop ffmpeg.</p></li>
  <li><p>write an mpeg decoder.</p></li>
  </ul>
  
  <p>I am not sure what would be best and where to begin.
  Thanks!</p>