Solved

DOS Command to use webcam

Posted on 2012-12-26
4
4,058 Views
Last Modified: 2013-01-28
Hi
I have a USB webcam.
Please suggest a DOS command to click a photo using my USB webcam.
Also, can i store it an location of my choice on the disk.


Help.
0
Comment
Question by:hughes01
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38721642
There won't be a native DOS command to do this.  

Your web cam may or may not have come with software that will facilitate what you want to accomplish.
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 38721714
Very unlikely you will find anything in "DOS" doing that. Windows application are able to do this, and there are some free ones out there allowing for simple operations.
0
 
LVL 38

Accepted Solution

by:
BillDL earned 500 total points
ID: 38729465
You will probably find that there are keyboard shortcuts for the image capture software that came with the webcam, and you can use a Visual Basic Scripting to simulate key presses while the software is open and running.

Try this free GUI program and see if you can get still image captures from your webcam by calling it from the command line:
http://www.nirsoft.net/utils/web_cam_image_capture.html

Perhaps this one will work for you:
http://batchloaf.wordpress.com/commandcam/

To capture video you could try these commands for VLC Player:
http://forum.videolan.org/viewtopic.php?f=2&t=63313
http://forums.whirlpool.net.au/archive/1726581

I have a feeling that IrfanView image viewer/editor might allow you to do this by using the webcam as a twain device with the /scan switch, but I would have to check.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 38826664
Thank you hughes01
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now