Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to change the input of the video capture card?

I have a video capture card which has 3 inputs (S-video,Composite,TV). How can I change the input of the capture card in run-time by using OpenCV? I am using Visual Studio 2010 c++ and OpenCV 2.1.

When I try to capture video with "capture = cvCaptureFromCAM(0);", It selects the default input of the capture card. Changing the the index of "cvCaptureFromCAM" (capture = cvCaptureFromCAM(1);) does not solve my problem. Any help would be appreciated. Thank you in advance...