gaurav
June 2, 2005, 14:18:24
Hello Stefan,
following is the code that I am putting in the OnInitialUpdate method of the application.
DShowLib::Grabber pGrabber[3];
for (int i = 0;i< 3; i++)
{
// Check if there is a valid device.
if( pGrabber[i].isDevValid() )
{
// Start the live video.
pGrabber[i].startLive();
pGrabber[i].setPauseLive(true);
}
}
However, it doesnot display the three videos. The screen is clear. Can u tell me what is missing in this?? More so, is it possible to capture frames simultaneously from three cameras and save it to three video files like AVi. The cameras are USB.
Regards,
Gaurav
following is the code that I am putting in the OnInitialUpdate method of the application.
DShowLib::Grabber pGrabber[3];
for (int i = 0;i< 3; i++)
{
// Check if there is a valid device.
if( pGrabber[i].isDevValid() )
{
// Start the live video.
pGrabber[i].startLive();
pGrabber[i].setPauseLive(true);
}
}
However, it doesnot display the three videos. The screen is clear. Can u tell me what is missing in this?? More so, is it possible to capture frames simultaneously from three cameras and save it to three video files like AVi. The cameras are USB.
Regards,
Gaurav