Home » Questions » Computers [ Ask a new question ]

OS X taking a photo with the iSight using a command-line tool?

OS X taking a photo with the iSight using a command-line tool?

Is there a utility that is able to run from the command line to capture a single frame of the iSight inbuilt (and external?) camera? This would save to an image file. I have searched on Google and found utilities that link to websites that don't exist anymore.

Asked by: Guest | Views: 270
Total answers/comments: 2
Guest [Entry]

"""ImageSnap is a Public Domain command-line tool that lets you capture still images from an iSight or other video source. You might remember Axel Bauer's original isightcapture tool (that is no longer supported but still works on most systems). With ImageSnap I hope we'll be able to move forward and add features, adapt to the ever-changing Apple architectures, etc.""

http://iharder.sourceforge.net/current/macosx/imagesnap/"
Guest [Entry]

"As I mentioned in a related question, it seems that imagesnap no longer works on OSX10.11/El Capitan so another alternative is to install ffmpeg (MacPorts: port install ffmpeg or brew install ffmpeg) and run:

ffmpeg -f avfoundation -video_size 1280x720 -framerate 30 -i ""0"" -vframes 1 out.jpg"