1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Capture examples

From gphoto

Jump to: navigation, search


Tethered capture

Tethered capture is where the camera is connected to the computer, but the photographer presses the Shutter Button on the camera which in turn triggers the download of the taken image and post-processing.

With the commandline tool various methods are possible:

gphoto2 --capture-tethered

This will just wait for any addition of remote files and then download those images.

Setting a timelimit is also possible, by specifying number of seconds

gphoto2 --capture-tethered=1000s

This will capture for 1000 seconds.

For automated post processing Hook scripts can be used, see the --hook-script=FILENAME option in the manual.

Supported cameras for tethering

Tethered capture is only known to be supported by the camera types:

  • Canon EOS
  • Nikon DSLR

Remote controlled capture

This is if the computer (or user) is triggering the capture on the camera.

Supported cameras

The list of supported cameras is currently on the static site.


Simple example with the commandline tool:

gphoto2 --capture-image-and-download

This command will capture and download 1 image.

If you want to keep the image on the cameras card:

gphoto2 --capture-image

This command will print the filename on the camera when done.

Capture Targets

Modern cameras can bypass the memory card between capture and transfer to the computer, meaning the image is only stored in the cameras RAM. This kind of bypassing is useful because it is faster and also it reduces wear and tear on the memory cards.

Not all cameras support this.

The capture target can be set using the gphoto2 config api and is persistent (stored on the computer).

gphoto --get-config capturetarget

Use this to query the current capture target.

gphoto2 --set-config capturetarget=0

Sets the capture target to SDRAM. The card is bypassed and images need to be downloaded immediately.

gphoto2 --set-config capturetarget=1

Sets the capture target to card. The memory card is used and you can either download the images right now or later.

Supported camera types with capture target selection

Cameras that support it:

  • Canon EOS
  • Nikon DSLR
  • Canon PowerShot

Open Questions

If you have open questions, you can leave them here, mail the gphoto-user list, or mail Marcus directly ... :)

  • Question 1?
  • Question 2?
Personal tools