PAL + euresys picolo U16 capture card (not compatible with openCV?)

asked 2012-11-06 03:07:09 -0500

updated 2012-11-06 05:19:08 -0500

I'm looking for a WORKING code example of using a euresys capture board to capture a PAL input signal. More exactly I'm looking for the missing bits (how to tell the capture-card to use PAL and not NTSC by default). When using directshow it works (e.g. VLC) but how do I tell openCV to transfer these settings via DSHOW to the capture board

When running tests with multiple capture cards active and installed openCV seems to get confused about enumerating the capture devices. When I use the following loop I always get the resolution of only ONE of the capture boards (is this a known problem because that might be a problem with the picolo euresys capture card which creates >20 entries in this DSHOW capture list (...pSysDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumCat, 0);...)).

for (size_t x=0; x<100; x++){
  cvImageSampler = cvCreateCameraCapture( CV_CAP_DSHOW+x );
  if (cvImageSampler){
      double test = cvGetCaptureProperty(cvImageSampler, CV_CAP_PROP_FRAME_WIDTH );
  }
}
edit retag flag offensive close merge delete