If -Y doesn't work check you sshd config on the remote PC (see Denis Lukinykh's answer). Select an app that uses the iSight camera.
#TURN ON WEBCAM MAC VIA SSH HOW TO#
How to Enable the Camera on Mac In the Finder, open the Applications folder. In the browser address bar click on the small black camera icon (shown right) to reveal a list of media devices.
You first ssh to the remote computer with the additional -Y option and the run the application (e.g. Selecting a Different Webcam Click on the blue camera icon to turn off the the webcam display. One quirk to bear in mind after the command completes, the camera may turn off and becomes unresponsive - you will need to manually cycle the power switch (at least, on my model it did). To display the application on your local PC. Check with your server admin if the connection fails.
I don't think my camera's battery will last this long anyway, but I'll see how many I get. Next to the blinking cursor, enter the appropriate login information as shown: telnet 23.
#TURN ON WEBCAM MAC VIA SSH MOVIE#
In this example, capturing once every 30 seconds for a total of 1440 frames, which when made into a 24 FPS movie will equal about a minute. To capture in time-lapse mode, append -F and -I to specify the total number of frames you want to capture, and the time interval between each one. gphoto2 -set-config /main/settings/capturetarget=1 Look at the list it outputs and set the target as follows, replacing 1 with whichever is shown as your card. To ensure they actually save, we need to first set the capture target: gphoto2 -get-config /main/settings/capturetarget Meaning you will lose them all (I speak from experience). To begin, you must initiate an SSH tunnel. Important: By default, images are saved to SD-RAM, not the memory card in the camera. Some instructions, such as those specific to Safari, will remain in effect until disabled, i.e., the SSH tunnel will remain in effect until you undo the settings for the SSH tunnel. At 8 MB a pop, it's possibly best to keep them on the camera and perform the movie stitching after the fact from a PC or Mac. Which will transfer the file to your Pi, or gphoto2 -capture-image Here's the most basic command you can use to test the capabilities: gphoto2 -capture-image-and-download Since I've used automatic ISO values and AV mode, the setup is relatively simple and we can capture the series using just the command line - the utility includes built-in time lapse parameters. Now, connect your camera to the Pi via USB. GPhoto2 is a command line utility to directly interface with supported DSLR cameras ( view the full list here). Begin by installing some essential software: sudo apt-get install gphoto2