Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Examining the <a href="http://sourceforge.net/p/emgucv/code/ci/master/tree/Emgu.CV/Capture/Capture.cs#l165" rel="nofollow">EMGU CV source</a> seems to indicate that it's just passing the index off to the underlying OpenCV library, as part of the cvCreateCameraCapture (int index) function. That function is... <a href="http://code.opencv.org/projects/opencv/repository/revisions/master/entry/modules/highgui/src/cap.cpp#L113" rel="nofollow">A bit of a mess of #ifdefs</a>, but from what I can see (and from what the comments indicate), the index is used to specify both the camera you want, and the API it should be using.</p> <p>Try successively trying multiples of a hundred; each should use a different codec, attempting to use the first camera. It may be that you have one of the APIs listed compiled into your copy of OpenCV, but not working correctly on your system.</p> <p><strong>Edit:</strong> Drilling down further, it seems like it ends up at <a href="http://code.opencv.org/projects/opencv/repository/revisions/master/entry/modules/highgui/src/cap_msmf.cpp#L1944" rel="nofollow">this</a> function call, which uses the <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd388503%28v=vs.85%29.aspx" rel="nofollow">MFEnumDeviceSources</a> function to get the list. The device you wanted is then returned out of that list (see the <a href="http://code.opencv.org/projects/opencv/repository/revisions/master/entry/modules/highgui/src/cap_msmf.cpp#L1927" rel="nofollow">getDevice function a few lines higher up</a>). So, it looks to me like the dialog you mentioned in your comment is part of Windows' MediaFoundation stuff, in which case you might want to google the wording of the message, see if some people with more experience with MF can point you in the right direction.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload