Article View: borland.public.cppbuilder.multimedia
Article #404Re: select video source
From: luca
Date: Mon, 13 Dec 2004 10:42
Date: Mon, 13 Dec 2004 10:42
53 lines
2451 bytes
2451 bytes
We must distinguish bitween driver and source. Logitech USB Video Camera, Version: 5.4.4.1005 Microsoft WDM Image Capture (Win32), Version: 5.0.2195.3649 are two drivers, the first one from Logitech the second from Microsoft. changing the driver dont't affect the video source. the only way that I found to change the video source is to use capDlgVideoSource(), but this is a dialog window, I need to do this by the code. May be that multimedia function don't implement the specification of twain drivers? luca "luca" <lct@tele2.it> ha scritto nel messaggio news:41b96f43$1@newsgroups.borland.com... > > "Remy Lebeau (TeamB)" <no.spam@no.spam.com> ha scritto nel messaggio > news:41b88bd4@newsgroups.borland.com... > > > > <user@domain.invalid> wrote in message > > news:41b88723$2@newsgroups.borland.com... > > > > > I want capture video streams from four webcams, but how > > > can we select which camera is connected to a window when > > > we call te function capDriverConnect ? > > > > That is what the iIndex parameter is for. Each camera should have its own > > driver and thus its own index. > > > > > > Gambit > > > > > > Changing the iIndex I get alwais the same camera. > Calling capGetDriverDescription I find two drivers with the same index > > Logitech USB Video Camera, Version: 5.4.4.1005 index 0 > Microsoft WDM Image Capture (Win32), Version: 5.0.2195.3649 index 0 > > > How can I create a driver for each camera? > > > luca > > > > >
Technical Details
Message-ID:
<41bd721b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41b88723$2@newsgroups.borland.com> <41b88bd4@newsgroups.borland.com> <41b96f43$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,dc8a50238942ec8c X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "luca" <lct@tele2.it> Newsgroups: borland.public.cppbuilder.multimedia References: <41b88723$2@newsgroups.borland.com> <41b88bd4@newsgroups.borland.com> <41b96f43$1@newsgroups.borland.com> Subject: Re: select video source Date: Mon, 13 Dec 2004 11:42:26 +0100 Lines: 55 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 80.104.178.78 Message-ID: <41bd721b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102934555 80.104.178.78 (13 Dec 2004 02:42:35 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail