title: nVLC wrapper not streaming video
body: <p>i have searched the net for a good .net VLC wrapper and i found this excellent one <a href="http://www.codeproject.com/Articles/109639/nVLC" rel="nofollow">nVLC</a> it contains interfaces to many of the features that VLC have and i read how to stream a <strong>file</strong> or the stream from <strong>directshow</strong>, but i still have a problem that the file is being read but no data is being streamed ??<br>
  it can be downloaded from here <a href="http://www.nuget.org/packages/nVLC/" rel="nofollow">NuGet</a>
  my code:</p>
  
  <pre><code>var input="C:\\1.mp4";
  var argument="sout=#rtp{dst=127.0.0.1,port=5004,ttl=40}:sout-all:sout-keep";
  var factory = new MediaPlayerFactory();
  IMedia media = factory.CreateMedia&lt;IMediaFromFile&gt;(input, argument); //tried IMedia and got the same results
  IVideoPlayer player = factory.CreatePlayer&lt;IVideoPlayer&gt;(); // tried IPlayer and got the same results
  media.Parse(false);
  player.Open(media);
  player.Play();
  </code></pre>
  
  <p>VLC Opens the media file and i can see and here the video but when trying to capture the stream using VLC i get nothing.<br>
  any help is appreciated.</p>