473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing a camrea

JJ
Whats the best way of way of getting the feed from a USB camera?

I have been reading about DirectShow, but it seems that microsoft support
for that is dwindling. What methods are available for accessing the feed
from camera's in VB .net, that will still be useable in windows Vista?

Thanks,

JJ
Apr 13 '06 #1
7 2324
Both of my digital cameras, a Nikon D70s and a Casio EX-S500, but
appear as disk drives when I plug them in to an XP based PC. So a
simple drag and drop will copy the photo files to my hard drive. So it
stands to reason that any class/method that accessed folders and files
should be able to access photo files in a USB connected digital camera.

Apr 13 '06 #2
I think he is talking about a USB VIDEO camera. Much different than seeing
the contents of the CF card in your
Nikon or Casio. In the case of a video camera, he needs to access the video
stream.
Here's a sample project by Ken Tucker:

http://www.vb-helper.com/howto_net_video_capture.html


james


<za***@construction-imaging.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Both of my digital cameras, a Nikon D70s and a Casio EX-S500, but
appear as disk drives when I plug them in to an XP based PC. So a
simple drag and drop will copy the photo files to my hard drive. So it
stands to reason that any class/method that accessed folders and files
should be able to access photo files in a USB connected digital camera.

Apr 13 '06 #3
Ahh, the only mention in his post that alludes to video streaming is
the reference to DirectShow, which is something I was unaware of, so I
assumed he was talking aobut still cameras. But my Casio supports video
capture to AVI and those are accessed in the same manner as the JPGs.
But I guess he is talking about a digital video cam, which I have no
experiance with.

Apr 13 '06 #4
JJ
Sorry I didn't make my question clear - it was about video streaming. And I
wanted to apply the software to any usb camera, not just specific models.

Thank you for you comments though, they may still prove useful.

JJ
<za***@construction-imaging.com> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...
Ahh, the only mention in his post that alludes to video streaming is
the reference to DirectShow, which is something I was unaware of, so I
assumed he was talking aobut still cameras. But my Casio supports video
capture to AVI and those are accessed in the same manner as the JPGs.
But I guess he is talking about a digital video cam, which I have no
experiance with.

Apr 15 '06 #5
JJ
Hi James,

I've tried the avicap32.dll method as detailed in the artical in your link,
but it does not work on my sony usb camera. I want a solution that works for
all usb video camera's that the system recognises.
The only one which seems to work is the DirectShow method. But, as I've
mentioned, there seems to be a few posts suggesting that DirectShow may be
on its way out.

I don't want to develop an app that will be out of date when vista arrives!

A bit stuck at the moment....

JJ

"james" <jj***************@earthlink.net> wrote in message
news:OI**************@TK2MSFTNGP05.phx.gbl...
I think he is talking about a USB VIDEO camera. Much different than seeing
the contents of the CF card in your
Nikon or Casio. In the case of a video camera, he needs to access the
video stream.
Here's a sample project by Ken Tucker:

http://www.vb-helper.com/howto_net_video_capture.html


james


<za***@construction-imaging.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Both of my digital cameras, a Nikon D70s and a Casio EX-S500, but
appear as disk drives when I plug them in to an XP based PC. So a
simple drag and drop will copy the photo files to my hard drive. So it
stands to reason that any class/method that accessed folders and files
should be able to access photo files in a USB connected digital camera.


Apr 15 '06 #6

"JJ" <ab*@xyz.com> wrote in message
news:eJ**************@TK2MSFTNGP05.phx.gbl...
Hi James,

I've tried the avicap32.dll method as detailed in the artical in your
link, but it does not work on my sony usb camera. I want a solution that
works for all usb video camera's that the system recognises.
The only one which seems to work is the DirectShow method. But, as I've
mentioned, there seems to be a few posts suggesting that DirectShow may be
on its way out.

I don't want to develop an app that will be out of date when vista
arrives!

A bit stuck at the moment....

JJ


That may be a tough one if DirectShow is going away. I have a feeling
(haven't had access to Vista builds to test)
that a lot of things may break when Vista finally arrives.
............whenever that is :-)
I have seen several C++ samples, (from searching on CodeProject and a couple
of other sites) but, VB code samples
don't appear that plentiful. You might try contacting the author of the
sample I posted the link to and see if he has any
suggestions.
james

Apr 15 '06 #7
JJ
Thanks James. I think I'll do that

I might be wrong in my understanding. It seems that 'XNA' is where microsoft
is concentrating - users of VS 2005 should have some documentation about it.

I can't quite get my head around whether XNA replaces directX (and hence
directShow) or whether it encorporates it ?

Directshow doesn't seem to be documented very well.

'confused! :-|

JJ


"james" <jj***************@earthlink.net> wrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...

"JJ" <ab*@xyz.com> wrote in message
news:eJ**************@TK2MSFTNGP05.phx.gbl...
Hi James,

I've tried the avicap32.dll method as detailed in the artical in your
link, but it does not work on my sony usb camera. I want a solution that
works for all usb video camera's that the system recognises.
The only one which seems to work is the DirectShow method. But, as I've
mentioned, there seems to be a few posts suggesting that DirectShow may
be on its way out.

I don't want to develop an app that will be out of date when vista
arrives!

A bit stuck at the moment....

JJ


That may be a tough one if DirectShow is going away. I have a feeling
(haven't had access to Vista builds to test)
that a lot of things may break when Vista finally arrives.
...........whenever that is :-)
I have seen several C++ samples, (from searching on CodeProject and a
couple of other sites) but, VB code samples
don't appear that plentiful. You might try contacting the author of the
sample I posted the link to and see if he has any
suggestions.
james

Apr 16 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amy Tseng | last post by:
Hi, I am having a problem accessing SQL Server 2000 via UNIX. I am accessing SQL Server 2000 from Solaris using Sybase Open Client (CT-Lib). Here is the error message: CT-LIBRARY error:...
5
by: Sandeep | last post by:
Hi, In the following code, I wonder how a private member of the class is being accessed. The code compiles well in Visual Studio 6.0. class Sample { private: int x; public:
6
by: Chris Styles | last post by:
Dear All, I've been using some code to verify form data quite happily, but i've recently changed the way my form is structured, and I can't get it to work now. Originally : The form is...
3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
47
by: fb | last post by:
Hi Everyone. Thanks for the help with the qudratic equation problem...I didn't think about actually doing the math...whoops. Anyway... I'm having some trouble getting the following program to...
3
by: AdamM | last post by:
Hi all, When I run my VbScript, I get the error: "ActiveX component can't create object: 'getobject'. Error 800A01AD". Any ideas what I did wrong? Here's my VBScript: dim o set...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
1
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created...
5
by: Daniel Corbett | last post by:
I am trying to save a file dynamically created in a webpage. I get the following headers, but cannot figure out how to save the attachment. I am basically trying to replicate what internet...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.