title: DirectShow and openCV. Read video file and process
body: <p>I used search on StackOverflow, but I didn't find the answer. I'm developing an application and use OpenCV, but I need to work with different videos (mostly *.avi), so I decided to use DirectShow. I was able to create simple application, but I can't find any explanation how to get frames from *.avi, without creation of ActiveWindow. In fact, I need only to read video with DirectShow and then I'll use OpenCV to process and show video. 
  Any help appreciated. Thanks in advance! </p>
  
  <p>Excuse me for my awful English.</p>