title: Play videos from memory stream
body: <p>Couldn't find any satisfying answer anywhere so far...</p>
  
  <p>I'm working on a C# WinForms .NET3.5 application that needs to load video files from a database BLOB and play it inside the application window.
  The database is a local file (no servers involved).</p>
  
  <p>I don't think that saving the file to the hard drive is a good solution since it might be time consuming, and I already have the file in a memory stream anyway.</p>
  
  <p>I need to be able to play as much types of video formats as possible (codecs?).
  Including divX, XVid, mpeg, avi, 3gp, etc.</p>
  
  <p>I'm looking for an easy-to-use working code sample, or an existing third party component.</p>
  
  <p>Suggestions like DirectShow or VLC which require almost having a major degree in video rendering, filters, graphs and what-not are out of the question, unless there's a working sample.</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you.</p>