Discussion:
[Gphoto-user] capture-image from Nikon D200
Dieter Faulbaum
2011-09-19 09:18:08 UTC
Permalink
Hello,

I tried to capture an image with gphoto2 from a Nikon D200.
Calling 'gphoto2 --capture-image", I got this output:

New file is in location /store_00010001/capt0000.jpg on the camera
New file is in location /capt0000.nef on the camera

The camera "clicked" but doesn't store any image. It seems for me that
the folder and image names are wrong.

Some more info:

'gphoto2 -l' shows this:
There are 2 folders in folder '/'.
- special
- store_00010001
There are 0 folders in folder '/special'.
There is 1 folder in folder '/store_00010001'.
- DCIM
There is 1 folder in folder '/store_00010001/DCIM'.
- 101ND200
There are 0 folders in folder '/store_00010001/DCIM/101ND200'.

And 'gphoto2 --storage-info' this:
[Storage 0]
label=NIKON D200
basedir=/store_00010001
access=2 Read-only with delete
type=4 Removable RAM
fstype=4 Camera layout (DCIM)
totalcapacity=1983360 KB
free=956608 KB
freeimages=37

(The call 'gphoto2 --capture-image-and-download' works without storing
the images on the CF card, only at the computer.)
--
Dieter Faulbaum
Marcus Meissner
2011-09-19 11:39:39 UTC
Permalink
Post by Dieter Faulbaum
Hello,
I tried to capture an image with gphoto2 from a Nikon D200.
New file is in location /store_00010001/capt0000.jpg on the camera
New file is in location /capt0000.nef on the camera
The camera "clicked" but doesn't store any image. It seems for me that
the folder and image names are wrong.
It saved the image to the camera SDRAM only (not to the card)
and so it gets lost once gphoto2 exits.

The "capturetarget" option can be used to change the target to "card"
or alternatively use --capture-image-and-download to download it
immediately.
Post by Dieter Faulbaum
(The call 'gphoto2 --capture-image-and-download' works without storing
the images on the CF card, only at the computer.)
Correct.

gphoto2 --set-config capturetarget=1
would set it to the SD card if necessary.

Ciao, Marcus
Dieter Faulbaum
2011-09-26 13:29:40 UTC
Permalink
Hello Marcus,
Post by Marcus Meissner
gphoto2 --set-config capturetarget=1
Thanks for your help. This works although I don't understand what
the capturetarget=0 is (useful) for.-)

But anyway. Next I tried to capture an image from a D700 (which has a
live view) with gtkam.

Selecting "Capture image..." from the menu, the camera raises the
mirror and the live view works fine but when I click the button
"Capture", I see in the progress bar
"Capturing image... Initializing camera"
and then I get the message:

Could not capture image.
PTP Device Busy

This is indepedent of setting the camera to "live view" or not.

Can you tell me what I'm doing wrong?

Dieter

Continue reading on narkive:
Loading...