title: is it possible to read video stream with opencv?
body: <p>for <a href="http://ayalon.castup.net/gmembed.asp?hn=castupay05&amp;sn=1" rel="nofollow">this</a> stream:</p>
  
  <p>is there a class that can capture the stream for manipulation?</p>
  
  <p>all i found was tutorials about how to make client server, or read from computer connected cam.</p>
  
  <p>Update:
  it looks promising.
  trying to open <a href="http://ayalon.castup.net/gmembed.asp?hn=castupay05&amp;sn=1" rel="nofollow">this again</a> failed , so i followed the asx which said:</p>
  
  <pre><code>&lt;asx version="3.0"&gt;
      &lt;!-- GMEmbed --&gt;
      &lt;title&gt;CastUP: Ayalon&lt;/title&gt;
      &lt;entryref href="http://switch3.castup.net/cunet/gm.asp?format=wm&amp;s=4A59334AD43141A7BFD73D7CE6B71560&amp;ci=15369&amp;ak=35143679&amp;ClipMediaID=21329&amp;authi=&amp;autht=&amp;dr=" /&gt;
  &lt;/asx&gt;
  </code></pre>
  
  <p>so tried <a href="http://ayalon.castup.net/gmembed.asp?hn=castupay05&amp;sn=1" rel="nofollow">this</a> which also didn't open(on cap.isOpen == false), too.</p>
  
  <p>any suggestions?</p>
  
  <p>the source:</p>
  
  <pre><code>Mat frame;
  VideoCapture Ayalon("http://switch3.castup.net/cunet/gm.asp?format=wm&amp;s=4A59334AD43141A7BFD73D7CE6B71560&amp;ci=15369&amp;ak=35143679&amp;ClipMediaID=21329&amp;authi=&amp;autht=&amp;dr=");
  int delay = 1000/Ayalon.get(CV_CAP_PROP_FPS);// (1 second / fps) = delay between frames
  bool stop(false);               
  if (!Ayalon.isOpened()) 
      return 1;                   
  namedWindow("ayalon Stream");
  while (!stop) {
      if (!Ayalon.read(frame))
          break;
      imshow("ayalon Stream",frame);
      if (waitKey(delay) &gt;0 )
          stop = true;
  }   
  Ayalon.release();
  waitKey(7000);
  return 1;
  </code></pre>