m***@gmail.com
2007-08-22 19:13:46 UTC
Hi,
I'm new to programming in directshow. I have following problem.
I just can't capture video from 2 webcams simultanously.
It is verry simple modification of DxLogo example from
http://directshownet.sourceforge.net
cam = new Capture(0, FRAMERATE, VIDEOWIDTH,
VIDEOHEIGHT, textBox3.Text);
cam2 = new Capture(1, FRAMERATE, VIDEOWIDTH,
VIDEOHEIGHT, textBox4.Text);
cam.SetLogo(textBox2.Text);
cam2.SetLogo(textBox2.Text);
cam.Start();
cam2.Start();
As result of that code I obtain following exception of kind:
"An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in DxLogo.exe
Additional information: One of the arguments is invalid"
In advance thx for help
Mike.
I'm new to programming in directshow. I have following problem.
I just can't capture video from 2 webcams simultanously.
It is verry simple modification of DxLogo example from
http://directshownet.sourceforge.net
cam = new Capture(0, FRAMERATE, VIDEOWIDTH,
VIDEOHEIGHT, textBox3.Text);
cam2 = new Capture(1, FRAMERATE, VIDEOWIDTH,
VIDEOHEIGHT, textBox4.Text);
cam.SetLogo(textBox2.Text);
cam2.SetLogo(textBox2.Text);
cam.Start();
cam2.Start();
As result of that code I obtain following exception of kind:
"An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in DxLogo.exe
Additional information: One of the arguments is invalid"
In advance thx for help
Mike.