Solved

DOS Command to use webcam

Posted on 2012-12-26
4
4,689 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 69

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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