Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages
Started by luca
Mon, 13 Dec 2004 16:55
select video source
Author: luca
Date: Mon, 13 Dec 2004 16:55
Date: Mon, 13 Dec 2004 16:55
15 lines
1334 bytes
1334 bytes
excuse me for restarting this thread. We must distinguish bitween driver and video 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 code. May be that multimedia function don't implement the specification of twain drivers? luca
Re: select video source
Author: Remy Lebeau (TeamB)
Date: Mon, 13 Dec 2004 19:20
Date: Mon, 13 Dec 2004 19:20
29 lines
1911 bytes
1911 bytes
"luca" <lct@tele2.it> wrote in message news:41bdc99f$1@newsgroups.borland.com... > We must distinguish bitween driver and video 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 code. You already know how to select the source programmally. That is what the capGetDriverDescription() and capDriverConnect() functions are for. Despite their names, they enumerate/connect *devices and drivers*, not just drivers alone. Even Microsoft says that to connect to a particular device, you use these functions. Alternatively, look at the capSetMCIDeviceName() macro. This works only if you are using MCI-enabled devices, though. Alternatively, maybe you can look at using DirectX instead - specially, DirectShow. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads