title: AForge - Working with video card with multiple cameras
body: <p>I can get AForge to work with an USB web cam, but I have a video card that can connect to multiple cameras. How do I get AForge to work with the video card?</p>
  
  <p>My issue is I could not get the <code>VideoInputDevice</code> to set to a working video input.</p>
  
  <p>The code is like this:</p>
  
  <pre><code>void init(){
      FilterInfoCollection videoCaptureDevice =
          new FilterInfoCollection(FilterCategory.VideoInputDevice);
  
      VideoCaptureDevice finalVideo =
          new VideoCaptureDevice(videoCaptureDevice[0].MonikerString);
  
      finalVideo.NewFrame += new NewFrameEventHandler(finalVideo_NewFrame);
  
      finalVideo.Start();
  }
  
  public void finalVideo_NewFrame(object sender, NewFrameEventArgs eventArgs)
  {
      Bitmap temp = (Bitmap)eventArgs.Frame.Clone();
      pictureBox1.Image = temp;
  
  }
  </code></pre>
  
  <p>I also tried: </p>
  
  <pre><code>finalVideo = new VideoCaptureDevice();
  finalVideo.CrossbarVideoInput = VideoInput.Default;
  </code></pre>
  
  <p>and it did not work either.</p>
  
  <p>Any help is highly appreciated.</p>