How to find which app is using iSight (the iMac camera)

My best guess would be that iChat Agent was running in the background.

If not, then try:

lsof | grep -i "AppleCamera"

In previous versions of OS X (before Yosemite), this should be used:

lsof | grep -i "iSight"

In 2014, VDC works as an lsof search term for this:

$ lsof | grep VDC
FaceTime  1097 user  txt      REG                1,4    405264    2934 /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

lsof is a good bet. Grepping for 'VDC' gives me the best results, but in older versions of OSX you may have to use other terms 'AppleCamera', 'iSight'.

Then you have a list, and you see that a couple of programs are using the cam. You could try to kill them one by one, but what if one is in the browser and you have a million tabs open?

Usually this trick works for me:

  • open ActivityMonitor,
  • search VDC, VDCAssistant is listed,
  • force quit VDCAssistant.

Result is that all processes trying to use the camera are temporarily disconnected. This takes care of processes that kept using the camera because of some glitch. The VDCAssistant is restarted automatically.

This trick also works great if a program cannot access the camera.

Tags:

Macos

Isight