I need to set the camera source for each of 4 video windows in C# without using the windows dialog box.
I have a video capture card that has 4 inputs that can be accessed simultaneously. I have a working application that calls the VideoCapture class. Each time after the first instance I get the Windows Video Device Selection pop up from which I have to manually choose the input for each remaining window. I could live with this except, whatever I choose as the last input is automatically assigned as the device to the first window the next time the application starts. This is unacceptable because the camera assignments are never in the same location.
I would prefer to assign each of the inputs in code and never see the Windows Video Device Selection pop up.
Anyone have an idea how to obtain and pass the device id to the WebCam_Capture. dll?
Thanks
I have a video capture card that has 4 inputs that can be accessed simultaneously. I have a working application that calls the VideoCapture class. Each time after the first instance I get the Windows Video Device Selection pop up from which I have to manually choose the input for each remaining window. I could live with this except, whatever I choose as the last input is automatically assigned as the device to the first window the next time the application starts. This is unacceptable because the camera assignments are never in the same location.
I would prefer to assign each of the inputs in code and never see the Windows Video Device Selection pop up.
Anyone have an idea how to obtain and pass the device id to the WebCam_Capture. dll?
Thanks