title: Capture live video from youtube with OpenCV
body: <p>I make vehicle detection program with OpenCV in C#. This program works well with already downloaded videos, but i want to use live streams from youtube. If  I use </p>
  
  <pre><code>VideoCapture capture = new VideoCapture("https://www.youtube.com/v/qHqIjDoMYAk")
  </code></pre>
  
  <p>I get only a preview of the video.</p>