BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

USB devices

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
MasterPeter
Guest





PostPosted: Fri Jan 26, 2007 7:36 am    Post subject: USB devices Reply with quote



How can I get access to whatever my integrated USB webcam records? I have been using a ridiculous little trick to record the input, but this is far too inconvenient. Please, can anyone help with this? Also, I have a Tablet connectable via USB and it distincts between 512 levels of pressure. How do I access the Position & pressure of the Stylus (Pen)?
Back to top
Tsviatko Jongov
Guest





PostPosted: Fri Jan 26, 2007 4:01 pm    Post subject: Re: USB devices Reply with quote



Hi,
Most of the USB webcams have a standard DirectShow support. You try the MicroSoft's GraphEdit application freely available, which can control all DirectShow comatible devices. About the USB tablet, maybe you should provide the model. I don't know of uniform access method for all USB devices.

Regards,
Tsviatko Jongov
http://tsviatko.jongov.com

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote:
Quote:

How can I get access to whatever my integrated USB webcam records? I have been using a ridiculous little trick to record the input, but this is far too inconvenient. Please, can anyone help with this? Also, I have a Tablet connectable via USB and it distincts between 512 levels of pressure. How do I access the Position & pressure of the Stylus (Pen)?
Back to top
MasterPeter
Guest





PostPosted: Wed Jan 31, 2007 6:18 am    Post subject: Re: USB devices Reply with quote



Mate, I really appreciate your effort, but didn't help any. I actually don't have an idea how to cope with DirectShow and during my internet-search for the matter I got even more confused. Never mind the USB thing... I thought it would be nice to be able to reach the stylus capabilities and then perhaps implement them in my graphics-related software. But noone would actually ever use the feature... so what the heck... I thought it'd be something more like a line (or two) of code to access some Windows variable holding the attributes of the connected peripheral devices. Well, if that isn't the case, I'll just leave it alone. But thank you for the effort, really.
Hope to hear more from you in the future.
Peter

"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote:
Quote:

Hi,
Most of the USB webcams have a standard DirectShow support. You try the MicroSoft's GraphEdit application freely available, which can control all DirectShow comatible devices. About the USB tablet, maybe you should provide the model. I don't know of uniform access method for all USB devices.

Regards,
Tsviatko Jongov
http://tsviatko.jongov.com

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote:

How can I get access to whatever my integrated USB webcam records? I have been using a ridiculous little trick to record the input, but this is far too inconvenient. Please, can anyone help with this? Also, I have a Tablet connectable via USB and it distincts between 512 levels of pressure. How do I access the Position & pressure of the Stylus (Pen)?
Back to top
Tsviatko Jongov
Guest





PostPosted: Thu Feb 01, 2007 2:00 am    Post subject: Re: USB devices Reply with quote

Dear Peter,
Definitely, you will not succeed in your task with a few lines of code. I've point you to GraphEdit so you can see what DirectShow is about and it's main concept. GraphEdit was the first thing that I saw some years ago when I started dealing with this. DirectShow is the simplest way (and the only way if there is no specific SDK of that camera) to get to the webcam video content.

If you don't want to get involved with DirectShow you can use components to do this. Try Mitov's Video Lab. I think there is a free demo on his site (www.mitov.com).

Regards,
Tsviatko Jongov
http://tsviatko.jongov.com

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote:
Quote:

Mate, I really appreciate your effort, but didn't help any. I actually don't have an idea how to cope with DirectShow and during my internet-search for the matter I got even more confused. Never mind the USB thing... I thought it would be nice to be able to reach the stylus capabilities and then perhaps implement them in my graphics-related software. But noone would actually ever use the feature... so what the heck... I thought it'd be something more like a line (or two) of code to access some Windows
variable holding the attributes of the connected peripheral devices. Well, if that isn't the case, I'll just leave it alone. But thank you for the effort, really.
Hope to hear more from you in the future.
Peter

"Tsviatko Jongov" <johngov (AT) yahoo (DOT) com> wrote:

Hi,
Most of the USB webcams have a standard DirectShow support. You try the MicroSoft's GraphEdit application freely available, which can control all DirectShow comatible devices. About the USB tablet, maybe you should provide the model. I don't know of uniform access method for all USB devices.

Regards,
Tsviatko Jongov
http://tsviatko.jongov.com

"MasterPeter" <masterpeter (AT) centrum (DOT) sk> wrote:

How can I get access to whatever my integrated USB webcam records? I have been using a ridiculous little trick to record the input, but this is far too inconvenient. Please, can anyone help with this? Also, I have a Tablet connectable via USB and it distincts between 512 levels of pressure. How do I access the Position & pressure of the Stylus (Pen)?

Back to top
Mark Jacobs
Guest





PostPosted: Wed Feb 14, 2007 8:43 pm    Post subject: Re: USB devices Reply with quote

Tsviatko Jongov wrote:
Quote:
Definitely, you will not succeed in your task with a few lines of
code. I've point you to GraphEdit so you can see what DirectShow is
about and it's main concept. GraphEdit was the first thing that I saw
some years ago when I started dealing with this. DirectShow is the
simplest way (and the only way if there is no specific SDK of that
camera) to get to the webcam video content.

If you don't want to get involved with DirectShow you can use
components to do this. Try Mitov's Video Lab. I think there is a free
demo on his site (www.mitov.com).

That's a good link. MasterPeter, the parameters for your Tablet may be stored
in the registry at the same place somewhere. Using TRegistry to get registry
settings is a couple of lines of code!
--

-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Back to top
MasterPeter
Guest





PostPosted: Sat Feb 17, 2007 9:11 am    Post subject: Re: USB devices Reply with quote

"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?BorlandNG> wrote:
Quote:
Tsviatko Jongov wrote:
Definitely, you will not succeed in your task with a few lines of
code. I've point you to GraphEdit so you can see what DirectShow is
about and it's main concept. GraphEdit was the first thing that I saw
some years ago when I started dealing with this. DirectShow is the
simplest way (and the only way if there is no specific SDK of that
camera) to get to the webcam video content.

If you don't want to get involved with DirectShow you can use
components to do this. Try Mitov's Video Lab. I think there is a free
demo on his site (www.mitov.com).

That's a good link. MasterPeter, the parameters for your Tablet may be stored
in the registry at the same place somewhere. Using TRegistry to get registry
settings is a couple of lines of code!
--

-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk


Oh, no, no... I don't think so. Maybe the make and model and stuff of that sort but certainly not the immediate values of pressure applied to the pen. That would be a loss of time to store that in registry before using it in (lets say) Photoshop... but thank you all very much, I kinda lost interest in that after all... I just had an idea, thought I could use the pressure-sensitive capability of the tablet... Thank you all for trying to help!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.