ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 WIA Select from multi video devices no dialog

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeaShooter_OMO Posted - Feb 13 2012 : 10:28:18
Hello

I am using ImageEn 3.

With ImageEnVideoView how do you select a second video device like a camera without having a dialog box pop up?

Thank you

PeaShooter_OMO
6   L A T E S T    R E P L I E S    (Newest First)
PeaShooter_OMO Posted - Feb 15 2012 : 10:54:36
By the way... I tested it without installing any drivers for the cameras and it worked great. I am not sure whether it uses the WIA interface or a generic WDM driver. I did however install the drivers later on and that also worked perfectly.

PeaShooter_OMO Posted - Feb 15 2012 : 10:51:39
Hello Fabrizio

I have tested it with DirectShow and it works perfectly. I used one of the Directshow demos under the capture folder to get an idea on how it works. Interesting is the way that it uses ImageEnView and not ImageEnVideoView.

Thanks you so much for your time.

PeaShooter_OMO
PeaShooter_OMO Posted - Feb 13 2012 : 14:15:48
I will give that a try and post my findings.

Thank you so much for your help. Much appreciated.

PeaShooter_OMO
fab Posted - Feb 13 2012 : 13:26:59
Hello,

quote:
Are you saying that if I use DirectShow then I would be able to do it?

yes, it should be able to do it. You can try it using DirectShow demos.


quote:
Does DirectShow use the WIA interface driver or do I need to install the Twain for that?


No, DirectShow uses WDM drivers. I don't know a modern capture device that hasn't a WDM driver.
PeaShooter_OMO Posted - Feb 13 2012 : 13:07:22
Hello again

I have two exactly the same cameras and I am using WIA. The videosourcelist only has one entry, basically the driver device for them both.

I have tried using ConnectTo then ShowVideo = True but that pops up the dialog box which gives me the option to select which one of the cameras to use. I would like to be able to select the camera I want to use without having that dialog box popping up.

Are you saying that if I use DirectShow then I would be able to do it? Does DirectShow use the WIA interface driver or do I need to install the Twain for that?
fab Posted - Feb 13 2012 : 11:42:15
Hello,
the video source must be listed in VideoSourceList list. If you find it, you can select it the index in VideoSource property.
With this interface (VFW) could be necessary to use the driver dialog to select another source from the same capture device (this doesn't happen with DirectShow interface).