Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I find out which application has the camera open on an iMac (Running Leopard)? The green light is on indicating the camera is in use as well as photo booth can't connect to the camera. The only other apps running are Safari and Finder (as best as I can tell), neither of which seem to be using the camera.

If this was Windows, I'd use Process Explorer, what can I do on a Mac to see who has a particular device open?

EDIT: using the suggestion of NSD, I nearly have a solution with

    lsof | grep "USBVDC"

That shows all the apps trying to use the camera, but not the one that actually owns it. Probably close enough.

share|improve this question
up vote 12 down vote accepted

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"
share|improve this answer
1  
lsof does not show anything related to an iSight used or not. – Chealion Nov 22 '09 at 5:50
    
Not surprising. – Hasaan Chop Nov 22 '09 at 7:24
3  
I'm one step closer, I found a way to find the apps that want to use the built-in USB iSight camera using your suggestion. lsof | grep -i "USBVDC". Nearly, if not every app, will use the library /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/Quic‌​kTimeUSBVDCDigitizer to get to the camera. – Tony Lee Nov 25 '09 at 0:40
    
A QuickTime component is a little more involved than a library, but you're right; good catch. – Hasaan Chop Nov 25 '09 at 1:34

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
share|improve this answer
    
Found out it was HipChat for me - not sure when it tried to initiate a video call, but nothing in the UI suggested the camera was in use. – phatskat Oct 6 '15 at 21:45
    
Using this answer I discovered it was my Parallels client, which was sharing the camera with the virtual windows machine – GreenAsJade Oct 8 '15 at 9:52

I've just found that having Facetime minimised causes the iSight LED to come on every so often. Close FaceTime by clicking the red button in the top left hand corner. You'll still receive FaceTime calls but the camera will only be turned on when they come in.

share|improve this answer
    
This resolved the green blinking iSight LED problem for me, but I can't think of a reasonable justification (or any documentation) as to why Facetime would be taking photos of me when it's minimized. – christianbundy Jul 27 '15 at 18:02

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.